[libbinio] Drop buildroot tag, %defattr, %clean.

Michael Schwendt mschwendt at fedoraproject.org
Thu Feb 19 23:02:53 UTC 2015


commit 587d2165b34601185fffd70f084204b202dc18bb
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date:   Fri Feb 20 00:02:50 2015 +0100

    Drop buildroot tag, %defattr, %clean.
    
    - Fix -devel group tag.
    - Add %_isa to -devel base package dep.
    - Rebuild for GCC 5 C++ ABI change, so deps can compile/link with this.

 libbinio.spec | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/libbinio.spec b/libbinio.spec
index debfb46..24d5f24 100644
--- a/libbinio.spec
+++ b/libbinio.spec
@@ -3,7 +3,7 @@
 
 Name:		libbinio
 Version:	1.4
-Release:	19%{?dist}
+Release:	20%{?dist}
 Summary:	A software library for binary I/O classes in C++
 URL:		http://libbinio.sourceforge.net/
 Group:		System Environment/Libraries
@@ -11,7 +11,6 @@ Source:		http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 Patch0:		libbinio-1.4-texinfo.patch
 Patch1:		libbinio-1.4-pkgconfigurl.patch
 Patch2:		libbinio-1.4-includes.patch
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 License:	LGPLv2+
 BuildRequires:	/sbin/install-info
 
@@ -25,8 +24,8 @@ arbitrary binary data sources.
 
 %package devel
 Summary:        Development files for libbinio
-Group:          System Environment/Libraries
-Requires:       %{name} = %{version}-%{release}
+Group:          Development/Libraries
+Requires:       %{name}%{?_isa} = %{version}-%{release}
 BuildRequires:	texinfo
 Requires(post):	/sbin/install-info
 Requires(preun): /sbin/install-info
@@ -53,9 +52,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 # Remove doc "dir"
 rm -rf $RPM_BUILD_ROOT%{_infodir}/dir
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
@@ -70,12 +66,10 @@ if [ $1 = 0 ]; then
 fi
 
 %files
-%defattr(-, root, root)
 %{_libdir}/*.so.*
 %doc AUTHORS README COPYING INSTALL INSTALL.unix NEWS TODO
 
 %files devel
-%defattr(-, root, root)
 %dir %{_includedir}/%{name}
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/*.pc
@@ -83,6 +77,12 @@ fi
 %{_infodir}/*.gz
 
 %changelog
+* Thu Feb 19 2015 Michael Schwendt <mschwendt at fedoraproject.org> - 1.4-20
+- Drop buildroot tag, %%defattr, %%clean.
+- Fix -devel group tag.
+- Add %%_isa to -devel base package dep.
+- Rebuild for GCC 5 C++ ABI change, so deps can compile/link with this.
+
 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4-19
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 


More information about the scm-commits mailing list