diff options
Diffstat (limited to 'python-zope-exceptions/F-13/python-zope-exceptions.spec')
-rw-r--r-- | python-zope-exceptions/F-13/python-zope-exceptions.spec | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/python-zope-exceptions/F-13/python-zope-exceptions.spec b/python-zope-exceptions/F-13/python-zope-exceptions.spec index 23adfc7..5767ff5 100644 --- a/python-zope-exceptions/F-13/python-zope-exceptions.spec +++ b/python-zope-exceptions/F-13/python-zope-exceptions.spec @@ -1,12 +1,9 @@ -%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} -%endif %global modname zope.exceptions Summary: Zope Exceptions Name: python-zope-exceptions Version: 3.6.1 -Release: 1%{?dist} +Release: 2%{?dist} Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.zip License: ZPLv2.1 Group: Development/Libraries @@ -16,7 +13,6 @@ URL: http://cheeseshop.python.org/pypi/zope.exceptions BuildRequires: python2-devel BuildRequires: python-setuptools Requires: python-zope-filesystem -Requires: python-setuptools Requires: python-zope-interface %description @@ -30,12 +26,8 @@ general purpose that they don't belong in Zope application-specific packages. python setup.py build %install -rm -rf $RPM_BUILD_ROOT python setup.py install --root=$RPM_BUILD_ROOT -%clean -rm -rf $RPM_BUILD_ROOT - %files %defattr(-,root,root,-) %doc LICENSE.txt CHANGES.txt README.txt COPYRIGHT.txt @@ -45,6 +37,11 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Aug 30 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.6.1-2 +- Remove %%clean section +- Remove python-setuptools from requirements +- Remove definitions of Python-related macros + * Mon Aug 30 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.6.1-1 - Update to 3.6.1 - Summit review request |