- tweak %files list to pull in egg info file when necessary

- fix permissions on shared objects (silence rpmlint)
epel8
Paul Howarth 17 years ago
parent 89c68c8ee9
commit 4c09a26868

@ -2,7 +2,7 @@
Name: python-zope-interface Name: python-zope-interface
Version: 3.0.1 Version: 3.0.1
Release: 8%{?dist} Release: 9%{?dist}
Summary: Zope interfaces package Summary: Zope interfaces package
Group: Development/Libraries Group: Development/Libraries
License: ZPLv2.1 License: ZPLv2.1
@ -30,6 +30,7 @@ CFLAGS="%{optflags}" %{__python} setup.py build
%install %install
%{__rm} -rf %{buildroot} %{__rm} -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot} %{__python} setup.py install -O1 --skip-build --root %{buildroot}
/usr/bin/find %{buildroot} -name \*.so -exec %{__chmod} 755 {} \;
%check %check
cd ./build/lib.* && PYTHONPATH=$(pwd) %{__python} ./zope/testing/tests.py 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 %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc README.txt ZPL-2.1.txt %doc README.txt ZPL-2.1.txt
%{python_sitearch}/zope/ %{python_sitearch}/zope*
%changelog %changelog
* Fri Jan 4 2008 Paul Howarth <paul@city-fan.org> 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 <paul@city-fan.org> 3.0.1-8 * Wed Aug 29 2007 Paul Howarth <paul@city-fan.org> 3.0.1-8
- update license tag to ZPLv2.1 in anticipation of this tag being approved - update license tag to ZPLv2.1 in anticipation of this tag being approved

Loading…
Cancel
Save