SPECS: synopsis.spec - use %py_postclean, updated BRs - rel. 1

charles charles at pld-linux.org
Sat Feb 18 12:45:22 CET 2006


Author: charles                      Date: Sat Feb 18 11:45:22 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use %py_postclean, updated BRs
- rel. 1

---- Files affected:
SPECS:
   synopsis.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/synopsis.spec
diff -u SPECS/synopsis.spec:1.2 SPECS/synopsis.spec:1.3
--- SPECS/synopsis.spec:1.2	Sun Jun 12 11:33:11 2005
+++ SPECS/synopsis.spec	Sat Feb 18 12:45:16 2006
@@ -3,7 +3,7 @@
 Summary(pl):	Synopsis - narzędzie do badania kodu źródłowego
 Name:		synopsis
 Version:	0.8
-Release:	0.1
+Release:	1
 License:	LGPL
 Group:		Development/Tools
 Source0:	http://synopsis.fresco.org/download/%{name}-%{version}.tar.gz
@@ -11,9 +11,10 @@
 URL:		http://synopsis.fresco.org/
 BuildRequires:	libstdc++-devel
 BuildRequires:	pkgconfig
-BuildRequires:	python
 BuildRequires:	python-devel
-%pyrequires_eq	python-modules
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
+%pyrequires_eq	python-libs
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -64,9 +65,11 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 
-python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
+python setup.py install \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
 
-find $RPM_BUILD_ROOT%{py_sitedir} -name \*.py -exec rm -f {} \;
+%py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -89,6 +92,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2006/02/18 11:45:16  charles
+- use %py_postclean, updated BRs
+- rel. 1
+
 Revision 1.2  2005/06/12 09:33:11  qboosh
 - pl, defattr
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/synopsis.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list