diff --git a/apiextractor.spec b/apiextractor.spec index f3ae31b..b5e0bad 100644 --- a/apiextractor.spec +++ b/apiextractor.spec @@ -7,7 +7,6 @@ Group: System Environment/Libraries License: GPLv2 URL: http://www.pyside.org Source0: http://www.pyside.org/files/apiextractor-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: cmake BuildRequires: libxml2-devel @@ -55,7 +54,6 @@ rm -rf %{_target_platform}/doc/html/.doctrees %install -rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} @@ -63,22 +61,16 @@ make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} make test -C %{_target_platform} -%clean -rm -rf $RPM_BUILD_ROOT - - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -%defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING %{_libdir}/libapiextractor.so.* %files devel -%defattr(-,root,root,-) %doc %{_target_platform}/doc/html/ %{_includedir}/apiextractor/ %{_libdir}/libapiextractor.so @@ -89,6 +81,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Thu Jun 23 2011 Kalev Lember - 0.10.4-1 - Update to 0.10.4 +- Cleaned up the spec file for modern rpmbuild * Fri May 27 2011 Kalev Lember - 0.10.3-1 - Update to 0.10.3