diff options
author | Robin Lee <robinlee.sysu@gmail.com> | 2010-08-30 20:59:51 +0800 |
---|---|---|
committer | Robin Lee <robinlee.sysu@gmail.com> | 2010-08-30 20:59:51 +0800 |
commit | 941515c3455e27b850dd33753ca3daa4569ca7fb (patch) | |
tree | 446029c1bdf77006ac03079c7d17051ff84b4d74 | |
parent | 42ec4048ed1ccbd38abce3d2314e2335b7f89b7f (diff) | |
download | zope-rpm-941515c3455e27b850dd33753ca3daa4569ca7fb.tar.gz zope-rpm-941515c3455e27b850dd33753ca3daa4569ca7fb.tar.xz zope-rpm-941515c3455e27b850dd33753ca3daa4569ca7fb.zip |
python-zope-exceptions 3.6.1-2
-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 |