SPECS: python-openid.spec - unified, dropped redundant module macro

qboosh qboosh at pld-linux.org
Thu Feb 21 17:58:45 CET 2008


Author: qboosh                       Date: Thu Feb 21 16:58:45 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- unified, dropped redundant module macro

---- Files affected:
SPECS:
   python-openid.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/python-openid.spec
diff -u SPECS/python-openid.spec:1.5 SPECS/python-openid.spec:1.6
--- SPECS/python-openid.spec:1.5	Thu Feb 21 00:17:14 2008
+++ SPECS/python-openid.spec	Thu Feb 21 17:58:39 2008
@@ -1,27 +1,26 @@
 # $Revision$, $Date$
-
-%define		module	openid
-
 Summary:	OpenID consumer and server library for Python
 Summary(pl.UTF-8):	Biblioteka konsumenta i serwera OpenID dla Pythona
-Name:		python-%{module}
+Name:		python-openid
 Version:	2.1.1
 Release:	1
-License:	Apache Software License
+License:	Apache
 Group:		Libraries/Python
-Source0:	http://openidenabled.com/files/python-openid/packages/python-%{module}-%{version}.tar.bz2
+Source0:	http://openidenabled.com/files/python-openid/packages/%{name}-%{version}.tar.bz2
 # Source0-md5:	b15ead9183a0550ef974c15bb6a36f2e
 URL:		http://www.openidenabled.com/
 BuildRequires:	python >= 1:2.5
 BuildRequires:	python-devel 
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
+%pyrequires_eq	python
 Requires:	python-urljr >= 1.0.0
 Requires:	python-yadis >= 1.1.0
-%pyrequires_eq	python
 BuildArch:      noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-OpenID consumer and server library for Python
+OpenID consumer and server library for Python.
 
 %description -l pl.UTF-8
 Biblioteka konsumenta i serwera OpenID dla Pythona.
@@ -41,7 +40,7 @@
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
-rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/*.py
+%py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -49,8 +48,8 @@
 %files
 %defattr(644,root,root,755)
 %doc README doc/*
-%{py_sitescriptdir}/%{module}
-%{py_sitescriptdir}/python_%{module}-*.egg-info
+%{py_sitescriptdir}/openid
+%{py_sitescriptdir}/python_openid-*.egg-info
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -58,6 +57,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2008-02-21 16:58:39  qboosh
+- unified, dropped redundant module macro
+
 Revision 1.5  2008-02-20 23:17:14  beorn
 - Up to 2.1.1 + SPEC fixes
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-openid.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list