Compare commits
21 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4a9f6eefa6 | ||
|
|
7641460f6e | ||
| e0590322eb | |||
| 50d4c6fcf0 | |||
|
|
d90a9f8410 | ||
| 637b71fd86 | |||
| 64908d5e48 | |||
| 4359800bf9 | |||
| b6855b0f74 | |||
| 21893c2b27 | |||
| b4066b5cb9 | |||
|
|
eed1187991 | ||
|
|
41bf542223 | ||
|
|
8bebdba37d | ||
|
|
d9ddb04d51 | ||
|
|
bed4b54ae4 | ||
| 11c09b3db1 | |||
| 29ae019a3e | |||
| 16885b3a0e | |||
| 717abf85b0 | |||
| 1546ea96bf |
4 changed files with 132 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/showcert-0.*.tar.gz
|
||||
12
showcert-remove-dependency-on-python-magic.patch
Normal file
12
showcert-remove-dependency-on-python-magic.patch
Normal file
|
|
@ -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" },
|
||||
118
showcert.spec
Normal file
118
showcert.spec
Normal file
|
|
@ -0,0 +1,118 @@
|
|||
Name: showcert
|
||||
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}
|
||||
|
||||
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
|
||||
nothing more).
|
||||
|
||||
showcert consist of two CLI utilities: showcert itself - all 'read' operations
|
||||
with X.509 certificates and gencert - to create certificates for development
|
||||
purposes.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n showcert-%{version}
|
||||
%py3_shebang_fix showcert/cli/*.py
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires
|
||||
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files -l showcert
|
||||
|
||||
|
||||
%check
|
||||
# upstream tests run against a couple of well-known sites, no tests
|
||||
# for code so just try to run some superficial smoke tests:
|
||||
%pyproject_check_import
|
||||
|
||||
export PATH=%{buildroot}%{_bindir}
|
||||
export PYTHONPATH=%{buildroot}%{python3_sitelib}
|
||||
showcert --help
|
||||
gencert --help
|
||||
|
||||
|
||||
%files -f %{pyproject_files}
|
||||
%doc README.md
|
||||
%{_bindir}/showcert
|
||||
%{_bindir}/gencert
|
||||
|
||||
%changelog
|
||||
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.14-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||
|
||||
* Thu Jun 04 2026 Python Maint <python-maint@redhat.com> - 0.4.14-2
|
||||
- Rebuilt for Python 3.15
|
||||
|
||||
* Thu Feb 19 2026 Felix Schwarz <fschwarz@fedoraproject.org> - 0.4.14-1
|
||||
- update to 0.4.14
|
||||
|
||||
* Sun Jan 25 2026 Felix Schwarz <fschwarz@fedoraproject.org> - 0.4.12-1
|
||||
- update to 0.4.12
|
||||
|
||||
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.11-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Sat Dec 06 2025 Felix Schwarz <fschwarz@fedoraproject.org> - 0.4.11-1
|
||||
- update to 0.4.11
|
||||
|
||||
* Thu Nov 20 2025 Felix Schwarz <fschwarz@fedoraproject.org> - 0.4.10-1
|
||||
- update to 0.4.10
|
||||
|
||||
* Sun Nov 16 2025 Felix Schwarz <fschwarz@fedoraproject.org> - 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 <fschwarz@fedoraproject.org> - 0.4.8-1
|
||||
- update to 0.4.8
|
||||
|
||||
* Fri Oct 10 2025 Felix Schwarz <fschwarz@fedoraproject.org> - 0.4.7-1
|
||||
- update to 0.4.7
|
||||
|
||||
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 0.2.12-6
|
||||
- Rebuilt for Python 3.14.0rc3 bytecode
|
||||
|
||||
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 0.2.12-5
|
||||
- Rebuilt for Python 3.14.0rc2 bytecode
|
||||
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.12-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 0.2.12-3
|
||||
- Rebuilt for Python 3.14
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.12-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Sat Dec 28 2024 Felix Schwarz <fschwarz@fedoraproject.org> - 0.2.12-1
|
||||
- update to 0.2.12
|
||||
|
||||
* Fri Dec 20 2024 Felix Schwarz <fschwarz@fedoraproject.org> - 0.2.11-1
|
||||
- update to 0.2.11
|
||||
|
||||
* Sun Nov 24 2024 Felix Schwarz <fschwarz@fedoraproject.org> - 0.2.9-1
|
||||
- update to 0.2.9
|
||||
|
||||
* Thu Aug 08 2024 Felix Schwarz <fschwarz@fedoraproject.org> - 0.2.3-1
|
||||
- initial package
|
||||
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
SHA512 (showcert-0.4.14.tar.gz) = 47fd2b016643de31077d424aef3f17a1ee074e44d18ea85cf94353482080d908ff9323564de3b4fc175024b98560fb78202654c488afc41a58e65f878ef20d09
|
||||
Loading…
Add table
Add a link
Reference in a new issue