From efd48f11f9b34bf889dacc31c0e64cb0647a8d02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Mon, 7 Mar 2016 19:09:43 +0100 Subject: [PATCH] removed %%defattr, BuildRoot and other ancient bits added arch'ed bits to all Requires --- libarchive.spec | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/libarchive.spec b/libarchive.spec index a48abbe..b8c25f7 100644 --- a/libarchive.spec +++ b/libarchive.spec @@ -1,13 +1,11 @@ Name: libarchive Version: 3.1.2 -Release: 15%{?dist} +Release: 16%{?dist} Summary: A library for handling streaming archive formats -Group: System Environment/Libraries License: BSD URL: http://www.libarchive.org/ Source0: http://www.libarchive.org/downloads/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: bison @@ -50,7 +48,6 @@ read ISO9660 CDROM images and ZIP archives. %package devel Summary: Development files for %{name} -Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} %description devel @@ -60,8 +57,7 @@ developing applications that use %{name}. %package -n bsdtar Summary: Manipulate tape archives -Group: Applications/File -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} %description -n bsdtar The bsdtar package contains standalone bsdtar utility split off regular @@ -70,8 +66,7 @@ libarchive packages. %package -n bsdcpio Summary: Copy files to and from archives -Group: Applications/File -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} %description -n bsdcpio The bsdcpio package contains standalone bsdcpio utility split off regular @@ -94,7 +89,6 @@ make %{?_smp_mflags} $verbose_make %install -rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' @@ -131,10 +125,6 @@ run_testsuite %endif -%clean -rm -rf $RPM_BUILD_ROOT - - %post -p /sbin/ldconfig @@ -142,7 +132,6 @@ rm -rf $RPM_BUILD_ROOT %files -%defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} %license COPYING %doc README NEWS @@ -152,8 +141,6 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/*/tar.* %files devel -%defattr(-,root,root,-) -%doc %{_includedir}/*.h %{_mandir}/*/archive* %{_mandir}/*/libarchive* @@ -161,7 +148,6 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/libarchive.pc %files -n bsdtar -%defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} %license COPYING %doc README NEWS @@ -169,7 +155,6 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/*/bsdtar* %files -n bsdcpio -%defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} %license COPYING %doc README NEWS @@ -178,6 +163,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Mar 07 2016 Björn Esser - 3.1.2-16 +- removed %%defattr, BuildRoot and other ancient bits +- added arch'ed bits to all Requires + * Thu Feb 04 2016 Fedora Release Engineering - 3.1.2-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild