rpms/python-zope-interface/EL-5 python-zope-interface.spec,1.2,1.3

Felix Schwarz fschwarz at fedoraproject.org
Sun Sep 20 18:47:06 UTC 2009


Author: fschwarz

Update of /cvs/pkgs/rpms/python-zope-interface/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15634

Modified Files:
	python-zope-interface.spec 
Log Message:
generate egg info also for EL-5



Index: python-zope-interface.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-zope-interface/EL-5/python-zope-interface.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- python-zope-interface.spec	18 Feb 2008 17:31:54 -0000	1.2
+++ python-zope-interface.spec	20 Sep 2009 18:47:06 -0000	1.3
@@ -2,7 +2,7 @@
 
 Name:		python-zope-interface
 Version:	3.0.1
-Release:	10%{?dist}
+Release:	11%{?dist}
 Summary:	Zope interfaces package
 Group:		Development/Libraries
 License:	ZPLv2.1
@@ -11,7 +11,7 @@ Source0:	http://zope.org/Products/ZopeIn
 Source1:	ZPL-2.1.txt
 Patch0:		ZopeInterface-3.0.1-declbug.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires:	python-devel
+BuildRequires:	python-devel python-setuptools-devel
 
 %description
 This is a separate distribution of the zope.interface package used in Zope 3.
@@ -25,11 +25,11 @@ http://www.zope.org/Collectors/Zope3-dev
 %patch0 -p1
 
 %build
-CFLAGS="%{optflags}" %{__python} setup.py build
+CFLAGS="%{optflags}" %{__python} -c 'import setuptools; execfile("setup.py")' build
 
 %install
 %{__rm} -rf %{buildroot}
-%{__python} setup.py install -O1 --skip-build --root  %{buildroot}
+CFLAGS="$RPM_OPT_FLAGS" %{__python} -c 'import setuptools; execfile("setup.py")' install -O1 --skip-build --root  %{buildroot}
 /usr/bin/find %{buildroot} -name \*.so -exec %{__chmod} 755 {} \;
 
 %check
@@ -41,9 +41,13 @@ cd ./build/lib.* && PYTHONPATH=$(pwd) %{
 %files
 %defattr(-,root,root,-)
 %doc README.txt ZPL-2.1.txt
-%{python_sitearch}/zope*
+%{python_sitearch}/zope/
+%{python_sitearch}/zope.interface*
 
 %changelog
+* Sun Sep 20 2009 Felix Schwarz <felix.schwarz at oss.schwarz.eu> 3.0.1-11
+- generate egg info
+
 * Thu Feb 14 2008 Paul Howarth <paul at city-fan.org> 3.0.1-10
 - rebuild with gcc 4.3.0 for Fedora 9
 




More information about the scm-commits mailing list