blob: eb9ae13bb82ad56f4def2d366107e28d6dbda19d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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
|