|
|
|
@ -1,27 +1,27 @@
|
|
|
|
|
# what it's called on pypi
|
|
|
|
|
%global srcname trustme
|
|
|
|
|
# what it's imported as
|
|
|
|
|
%global libname trustme
|
|
|
|
|
%global libname %{srcname}
|
|
|
|
|
# name of egg info directory
|
|
|
|
|
%global eggname trustme
|
|
|
|
|
%global eggname %{srcname}
|
|
|
|
|
# package name fragment
|
|
|
|
|
%global pkgname trustme
|
|
|
|
|
%global pkgname %{srcname}
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
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\
|
|
|
|
|
suite probably doesn't have a valid TLS certificate. Now what? trustme is a\
|
|
|
|
|
tiny Python package that does one thing: it gives you a fake certificate\
|
|
|
|
|
authority (CA) that you can use to generate fake TLS certs to use in your\
|
|
|
|
|
tests. Well, technically they are real certs, they are just signed by your CA,\
|
|
|
|
|
which nobody trusts. But you can trust it. Trust me.
|
|
|
|
|
%global common_description %{expand:
|
|
|
|
|
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
|
|
|
|
|
suite probably doesn't have a valid TLS certificate. Now what? trustme is a
|
|
|
|
|
tiny Python package that does one thing: it gives you a fake certificate
|
|
|
|
|
authority (CA) that you can use to generate fake TLS certs to use in your
|
|
|
|
|
tests. Well, technically they are real certs, they are just signed by your CA,
|
|
|
|
|
which nobody trusts. But you can trust it. Trust me.}
|
|
|
|
|
|
|
|
|
|
%bcond_without tests
|
|
|
|
|
%bcond_without tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-%{pkgname}
|
|
|
|
|
Version: 0.4.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 0.5.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: #1 quality TLS certs while you wait, for the discerning tester
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
|
URL: https://github.com/python-trio/trustme
|
|
|
|
@ -29,7 +29,7 @@ Source0: %pypi_source
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
%description %{common_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python%{python3_pkgversion}-%{pkgname}
|
|
|
|
@ -48,7 +48,7 @@ Requires: python%{python3_pkgversion}-idna
|
|
|
|
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pkgname}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n python%{python3_pkgversion}-%{pkgname} %{_description}
|
|
|
|
|
%description -n python%{python3_pkgversion}-%{pkgname} %{common_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
@ -78,6 +78,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} --verbose
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Feb 22 2019 Carl George <carl@george.computer> - 0.5.0-1
|
|
|
|
|
- Latest upstream
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|