Compare commits

..

No commits in common. 'i9ce' and 'epel8' have entirely different histories.
i9ce ... epel8

2
.gitignore vendored

@ -1 +1 @@
SOURCES/trustme-0.9.0.tar.gz trustme-*.tar.gz

@ -1 +0,0 @@
f8aafe9fdf7e501161c86255316faa5d38342369 SOURCES/trustme-0.9.0.tar.gz

@ -1,4 +1,12 @@
# what it's called on pypi
%global srcname trustme %global srcname trustme
# what it's imported as
%global libname %{srcname}
# name of egg info directory
%global eggname %{srcname}
# package name fragment
%global pkgname %{srcname}
%global common_description %{expand: %global common_description %{expand:
You wrote a cool network client or server. It encrypts connections using TLS. You wrote a cool network client or server. It encrypts connections using TLS.
Your test suite needs to make TLS connections to itself. Uh oh. Your test Your test suite needs to make TLS connections to itself. Uh oh. Your test
@ -10,14 +18,10 @@ which nobody trusts. But you can trust it. Trust me.}
%bcond_without tests %bcond_without tests
%if %{defined fedora}
%bcond_without docs
%endif
Name: python-%{srcname} Name: python-%{pkgname}
Version: 0.9.0 Version: 0.6.0
Release: 1%{?dist} Release: 4%{?dist}
Summary: #1 quality TLS certs while you wait, for the discerning tester Summary: #1 quality TLS certs while you wait, for the discerning tester
License: MIT or ASL 2.0 License: MIT or ASL 2.0
URL: https://github.com/python-trio/trustme URL: https://github.com/python-trio/trustme
@ -28,47 +32,30 @@ BuildArch: noarch
%description %{common_description} %description %{common_description}
%package -n python3-%{srcname} %package -n python3-%{pkgname}
Summary: %{summary} Summary: %{summary}
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: %{py3_dist setuptools}
%if %{with tests} %if %{with tests}
BuildRequires: %{py3_dist pytest pyopenssl service-identity} BuildRequires: %{py3_dist pytest pyopenssl service-identity cryptography idna}
%endif %endif
%{?python_provide:%python_provide python3-%{pkgname}}
%description -n python3-%{srcname} %{common_description} %description -n python3-%{pkgname} %{common_description}
%if %{with docs}
%package -n python-%{srcname}-doc
Summary: Documentation for %{name}
BuildRequires: %{py3_dist sphinx sphinxcontrib-trio}
%description -n python-%{srcname}-doc
Documentation for %{name}.
%endif
%prep %prep
%autosetup -n %{srcname}-%{version} %autosetup -n %{srcname}-%{version}
rm -rf %{eggname}.egg-info
%generate_buildrequires
%pyproject_buildrequires -r
%build %build
%pyproject_wheel %py3_build
%if %{with docs}
sphinx-build-3 docs/source html
%endif
%install %install
%pyproject_install %py3_install
%pyproject_save_files %{srcname}
%if %{with tests} %if %{with tests}
@ -81,47 +68,18 @@ sphinx-build-3 docs/source html
%else %else
%pytest --verbose %pytest --verbose
%endif %endif
%endif
%files -n python3-%{srcname} -f %{pyproject_files} %endif
%doc README.rst
%if %{with docs} %files -n python3-%{pkgname}
%files -n python-%{srcname}-doc
%license LICENSE LICENSE.MIT LICENSE.APACHE2 %license LICENSE LICENSE.MIT LICENSE.APACHE2
%doc html %doc README.rst
%endif %{python3_sitelib}/%{libname}
%{python3_sitelib}/%{eggname}-%{version}-py%{python3_version}.egg-info
%changelog %changelog
* Fri Apr 28 2023 Sergey Cherevko <s.cherevko@msvsphere.ru> - 0.9.0-1
- Rebuilt for MSVSphere 9.1
* Thu Jan 27 2022 Carl George <carl@george.computer> - 0.9.0-1
- Latest upstream
- Resolves: rhbz#1993357
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sat Jul 24 2021 Carl George <carl@george.computer> - 0.8.0-1
- Latest upstream
- Resolves: rhbz#1969634
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.7.0-2
- Rebuilt for Python 3.10
* Fri Mar 19 2021 Charalampos Stratakis <cstratak@redhat.com> - 0.7.0-1
- Update to 0.7.0 (rhbz#1927133)
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sat Nov 14 2020 Carl George <carl@george.computer> - 0.6.0-5
- Add doc subpackage
* Wed Oct 07 2020 Carl George <carl@george.computer> - 0.6.0-4 * Wed Oct 07 2020 Carl George <carl@george.computer> - 0.6.0-4
- Remove explicit run time requires in favor of automatically generated ones - Remove explicit run time requires in favor of automatically generated ones

@ -0,0 +1 @@
SHA512 (trustme-0.6.0.tar.gz) = 9fda58320f2055d2c23369d2df213994cafd9af7b7eb3933162bbe09a81abd7a9cd2b2e7cae43b25d40d20311213d8a1c13155b61498b848a2850d22fa1e1418
Loading…
Cancel
Save