Enable bsdtar and bsdcpio in separate subpackages (#786400)
This commit is contained in:
parent
0284c0f62b
commit
89564dead2
@ -1,6 +1,6 @@
|
|||||||
Name: libarchive
|
Name: libarchive
|
||||||
Version: 3.0.3
|
Version: 3.0.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A library for handling streaming archive formats
|
Summary: A library for handling streaming archive formats
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -39,12 +39,33 @@ The %{name}-devel package contains libraries and header files for
|
|||||||
developing applications that use %{name}.
|
developing applications that use %{name}.
|
||||||
|
|
||||||
|
|
||||||
|
%package -n bsdtar
|
||||||
|
Summary: bsdtar utility
|
||||||
|
Group: Applications/File
|
||||||
|
|
||||||
|
%description -n bsdtar
|
||||||
|
The bsdtar package contains standalone bsdtar utility split off regular
|
||||||
|
libarchive packages.
|
||||||
|
|
||||||
|
|
||||||
|
%package -n bsdcpio
|
||||||
|
Summary: bsdcpio utility
|
||||||
|
Group: Applications/File
|
||||||
|
|
||||||
|
%description -n bsdcpio
|
||||||
|
The bsdcpio package contains standalone bsdcpio utility split off regular
|
||||||
|
libarchive packages.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --disable-bsdtar --disable-bsdcpio
|
%configure --disable-static --disable-rpath
|
||||||
|
# remove rpaths
|
||||||
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||||
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
@ -81,8 +102,21 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/libarchive.so
|
%{_libdir}/libarchive.so
|
||||||
%{_libdir}/pkgconfig/libarchive.pc
|
%{_libdir}/pkgconfig/libarchive.pc
|
||||||
|
|
||||||
|
%files -n bsdtar
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc COPYING README NEWS
|
||||||
|
%{_bindir}/bsdtar
|
||||||
|
|
||||||
|
%files -n bsdcpio
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc COPYING README NEWS
|
||||||
|
%{_bindir}/bsdcpio
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 1 2012 Tomas Bzatek <tbzatek@redhat.com> - 3.0.3-2
|
||||||
|
- Enable bsdtar and bsdcpio in separate subpackages (#786400)
|
||||||
|
|
||||||
* Fri Jan 13 2012 Tomas Bzatek <tbzatek@redhat.com> - 3.0.3-1
|
* Fri Jan 13 2012 Tomas Bzatek <tbzatek@redhat.com> - 3.0.3-1
|
||||||
- Update to 3.0.3
|
- Update to 3.0.3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user