From 9694ed006a60ddea46fed07e6a9101fb0a2881ea Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Sep 20 2009 18:47:06 +0000 Subject: generate egg info also for EL-5 --- diff --git a/python-zope-interface.spec b/python-zope-interface.spec index 6de986e..8e143c2 100644 --- a/python-zope-interface.spec +++ b/python-zope-interface.spec @@ -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/ZopeInterface/3.0.1final/ZopeInterface-%{versi 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/366/ %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) %{__python} ./zope/testing/tests.py %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 3.0.1-11 +- generate egg info + * Thu Feb 14 2008 Paul Howarth 3.0.1-10 - rebuild with gcc 4.3.0 for Fedora 9