From 4c09a26868d5177bc6fdcd8aa276af8ab7c84d10 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Fri, 4 Jan 2008 10:18:15 +0000 Subject: [PATCH] - tweak %files list to pull in egg info file when necessary - fix permissions on shared objects (silence rpmlint) --- python-zope-interface.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/python-zope-interface.spec b/python-zope-interface.spec index 901f72d..cf35a11 100644 --- a/python-zope-interface.spec +++ b/python-zope-interface.spec @@ -2,7 +2,7 @@ Name: python-zope-interface Version: 3.0.1 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Zope interfaces package Group: Development/Libraries License: ZPLv2.1 @@ -30,6 +30,7 @@ CFLAGS="%{optflags}" %{__python} setup.py build %install %{__rm} -rf %{buildroot} %{__python} setup.py install -O1 --skip-build --root %{buildroot} +/usr/bin/find %{buildroot} -name \*.so -exec %{__chmod} 755 {} \; %check cd ./build/lib.* && PYTHONPATH=$(pwd) %{__python} ./zope/testing/tests.py @@ -40,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* %changelog +* Fri Jan 4 2008 Paul Howarth 3.0.1-9 +- tweak %%files list to pull in egg info file when necessary +- fix permissions on shared objects (silence rpmlint) + * Wed Aug 29 2007 Paul Howarth 3.0.1-8 - update license tag to ZPLv2.1 in anticipation of this tag being approved