SPECS: python-Routes.spec - adapter, use macros

glen glen at pld-linux.org
Sun May 7 12:03:51 CEST 2006


Author: glen                         Date: Sun May  7 10:03:51 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- adapter, use macros

---- Files affected:
SPECS:
   python-Routes.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/python-Routes.spec
diff -u SPECS/python-Routes.spec:1.1 SPECS/python-Routes.spec:1.2
--- SPECS/python-Routes.spec:1.1	Sun May  7 11:57:09 2006
+++ SPECS/python-Routes.spec	Sun May  7 12:03:46 2006
@@ -3,21 +3,23 @@
 Name:		python-Routes
 Version:	1.3.2
 Release:	1
-Group:		Development/Languages/Python
 License:	BSD (?)
+Group:		Development/Languages/Python
 Source0:	http://cheeseshop.python.org/packages/source/R/Routes/Routes-%{version}.tar.gz
 # Source0-md5:	967fe418f3afb8fb49d0be99d835b6bc
 URL:		http://wsgiarea.pocoo.org/colubrid/
 BuildRequires:	python-devel
 BuildRequires:	python-setuptools >= 0.6-0.a11.1
+BuildRequires:	rpmbuild(macros) >= 1.219
 %pyrequires_eq  python-modules
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Routes is a Python re-implementation of the Rails routes system for mapping
-URL's to Controllers/Actions and generating URL's. Routes makes it easy to
-create pretty and concise URL's that are RESTful with little effort.
+Routes is a Python re-implementation of the Rails routes system for
+mapping URL's to Controllers/Actions and generating URL's. Routes
+makes it easy to create pretty and concise URL's that are RESTful with
+little effort.
 
 %prep
 %setup -q -n Routes-%{version}
@@ -32,7 +34,7 @@
 	--optimize=2 \
 	--root=$RPM_BUILD_ROOT
 
-find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm -f \{\} \;
+%py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -49,7 +51,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/05/07 10:03:46  glen
+- adapter, use macros
+
 Revision 1.1  2006/05/07 09:57:09  radzio
 - initial release
-
-
================================================================

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



More information about the pld-cvs-commit mailing list