# Pytest cannot find any tests from upstream. Disable them for now. %bcond_with tests %global srcname asn1crypto %global forgeurl https://github.com/wbond/asn1crypto Version: 1.5.1 %global tag %{version} %forgemeta Name: python-%{srcname} Release: 2%{?dist} Summary: Fast Python ASN.1 parser and serializer License: MIT URL: %forgeurl Source0: %forgesource BuildArch: noarch BuildRequires: python3-devel %if %{with tests} BuildRequires: python3dist(pytest) %endif %global _description %{expand: Fast ASN.1 parser and serializer with definitions for private keys, public keys, certificates, CRL, OCSP, CMS, PKCS#3, PKCS#7, PKCS#8, PKCS#12, PKCS#5, X.509 and TSP.} %description %{_description} %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} %{_description} %prep %forgeautosetup -p1 %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} %if %{with tests} %check %pytest %endif %files -n python3-%{srcname} -f %{pyproject_files} %doc changelog.md readme.md SECURITY.md %changelog * Wed May 11 2022 Major Hayden - 1.5.1-2 - Update to use pyproject/forge macros. * Wed May 04 2022 Major Hayden - 1.5.1-1 - Update to 1.5.1 (#2062397) * Fri Jan 21 2022 Fedora Release Engineering - 1.4.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jun 03 2021 Python Maint - 1.4.0-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Jan 21 11:20:16 CET 2021 Christian Heimes - 1.4.0-1 - Upstream release 1.4.0 (#1861548) * Tue Jul 28 2020 Fedora Release Engineering - 1.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat May 23 2020 Miro Hrončok - 1.3.0-3 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Jan 13 2020 Christian Heimes - 1.3.0-1 - Update to 1.3.0 (#1758089) * Sat Oct 12 2019 Christian Heimes - 0.24.0-10 - Drop Python 2 package - Resolves: rhbz#1761084 * Thu Oct 03 2019 Miro Hrončok - 0.24.0-9 - Rebuilt for Python 3.8.0rc1 (#1748018) * Thu Aug 15 2019 Miro Hrončok - 0.24.0-8 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.24.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.24.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.24.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Jul 02 2018 Miro Hrončok - 0.24.0-4 - Rebuilt for Python 3.7 * Tue Jun 19 2018 Christian Heimes - 0.24.0-3 - Build Python 2 package conditionally * Fri Jun 15 2018 Miro Hrončok - 0.24.0-2 - Rebuilt for Python 3.7 * Wed Mar 21 2018 Christian Heimes - 0.24.0-1 - New upstream release 0.24.0 * Fri Feb 09 2018 Fedora Release Engineering - 0.23.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Oct 12 2017 Christian Heimes - 0.23-1 - New upstream release 0.23.0 * Fri Aug 04 2017 Christian Heimes - 0.22.0-5 - Use python2-setuptools, add with_python3 * Thu Aug 03 2017 Christian Heimes - 0.22.0-4 - Modernize spec * Thu Jul 27 2017 Fedora Release Engineering - 0.22.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 27 2017 Christian Heimes - 0.22.0-2 - Address rpmlint issues * Tue Jun 27 2017 Christian Heimes - 0.22.0-1 - Initial package.