diff --git a/python-zope-testrunner.spec b/python-zope-testrunner.spec index c34125d..1d43402 100644 --- a/python-zope-testrunner.spec +++ b/python-zope-testrunner.spec @@ -2,12 +2,14 @@ # Do not fail the build just because some file is not valid python. %undefine _python_bytecompile_errors_terminate_build +%global _docdir_fmt python3-zope-testrunner + Name: python-zope-testrunner -Version: 5.5 -Release: 2%{?dist} +Version: 5.5.1 +Release: 1%{?dist} Summary: Zope testrunner script -License: ZPLv2.1 +License: ZPL-2.1 URL: https://pypi.python.org/pypi/zope.testrunner Source0: https://github.com/zopefoundation/zope.testrunner/archive/%{version}/zope.testrunner-%{version}.tar.gz @@ -37,6 +39,18 @@ Summary: Zope testrunner script %description -n python3-zope-testrunner This package provides a flexible test runner with layer support. +%package doc +# The content is ZPL-2.1. Files added by Sphinx have the following licences: +# searchindex.js: BSD-2-Clause +# _static/*: BSD-2-Clause, except for the following: +# _static/jquery*.js: MIT +# _static/underscore*.js: MIT +License: ZPL-2.1 AND BSD-2-Clause AND MIT +Summary: Documentation for zope.testrunner + +%description doc +Documentation for zope.testrunner. + %prep %autosetup -n zope.testrunner-%{version} @@ -96,7 +110,7 @@ PURE_PYTHON=1 python3 -m unittest discover -s zope/testrunner -t . popd %files -n python3-zope-testrunner -%doc CHANGES.html README.html docs/_build/html +%doc CHANGES.html README.html %license COPYRIGHT LICENSE.md %{_bindir}/zope-testrunner %{_mandir}/man1/zope-testrunner.1* @@ -104,7 +118,15 @@ popd %{python3_sitelib}/zope/testrunner/ %exclude %{python3_sitelib}/zope/testrunner/tests +%files doc +%doc docs/_build/html + %changelog +* Wed Sep 7 2022 Jerry James - 5.5.1-1 +- Version 5.5.1 +- Convert License tag to SPDX +- Add -doc subpackage + * Fri Jul 22 2022 Fedora Release Engineering - 5.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index a317925..5b3779c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zope.testrunner-5.5.tar.gz) = 51124adedb5532846509f0fb95ee4421eb42516bcc6bd3e28ac7ae682fecf29042a9000da181b8f2da3ae74800b55e64b1c1cf23f9ef22de87d613127d08f43a +SHA512 (zope.testrunner-5.5.1.tar.gz) = 1f25ce6b8a3c3fed43d95bfde2b359ebabac09c71fcfc9c751938f8bde5df5b67a86e8df6d4c3e915ce0b663485b29c195e73c0f574adcad75716eff4cdc51eb