From fb5195e03b35d142ccd5551eee65fb97004d3900 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 2 Jan 2018 07:26:10 +0100 Subject: re-add multilib hack #1529886 --- libzip.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 - 1.4.0-2 +- re-add multilib hack #1529886 + * Sat Dec 30 2017 Remi Collet - 1.4.0-1 - update to 1.4.0 - switch to cmake -- cgit