diff --git a/.python-spec.metadata b/.python-spec.metadata new file mode 100644 index 0000000..01e08e8 --- /dev/null +++ b/.python-spec.metadata @@ -0,0 +1,3 @@ +29ee358d4207e32528b6ab6d2f5aab302fe6b1e2 SOURCES/spec-1.4.1.tar.gz +d7517ef2be40559b55002523cf1dac5544ad90c6 SOURCES/spec-1.4.1.tar.gz.asc +a9509accc96136b6a99d1f5789cda7864b0772ac SOURCES/LICENSE diff --git a/SOURCES/gpgkey-0C8AFED2B8FDD7AF40F809BA9C29BC560041E930.gpg b/SOURCES/gpgkey-0C8AFED2B8FDD7AF40F809BA9C29BC560041E930.gpg new file mode 100644 index 0000000..9a72f34 Binary files /dev/null and b/SOURCES/gpgkey-0C8AFED2B8FDD7AF40F809BA9C29BC560041E930.gpg differ diff --git a/SOURCES/python-spec.rpmlintrc b/SOURCES/python-spec.rpmlintrc new file mode 100644 index 0000000..9428aea --- /dev/null +++ b/SOURCES/python-spec.rpmlintrc @@ -0,0 +1,4 @@ +from Config import * + +addFilter("spelling-error %description -l en_US (TestBoilerplate|tracebacks) -> ") + diff --git a/SPECS/python-spec.spec b/SPECS/python-spec.spec new file mode 100644 index 0000000..7584d6a --- /dev/null +++ b/SPECS/python-spec.spec @@ -0,0 +1,118 @@ +Name: python-spec +Version: 1.4.1 +Release: 6%{?dist} +Summary: Specification-style output for python-nose +License: MIT +URL: https://github.com/bitprophet/spec +Source0: %{pypi_source spec} +Source1: %{pypi_source spec}.asc +# The following keyring is made from the public key shown on: http://bitprophet.org/bio/ +# It has fingerprint 0C8AFED2B8FDD7AF40F809BA9C29BC560041E930 +# Keyring created by importing that key and using the output of: +# gpg2 --export --export-options export-minimal 0C8AFED2B8FDD7AF40F809BA9C29BC560041E930 +Source2: gpgkey-0C8AFED2B8FDD7AF40F809BA9C29BC560041E930.gpg +Source3: https://raw.githubusercontent.com/bitprophet/spec/master/LICENSE +BuildArch: noarch +BuildRequires: coreutils +BuildRequires: gnupg2 +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +%description +A Python testing tool that provides: + +* Colorized, specification style output +* Colorized tracebacks and summary +* Test-running CLI tool that enables useful non-default options and implements + relaxed test discovery for less test_annoying.py:TestBoilerplate.test_code + and more readable.py:Classes.and_methods. + +%package -n python3-spec +Summary: Specification-style output for python3-nose +BuildRequires: python3-nose >= 1.3 +BuildRequires: python3-six +%{?python_provide:%python_provide python3-spec} + +%description -n python3-spec +A Python testing tool that provides: + +* Colorized, specification style output +* Colorized tracebacks and summary +* Test-running CLI tool that enables useful non-default options and implements + relaxed test discovery for less test_annoying.py:TestBoilerplate.test_code + and more readable.py:Classes.and_methods. + +%prep +%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' + +%setup -q -n spec-%{version} + +# LICENSE file +cp -p %{SOURCE3} . + +# Remove bundled egg-info +rm -rf spec.egg-info + +%build +%py3_build + +%install +%py3_install + +%files -n python3-spec +%license LICENSE +%{_bindir}/spec +%{python3_sitelib}/spec/ +%{python3_sitelib}/spec-*.egg-info/ + +%changelog +* Wed Jan 27 2021 Fedora Release Engineering - 1.4.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 1.4.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sun May 24 2020 Miro Hrončok - 1.4.1-4 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 1.4.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Dec 20 2019 Paul Howarth - 1.4.1-2 +- Incorporate feedback from package review (#1785391) + - Use %%pypi_source macro + - Use %%python_provide macro + - Runtime python dependencies detected automatically since F-30, EL-8 + - Fix egg-info globbing in %%files list + - Add GPG source verification in %%prep section + - Update LICENSE file (updated copyright date) + +* Wed Dec 11 2019 Paul Howarth - 1.4.1-1 +- Update to 1.4.1 +- Strip out Python 2 support + +* Thu Feb 04 2016 Fedora Release Engineering - 1.0.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Sun Dec 6 2015 Toshio Kuratomi - - 1.0.0-5 +- Add provides for python2-spec + +* Tue Nov 10 2015 Fedora Release Engineering - 1.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Thu Nov 5 2015 Toshio Kuratomi - 1.0.0-3 +- Fix the python2 and python3 scripts to coexist according to the + Packaging:Python guidelines +- Fix dist tag + +* Thu Jun 18 2015 Fedora Release Engineering - 1.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Mar 28 2015 Eduardo Mayorga Téllez - 1.0.0-1 +- Update to 1.0.0 + +* Sun Aug 03 2014 Eduardo Mayorga Téllez - 0.11.1-2 +- Changing Requires from python2- to python- + +* Tue Jul 29 2014 Eduardo Mayorga Téllez - 0.11.1-1 +- Initial packaging