From 9b3a69d43709460c7e823cff763596415f873231 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Aug 26 2022 13:27:16 +0000 Subject: remove python2 code from spec --- diff --git a/python-ecdsa.spec b/python-ecdsa.spec index 5873b0b..f01125c 100644 --- a/python-ecdsa.spec +++ b/python-ecdsa.spec @@ -2,7 +2,7 @@ Name: python-%{srcname} Version: 0.17.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: ECDSA cryptographic signature library License: MIT @@ -21,24 +21,6 @@ key and verifying key), sign messages, and verify the signatures. The keys and signatures are very short, making them easy to handle and incorporate into other protocols. -%if 0%{?fedora} < 30 -%package -n python2-%{srcname} -Summary: ECDSA cryptographic signature library -BuildRequires: python2-devel -BuildRequires: python2-setuptools -BuildRequires: python2-six -Requires: python2-six -%{?python_provide:%python_provide python2-%{srcname}} - -%description -n python2-%{srcname} -This is an easy-to-use implementation of ECDSA cryptography (Elliptic Curve -Digital Signature Algorithm), implemented purely in Python, released under -the MIT license. With this library, you can quickly create keypairs (signing -key and verifying key), sign messages, and verify the signatures. The keys -and signatures are very short, making them easy to handle and incorporate -into other protocols. -%endif - %package -n python%{python3_pkgversion}-%{srcname} Summary: ECDSA cryptographic signature library BuildRequires: python%{python3_pkgversion}-devel @@ -64,32 +46,16 @@ find src/ecdsa -name \*.py | xargs sed -ie '/\/usr\/bin\/env/d' %build -%if 0%{?fedora} < 30 -%py2_build -%endif %py3_build %install %py3_install -%if 0%{?fedora} < 30 -%py2_install -%endif %check -%if 0%{?fedora} < 30 -%{__python2} setup.py test -%endif %{__python3} setup.py test - -%if 0%{?fedora} < 30 -%files -n python2-%{srcname} -%license LICENSE -%doc NEWS README.md -%{python2_sitelib}/* -%endif %files -n python%{python3_pkgversion}-%{srcname} %license LICENSE @@ -98,6 +64,9 @@ find src/ecdsa -name \*.py | xargs sed -ie '/\/usr\/bin\/env/d' %changelog +* Fri Jul 22 2022 Jonathan Wright - 0.17.0-7 +- remove python2-related code from spec + * Fri Jul 22 2022 Fedora Release Engineering - 0.17.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild