- 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
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 <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
- update license tag to ZPLv2.1 in anticipation of this tag being approved

Loading…
Cancel
Save