From 570af648b453042745343f513817ac22a169f4c8 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Mon, 25 Jul 2011 18:59:07 +0300 Subject: [PATCH] Cleaned up the spec file for modern rpmbuild --- libsigc++20.spec | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/libsigc++20.spec b/libsigc++20.spec index f3edfa6..aea20e7 100644 --- a/libsigc++20.spec +++ b/libsigc++20.spec @@ -10,7 +10,6 @@ Group: System Environment/Libraries License: LGPLv2+ URL: http://libsigc.sourceforge.net/ Source0: http://ftp.gnome.org/pub/GNOME/sources/libsigc++/%{release_version}/libsigc++-%{version}.tar.xz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: m4 @@ -57,27 +56,20 @@ make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' -%clean -rm -rf $RPM_BUILD_ROOT - - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -%defattr(-,root,root,-) %doc AUTHORS COPYING README NEWS ChangeLog TODO %{_libdir}/*.so.* %files devel -%defattr(-,root,root,-) %{_includedir}/* %{_libdir}/sigc++-2.0/ %{_libdir}/pkgconfig/*.pc @@ -85,7 +77,6 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/*.so %files doc -%defattr(-,root,root,-) %doc %{_datadir}/doc/libsigc++-2.0/ # according guidelines, we can co-own this, since devhelp is not required # for accessing documentation @@ -95,6 +86,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Mon Jul 25 2011 Kalev Lember - 2.2.10-1 - Update to 2.2.10 +- Cleaned up the spec file for modern rpmbuild * Wed Mar 09 2011 Kalev Lember - 2.2.9-1 - Update to 2.2.9