[mingw-cppunit: 13/13] Dropped unneeded RPM tags

epienbro epienbro at fedoraproject.org
Wed Mar 7 16:12:07 UTC 2012


commit 87a207fcbf3d79f68b3c20538701886dfed17e99
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date:   Wed Mar 7 17:10:48 2012 +0100

    Dropped unneeded RPM tags

 mingw-cppunit.spec |   11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)
---
diff --git a/mingw-cppunit.spec b/mingw-cppunit.spec
index 34ad064..c57a0cb 100644
--- a/mingw-cppunit.spec
+++ b/mingw-cppunit.spec
@@ -1,8 +1,5 @@
 %global __strip %{mingw32_strip}
 %global __objdump %{mingw32_objdump}
-%global _use_internal_dependency_generator 0
-%global __find_requires %{mingw32_findrequires}
-%global __find_provides %{mingw32_findprovides}
 
 Name:           mingw-cppunit
 Version:        1.12.1
@@ -13,7 +10,6 @@ Group:          Development/Libraries
 License:        LGPLv2+
 URL:            http://cppunit.sourceforge.net/
 Source0:        http://downloads.sourceforge.net/cppunit/cppunit-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
 BuildRequires:  mingw32-filesystem >= 23
@@ -56,16 +52,10 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files -n mingw32-cppunit
-%defattr(-,root,root,-)
 %doc AUTHORS COPYING NEWS README THANKS ChangeLog TODO BUGS doc/FAQ
 %{mingw32_bindir}/cppunit-config
 %{mingw32_bindir}/DllPlugInTester.exe
@@ -82,6 +72,7 @@ rm -rf $RPM_BUILD_ROOT
 * Wed Mar 07 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 1.12.1-8
 - Renamed the source package to mingw-cppunit (RHBZ #800853)
 - Use mingw macros without leading underscore
+- Dropped unneeded RPM tags
 
 * Mon Feb 27 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 1.12.1-7
 - Rebuild against the mingw-w64 toolchain


More information about the scm-commits mailing list