diff --git a/libarchive.changes b/libarchive.changes index 3cfcc86..89a0b86 100644 --- a/libarchive.changes +++ b/libarchive.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 7 08:35:39 UTC 2012 - werner@suse.de + +- Enforce usage of reentrant versions of libc functions + ------------------------------------------------------------------- Mon Feb 13 18:19:49 UTC 2012 - dvaleev@suse.com diff --git a/libarchive.spec b/libarchive.spec index 20d38b3..695c12b 100644 --- a/libarchive.spec +++ b/libarchive.spec @@ -16,7 +16,6 @@ # - Name: libarchive Version: 2.8.5 Release: 0 @@ -43,7 +42,6 @@ Patch1: libarchive-2.5.5_handle_ENOSYS_from_lutimes.patch Patch2: libarchive-test-fuzz.patch Patch3: libarchive-ignore-sigpipe-in-test-suite.patch - %description Libarchive is a programming library that can create and read several different streaming archive formats, including most popular tar @@ -57,22 +55,18 @@ This package contains the bsdtar cmdline utility. %package -n bsdtar - Summary: Creates and reads several different streaming archive formats Group: Productivity/Archiving/Compression - %description -n bsdtar This package contains the bsdtar cmdline utility. %package -n libarchive2 - # Summary: Library to work with several different streaming archive formats Group: Development/Libraries/C and C++ - %description -n libarchive2 Libarchive is a programming library that can create and read several different streaming archive formats, including most popular tar @@ -128,15 +122,13 @@ methods, or new ways of reading/writing archives. %package -n libarchive-devel - Requires: libacl-devel Requires: libarchive2 = %{version} -Requires: zlib-devel Requires: libbz2-devel +Requires: zlib-devel Summary: Development files for libarchive Group: Development/Libraries/C and C++ - %description -n libarchive-devel Libarchive is a programming library that can create and read several different streaming archive formats, including most popular tar @@ -154,17 +146,15 @@ This package contains the development files. %patch2 -p1 %patch3 -p1 - %build #autoreconf -fi +%global optflags %{optflags} -D_REENTRANT -pipe %configure --disable-static --enable-bsdcpio make %{?_smp_mflags} - %check make check - %install %makeinstall @@ -172,13 +162,10 @@ rm -fv minitar/*.o rm -fv %{buildroot}%{_libdir}/*.la rm "%{buildroot}%{_mandir}/man5/"{tar,cpio,mtree}.5* - %post -n libarchive2 -p /sbin/ldconfig - %postun -n libarchive2 -p /sbin/ldconfig - %files -n bsdtar %defattr(-,root,root) %{_bindir}/bsdtar @@ -186,13 +173,11 @@ rm "%{buildroot}%{_mandir}/man5/"{tar,cpio,mtree}.5* %{_mandir}/man1/* %{_mandir}/man5/* - %files -n libarchive2 %defattr(-,root,root) %{_libdir}/libarchive.so.* %doc COPYING INSTALL NEWS README examples/ - %files -n libarchive-devel %defattr(-,root,root) %{_mandir}/man3/* @@ -200,6 +185,4 @@ rm "%{buildroot}%{_mandir}/man5/"{tar,cpio,mtree}.5* %{_includedir}/archive* %{_libdir}/pkgconfig/libarchive.pc - - %changelog