SPECS: python-pyxdg.spec - Added py_postclean macro - Byte compili...

beorn beorn at pld-linux.org
Mon Mar 19 09:38:00 CET 2007


Author: beorn                        Date: Mon Mar 19 08:38:00 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Added py_postclean macro
- Byte compiling with optimize=2

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

---- Diffs:

================================================================
Index: SPECS/python-pyxdg.spec
diff -u SPECS/python-pyxdg.spec:1.2 SPECS/python-pyxdg.spec:1.3
--- SPECS/python-pyxdg.spec:1.2	Mon Mar 19 09:29:18 2007
+++ SPECS/python-pyxdg.spec	Mon Mar 19 09:37:55 2007
@@ -40,11 +40,11 @@
 %setup -q -n %{module}-%{version}
 
 %build
-%{__python} setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install --skip-build --root=$RPM_BUILD_ROOT
+%{__python} setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
+%py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -54,7 +54,7 @@
 %doc AUTHORS COPYING ChangeLog README TODO
 %{py_sitescriptdir}/pyxdg-%{version}-py2.5.egg-info
 %dir %{py_sitescriptdir}/xdg
-%{py_sitescriptdir}/xdg/*.pyc
+%{py_sitescriptdir}/xdg/*.py[co]
 
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -63,6 +63,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2007/03/19 08:37:55  beorn
+- Added py_postclean macro
+- Byte compiling with optimize=2
+
 Revision 1.2  2007/03/19 08:29:18  beorn
 - Fixed UTF
 - Summary and description extended
================================================================

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



More information about the pld-cvs-commit mailing list