summaryrefslogtreecommitdiff
path: root/python-zope-exceptions.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-zope-exceptions.spec')
-rw-r--r--python-zope-exceptions.spec51
1 files changed, 51 insertions, 0 deletions
diff --git a/python-zope-exceptions.spec b/python-zope-exceptions.spec
new file mode 100644
index 0000000..eb9ae13
--- /dev/null
+++ b/python-zope-exceptions.spec
@@ -0,0 +1,51 @@
+%global modname zope.exceptions
+
+Name: python-zope-exceptions
+Version: 5.0.1
+Release: 1
+Summary: Zope Exceptions
+
+License: ZPLv2.1
+URL: https://github.com/zopefoundation/zope.exceptions
+Source0: %{url}/archive/%{version}.tar.gz#/zope.exceptions-%{version}.tar.gz
+BuildArch: noarch
+
+%description
+This package contains exception interfaces and implementations which are so
+general purpose that they don't belong in Zope application-specific packages.
+
+%package -n python3-zope-exceptions
+Summary: Zope Exceptions
+%python_provide python3-zope-exceptions
+
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-setuptools_scm
+BuildRequires: python3-pip
+BuildRequires: python3-wheel
+
+%description -n python3-zope-exceptions
+This package contains exception interfaces and implementations which are so
+general purpose that they don't belong in Zope application-specific packages.
+
+%prep
+%autosetup -n %{modname}-%{version}
+
+rm -rf %{modname}.egg-info
+
+%build
+%{pyproject_build}
+
+%install
+%{pyproject_install}
+
+%files -n python3-zope-exceptions
+%license LICENSE.txt
+%doc CHANGES.rst README.rst COPYRIGHT.txt
+%{python3_sitelib}/zope/exceptions/
+%{python3_sitelib}/zope.exceptions-*
+%exclude %{python3_sitelib}/zope/exceptions/tests/
+
+%changelog
+* Fri Aug 18 2023 mengzhaoa <mengzhaoa@isoftstone.com> - 5.0.1-1
+- Init package python-zope-exceptions-5.0.1