Accepting request 116625 from Archiving

- Enforce usage of reentrant versions of libc functions

OBS-URL: https://build.opensuse.org/request/show/116625
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libarchive?expand=0&rev=4
This commit is contained in:
Stephan Kulow 2012-05-07 20:47:30 +00:00 committed by Git OBS Bridge
commit 3a55d4c4b7
2 changed files with 7 additions and 19 deletions

View File

@ -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 Mon Feb 13 18:19:49 UTC 2012 - dvaleev@suse.com

View File

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