Version 5.0.1

- Convert License tag to SPDX
- Modernize the spec file
epel10
Jerry James 1 year ago
parent 003f1c70bd
commit f36bd80115

1
.gitignore vendored

@ -4,3 +4,4 @@
/zope.exceptions-4.0.6.zip /zope.exceptions-4.0.6.zip
/zope.exceptions-4.0.7.tar.gz /zope.exceptions-4.0.7.tar.gz
/zope.exceptions-4.0.8.tar.gz /zope.exceptions-4.0.8.tar.gz
/zope.exceptions-5.0.1.tar.gz

@ -2,12 +2,13 @@
Summary: Zope Exceptions Summary: Zope Exceptions
Name: python-zope-exceptions Name: python-zope-exceptions
Version: 4.0.8 Version: 5.0.1
Release: 29%{?dist} Release: 1%{?dist}
Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz VCS: https://github.com/zopefoundation/zope.exceptions
License: ZPLv2.1 Source0: %{VCS}/archive/%{version}/%{modname}-%{version}.tar.gz
License: ZPL-2.1
BuildArch: noarch BuildArch: noarch
URL: http://pypi.python.org/pypi/zope.exceptions URL: https://zopeexceptions.readthedocs.io/
%description %description
This package contains exception interfaces and implementations which are so This package contains exception interfaces and implementations which are so
@ -15,44 +16,39 @@ general purpose that they don't belong in Zope application-specific packages.
%package -n python3-zope-exceptions %package -n python3-zope-exceptions
Summary: Zope Exceptions Summary: Zope Exceptions
%{?python_provide:%python_provide python3-zope-exceptions}
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-zope-interface
Requires: python3-zope-interface
%description -n python3-zope-exceptions %description -n python3-zope-exceptions
This package contains exception interfaces and implementations which are so This package contains exception interfaces and implementations which are so
general purpose that they don't belong in Zope application-specific packages. general purpose that they don't belong in Zope application-specific packages.
%prep %prep
%setup -q -n %{modname}-%{version} %autosetup -n %{modname}-%{version}
rm -rf %{modname}.egg-info %generate_buildrequires
%pyproject_buildrequires -t
%build %build
%{py3_build} %pyproject_wheel
%install %install
%{py3_install} %pyproject_install
%pyproject_save_files zope
# As of python-zope-exceptions-4.0.6, the tests require
# python-zope-testrunner which has not yet been packaged. %check
#%%check %tox
#%%{__python3} setup.py test
%files -n python3-zope-exceptions -f %{pyproject_files}
%files -n python3-zope-exceptions %doc CHANGES.rst README.rst
%doc LICENSE.txt CHANGES.rst README.rst COPYRIGHT.txt %license COPYRIGHT.txt LICENSE.txt
%{python3_sitelib}/zope/exceptions/
# Co-own %%{python3_sitelib}/zope/
%dir %{python3_sitelib}/zope/
%exclude %{python3_sitelib}/zope/exceptions/tests/
%{python3_sitelib}/%{modname}-*.egg-info
%{python3_sitelib}/%{modname}-*-nspkg.pth %{python3_sitelib}/%{modname}-*-nspkg.pth
%changelog %changelog
* Mon Jan 29 2024 Jerry James <loganjerry@gmail.com> - 5.0.1-1
- Version 5.0.1
- Convert License tag to SPDX
- Modernize the spec file
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.8-29 * Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.8-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

@ -1 +1 @@
c6f9b3905a48ba0487f82d95fba71c0c zope.exceptions-4.0.8.tar.gz SHA512 (zope.exceptions-5.0.1.tar.gz) = 1b599b4e4cd3d3e3a9a1dd793d912d2ab860be4167f16cdbef092319fd46105401db8b16e04aacb18299da5d795fcbad488ce644f184b3336e8ffcf7f2306bc4

Loading…
Cancel
Save