%global modname zope.exceptions Summary: Zope Exceptions Name: python-zope-exceptions Version: 3.6.1 Release: 4%{?dist} Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.zip License: ZPLv2.1 Group: Development/Libraries BuildArch: noarch URL: http://cheeseshop.python.org/pypi/zope.exceptions BuildRequires: python2-devel BuildRequires: python-setuptools Requires: python-zope-interface %description This package contains exception interfaces and implementations which are so general purpose that they don't belong in Zope application-specific packages. %prep %setup -q -n %{modname}-%{version} %build python setup.py build %install python setup.py install --root=$RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc LICENSE.txt CHANGES.txt README.txt COPYRIGHT.txt %{python_sitelib}/zope/exceptions/ %dir %{python_sitelib}/zope/ %{python_sitelib}/%{modname}-*.egg-info %{python_sitelib}/%{modname}-*-nspkg.pth %changelog * Tue Aug 31 2010 Robin Lee - 3.6.1-4 - Own %%{python_sitelib}/zope/ * Mon Aug 30 2010 Robin Lee - 3.6.1-3 - Remove python-zope-filesystem from requirements - Import to Fedora repositories * Mon Aug 30 2010 Robin Lee - 3.6.1-2 - Remove %%clean section - Remove python-setuptools from requirements - Remove definitions of Python-related macros * Mon Aug 30 2010 Robin Lee - 3.6.1-1 - Update to 3.6.1 - Summit review request * Wed Jun 16 2010 Robin Lee - 3.6.0-1 - Initial packaging