From c77beb58b937f9198333dceabc4fe1592c3467ba Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 22 Aug 2023 07:28:37 +0000 Subject: automatic import of python-zope-exceptions --- .gitignore | 1 + python-zope-exceptions.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 53 insertions(+) create mode 100644 python-zope-exceptions.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..7434da5 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/zope.exceptions-5.0.1.tar.gz 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 - 5.0.1-1 +- Init package python-zope-exceptions-5.0.1 diff --git a/sources b/sources new file mode 100644 index 0000000..0edec92 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +6ad3c6ee82f635283d74c3abaffcb52d zope.exceptions-5.0.1.tar.gz -- cgit v1.2.3