summaryrefslogtreecommitdiffstats
path: root/libzip.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-01-02 07:26:10 +0100
committerRemi Collet <remi@remirepo.net>2018-01-02 07:26:10 +0100
commitfb5195e03b35d142ccd5551eee65fb97004d3900 (patch)
tree2ed3bfd5388c7b969745f85a364dcf77d5406786 /libzip.spec
parentc11462288d96842ebadecd57731e4f589e49dc77 (diff)
re-add multilib hack #1529886
Diffstat (limited to 'libzip.spec')
-rw-r--r--libzip.spec8
1 files changed, 7 insertions, 1 deletions
diff --git a/libzip.spec b/libzip.spec
index b0329e2..4b57ad9 100644
--- a/libzip.spec
+++ b/libzip.spec
@@ -18,7 +18,7 @@ Name: %{libname}
Name: %{libname}%{soname}
%endif
Version: 1.4.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Group: System Environment/Libraries
Summary: C library for reading, creating, and modifying zip archives
@@ -52,6 +52,7 @@ BuildRequires: perl(Symbol)
BuildRequires: perl(UNIVERSAL)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
+BuildRequires: multilib-rpm-config
%if "%{name}" == "%{libname}"
Obsoletes: %{libname}%{soname} <= %{version}
%if 0%{?rhel}
@@ -136,6 +137,8 @@ make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot} INSTALL='install -p'
+%multilib_fix_c_header --file %{_includedir}/zipconf.h
+
%check
%if %{with_tests}
@@ -173,6 +176,9 @@ make check
%changelog
+* Tue Jan 2 2018 Remi Collet <remi@remirepo.net> - 1.4.0-2
+- re-add multilib hack #1529886
+
* Sat Dec 30 2017 Remi Collet <remi@remirepo.net> - 1.4.0-1
- update to 1.4.0
- switch to cmake