SPECS: python-mutagen.spec - Fixed group names - Switched to py_po...

beorn beorn at pld-linux.org
Sun Mar 4 14:33:49 CET 2007


Author: beorn                        Date: Sun Mar  4 13:33:49 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Fixed group names
- Switched to py_postclean macro

---- Files affected:
SPECS:
   python-mutagen.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/python-mutagen.spec
diff -u SPECS/python-mutagen.spec:1.15 SPECS/python-mutagen.spec:1.16
--- SPECS/python-mutagen.spec:1.15	Fri Mar  2 23:40:32 2007
+++ SPECS/python-mutagen.spec	Sun Mar  4 14:33:43 2007
@@ -8,13 +8,14 @@
 Version:	1.10.1
 Release:	1
 License:	GPL v2
-Group:		X11/Applications/Multimedia
+Group:		Development/Languages/Python
 Source0:	http://www.sacredchao.net/~piman/software/%{module}-%{version}.tar.gz
 # Source0-md5:	989cbe553266c723ad55d34245d932d4
 URL:		http://www.sacredchao.net/quodlibet/wiki/Development/Mutagen
 BuildRequires:	intltool
 BuildRequires:	pkgconfig
 BuildRequires:	python-devel
+BuildRequires:	rpmbuild(macros) >= 1.219
 %pyrequires_eq	python-modules
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -32,7 +33,7 @@
 %package tools
 Summary:	Simple tools for reading and writing audio metadata
 Summary(pl.UTF-8):	Proste narzędzia do odczytu i zapisu metadanych dźwiękowych
-Group:		Application/Multimedia
+Group:		Applications/Multimedia
 Requires:	%{name} = %{version}-%{release}
 
 %description tools
@@ -53,8 +54,7 @@
 python setup.py install \
 	--root=$RPM_BUILD_ROOT \
 	--optimize=2
-
-find $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module} -name '*.py' -exec rm -f {} \;
+%py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -75,6 +75,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2007/03/04 13:33:43  beorn
+- Fixed group names
+- Switched to py_postclean macro
+
 Revision 1.15  2007/03/02 22:40:32  beorn
 - UP to version 1.10.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-mutagen.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list