Группа :: Разработка/Python
Пакет: python-module-trustme
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define modulename trustme
%def_without python2
Name: python-module-%modulename
Version: 0.5.3
Release: alt1
Summary: #1 quality TLS certs while you wait, for the discerning tester
License: Apache2 or MIT
Group: Development/Python
URL: https://github.com/python-trio/trustme
Packager: Andrey Cherepanov <cas at altlinux.org>
BuildRequires: rpm-build-python
BuildRequires: python-devel
BuildRequires: python-module-distribute
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-setuptools
BuildArch: noarch
Source: %modulename-%version.tar
%description
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're real certs,
they're just signed by your CA, which nobody trusts. But you can trust
it. Trust me.
%package -n python3-module-%modulename
Summary: #1 quality TLS certs while you wait, for the discerning tester
Group: Development/Python3
%description -n python3-module-%modulename
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're real certs,
they're just signed by your CA, which nobody trusts. But you can trust
it. Trust me.
%prep
%setup -n %modulename-%version
rm -rf ../python3
cp -a . ../python3
%build
%if_with python2
%python_build
%endif
pushd ../python3
%python3_build
popd
%install
%if_with python2
%python_install
%endif
pushd ../python3
%python3_install
popd
%if_with python2
%files
%python_sitelibdir/%modulename/
%python_sitelibdir/*.egg-info
%endif
%files -n python3-module-%modulename
%python3_sitelibdir/%{modulename}*
%changelog
…
Полный changelog можно просмотреть здесь
%def_without python2
Name: python-module-%modulename
Version: 0.5.3
Release: alt1
Summary: #1 quality TLS certs while you wait, for the discerning tester
License: Apache2 or MIT
Group: Development/Python
URL: https://github.com/python-trio/trustme
Packager: Andrey Cherepanov <cas at altlinux.org>
BuildRequires: rpm-build-python
BuildRequires: python-devel
BuildRequires: python-module-distribute
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-setuptools
BuildArch: noarch
Source: %modulename-%version.tar
%description
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're real certs,
they're just signed by your CA, which nobody trusts. But you can trust
it. Trust me.
%package -n python3-module-%modulename
Summary: #1 quality TLS certs while you wait, for the discerning tester
Group: Development/Python3
%description -n python3-module-%modulename
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're real certs,
they're just signed by your CA, which nobody trusts. But you can trust
it. Trust me.
%prep
%setup -n %modulename-%version
rm -rf ../python3
cp -a . ../python3
%build
%if_with python2
%python_build
%endif
pushd ../python3
%python3_build
popd
%install
%if_with python2
%python_install
%endif
pushd ../python3
%python3_install
popd
%if_with python2
%files
%python_sitelibdir/%modulename/
%python_sitelibdir/*.egg-info
%endif
%files -n python3-module-%modulename
%python3_sitelibdir/%{modulename}*
%changelog
…
Полный changelog можно просмотреть здесь