From e28d9410658d9572b053cedf2da8a69927f4547e Mon Sep 17 00:00:00 2001 From: Robin Lee Date: Tue, 31 Aug 2010 09:07:00 +0800 Subject: [PATCH] Initial import --- .gitignore | 1 + python-zope-exceptions.spec | 53 +++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 55 insertions(+) create mode 100644 python-zope-exceptions.spec diff --git a/.gitignore b/.gitignore index e69de29..b178cea 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/zope.exceptions-3.6.1.zip diff --git a/python-zope-exceptions.spec b/python-zope-exceptions.spec new file mode 100644 index 0000000..b28e8d1 --- /dev/null +++ b/python-zope-exceptions.spec @@ -0,0 +1,53 @@ +%global modname zope.exceptions + +Summary: Zope Exceptions +Name: python-zope-exceptions +Version: 3.6.1 +Release: 3%{?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/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* 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 diff --git a/sources b/sources index e69de29..7be2eaf 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b735a62e1ef16e746764b4938a4d7926 zope.exceptions-3.6.1.zip