- Update to version 1.26.0
* Added show_account subcommand, which will fetch the account information from
the ACME server and show the account details (account URL and, if applicable,
email address or addresses)
* The acme library now requires requests>=2.20.0.
* Certbot and its acme library now require pytz>=2019.3.
* Certbot and its acme module now depend on josepy>=1.13.0 due to better type annotation support.
* Previously, when Certbot was in the process of registering a new ACME account
and the ACME server did not present any Terms of Service, the user was asked
to agree with a non-existent Terms of Service ("None"). This bug is now fixed,
so that if an ACME server does not provide any Terms of Service to agree with,
the user is not asked to agree to a non-existent Terms of Service any longer.
* If account registration fails, Certbot did not relay the error from the ACME
server back to the user. This is now fixed: the error message from the ACME
server is now presented to the user when account registration fails.
OBS-URL: https://build.opensuse.org/request/show/967673
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:certbot/python-acme?expand=0&rev=80
80 lines
2.6 KiB
RPMSpec
80 lines
2.6 KiB
RPMSpec
#
|
|
# spec file
|
|
#
|
|
# Copyright (c) 2022 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
%define skip_python2 1
|
|
%define libname acme
|
|
Name: python-%{libname}
|
|
Version: 1.26.0
|
|
Release: 0
|
|
Summary: Python library for the ACME protocol
|
|
License: Apache-2.0
|
|
URL: https://github.com/certbot/certbot
|
|
Source0: https://files.pythonhosted.org/packages/source/a/%{libname}/%{libname}-%{version}.tar.gz
|
|
Source1: https://files.pythonhosted.org/packages/source/a/%{libname}/%{libname}-%{version}.tar.gz.asc
|
|
Source2: %{name}.keyring
|
|
BuildRequires: %{python_module cryptography >= 2.5.0}
|
|
BuildRequires: %{python_module josepy >= 1.9.0}
|
|
BuildRequires: %{python_module pyOpenSSL >= 17.3.0}
|
|
BuildRequires: %{python_module pyRFC3339}
|
|
BuildRequires: %{python_module pytest}
|
|
BuildRequires: %{python_module pytz >= 2019.3}
|
|
BuildRequires: %{python_module requests >= 2.20.0}
|
|
BuildRequires: %{python_module requests-toolbelt >= 0.3.0}
|
|
BuildRequires: %{python_module setuptools}
|
|
BuildRequires: fdupes
|
|
BuildRequires: python-rpm-macros
|
|
Requires: python-cryptography >= 2.5.0
|
|
Requires: python-josepy >= 1.9.0
|
|
Requires: python-pyOpenSSL >= 17.3.0
|
|
Requires: python-pyRFC3339
|
|
Requires: python-pytz >= 2019.3
|
|
Requires: python-requests >= 2.20.0
|
|
Requires: python-requests-toolbelt >= 0.3.0
|
|
BuildArch: noarch
|
|
%if %{?suse_version} < 1500
|
|
BuildRequires: %{python_module devel}
|
|
%endif
|
|
%python_subpackages
|
|
|
|
%description
|
|
Python library implementing the Automatic Certificate Management Environment
|
|
(ACME) protocol. It is used by the certbot project. Formerly Let's Encrypt project.
|
|
|
|
%prep
|
|
%setup -q -n %{libname}-%{version}
|
|
|
|
%build
|
|
%python_build
|
|
|
|
%install
|
|
%python_install
|
|
# remove duplicates
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}/%{libname}
|
|
|
|
%check
|
|
%pytest tests/
|
|
|
|
%files %{python_files}
|
|
%license LICENSE.txt
|
|
%{python_sitelib}/%{libname}
|
|
%{python_sitelib}/%{libname}-%{version}*.egg-info
|
|
%pycache_only %{python_sitelib}/%{libname}/__pycache__
|
|
|
|
%changelog
|