summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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