diff --git a/showcert-add-cryptography-dependency.patch b/showcert-add-cryptography-dependency.patch deleted file mode 100644 index 84a8f45..0000000 --- a/showcert-add-cryptography-dependency.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/pyproject.toml b/pyproject.toml -index c983f4d..c96abbc 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -11,6 +11,7 @@ dynamic = [ "version" ] - keywords = [ "SSL", "TLS", "certificate", "verify", "remote", "local", "X.509", "simple", "openssl", "alternative", "CA", "generate", "showcert", "gencert" ] - - dependencies = [ -+ 'cryptography', - 'pyopenssl', - 'pem', - 'certifi' diff --git a/showcert-remove-dependency-on-python-magic.patch b/showcert-remove-dependency-on-python-magic.patch new file mode 100644 index 0000000..acacd86 --- /dev/null +++ b/showcert-remove-dependency-on-python-magic.patch @@ -0,0 +1,12 @@ +diff --git a/pyproject.toml b/pyproject.toml +index 0777d9a..44d5b94 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -19,7 +19,6 @@ dependencies = [ + 'pyopenssl >= 24.0.0', + 'pem >= 23.1.0', + 'certifi >= 2018.10.15', +- 'python-magic' + ] + authors = [ + { name="Yaroslav Polyakov", email="yaroslaff@gmail.com" }, diff --git a/showcert.spec b/showcert.spec index 58ae593..b85505e 100644 --- a/showcert.spec +++ b/showcert.spec @@ -1,17 +1,20 @@ Name: showcert -Version: 0.2.3 -Release: 1%{?dist} +Version: 0.4.14 +Release: 3%{?dist} Summary: inspect TLS certificates presented by remote servers License: MIT URL: https://github.com/yaroslaff/showcert Source: %{pypi_source showcert} -# https://github.com/yaroslaff/showcert/issues/4 -Patch1: %{name}-add-cryptography-dependency.patch +Patch1: showcert-remove-dependency-on-python-magic.patch + BuildArch: noarch BuildRequires: python3-devel +BuildRequires: (python3dist(magic) or python3dist(file-magic)) +Requires: (python3dist(magic) or python3dist(file-magic)) + %description Simple OpenSSL for humans: all you need for X.509 TLS certificates (and @@ -24,7 +27,7 @@ purposes. %prep %autosetup -p1 -n showcert-%{version} -%py3_shebang_fix showcert/gencert.py +%py3_shebang_fix showcert/cli/*.py %generate_buildrequires %pyproject_buildrequires @@ -55,6 +58,61 @@ gencert --help %{_bindir}/gencert %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 0.4.14-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + +* Thu Jun 04 2026 Python Maint - 0.4.14-2 +- Rebuilt for Python 3.15 + +* Thu Feb 19 2026 Felix Schwarz - 0.4.14-1 +- update to 0.4.14 + +* Sun Jan 25 2026 Felix Schwarz - 0.4.12-1 +- update to 0.4.12 + +* Sat Jan 17 2026 Fedora Release Engineering - 0.4.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Sat Dec 06 2025 Felix Schwarz - 0.4.11-1 +- update to 0.4.11 + +* Thu Nov 20 2025 Felix Schwarz - 0.4.10-1 +- update to 0.4.10 + +* Sun Nov 16 2025 Felix Schwarz - 0.4.9-1 +- update to 0.4.9 +- ability to use python3-file-magic instead of python3-magic + +* Wed Nov 05 2025 Felix Schwarz - 0.4.8-1 +- update to 0.4.8 + +* Fri Oct 10 2025 Felix Schwarz - 0.4.7-1 +- update to 0.4.7 + +* Fri Sep 19 2025 Python Maint - 0.2.12-6 +- Rebuilt for Python 3.14.0rc3 bytecode + +* Fri Aug 15 2025 Python Maint - 0.2.12-5 +- Rebuilt for Python 3.14.0rc2 bytecode + +* Fri Jul 25 2025 Fedora Release Engineering - 0.2.12-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Tue Jun 03 2025 Python Maint - 0.2.12-3 +- Rebuilt for Python 3.14 + +* Sun Jan 19 2025 Fedora Release Engineering - 0.2.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Sat Dec 28 2024 Felix Schwarz - 0.2.12-1 +- update to 0.2.12 + +* Fri Dec 20 2024 Felix Schwarz - 0.2.11-1 +- update to 0.2.11 + +* Sun Nov 24 2024 Felix Schwarz - 0.2.9-1 +- update to 0.2.9 + * Thu Aug 08 2024 Felix Schwarz - 0.2.3-1 - initial package diff --git a/sources b/sources index 0573f40..e9e8038 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (showcert-0.2.3.tar.gz) = f5ff717d1e6cd2804eb2ef1617014258ce323658d2c26f42d368e55f60f49d2d4158d20efa38a9b513e3f6f0b2b024fc80a32a3e7bc4d55396ba413879fff211 +SHA512 (showcert-0.4.14.tar.gz) = 47fd2b016643de31077d424aef3f17a1ee074e44d18ea85cf94353482080d908ff9323564de3b4fc175024b98560fb78202654c488afc41a58e65f878ef20d09