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:
commit
3a55d4c4b7
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user