SPECS: Zope-Interface.spec - CFLAGS, egg-info created on py2.4 too

glen glen at pld-linux.org
Tue Apr 14 07:57:06 CEST 2009


Author: glen                         Date: Tue Apr 14 05:57:06 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- CFLAGS, egg-info created on py2.4 too

---- Files affected:
SPECS:
   Zope-Interface.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: SPECS/Zope-Interface.spec
diff -u SPECS/Zope-Interface.spec:1.23 SPECS/Zope-Interface.spec:1.24
--- SPECS/Zope-Interface.spec:1.23	Fri Mar 13 16:34:31 2009
+++ SPECS/Zope-Interface.spec	Tue Apr 14 07:57:00 2009
@@ -9,8 +9,8 @@
 Source0:	http://pypi.python.org/packages/source/z/zope.interface/zope.interface-%{version}.zip
 # Source0-md5:	478d05add7cd7faf25a2fd880a739ddb
 URL:		http://www.zope.org/Products/ZopeInterface/
-BuildRequires:	python >= 1:2.5
-BuildRequires:	python-devel >= 1:2.5
+BuildRequires:	python
+BuildRequires:	python-devel
 BuildRequires:	python-setuptools
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.219
@@ -33,12 +33,12 @@
 %setup -q -n zope.interface-%{version}
 
 %build
-python ./setup.py build
+export CFLAGS="%{rpmcflags}"
+%{__python} ./setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
-python ./setup.py install \
+%{__python} ./setup.py install \
 	--optimize 2 \
 	--root=$RPM_BUILD_ROOT
 
@@ -68,6 +68,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2009/04/14 05:57:00  glen
+- CFLAGS, egg-info created on py2.4 too
+
 Revision 1.23  2009/03/13 15:34:31  hawk
 - release 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/Zope-Interface.spec?r1=1.23&r2=1.24&f=u



More information about the pld-cvs-commit mailing list