Files
python-certbot/python-certbot.spec
Markéta Machová e7dfa7441c Accepting request 685973 from home:mcalabkova:branches:devel:languages:python:certbot
- update to version 0.32.0
  * If possible, Certbot uses built-in support for OCSP from recent 
    cryptography versions instead of the OpenSSL binary: as a 
    consequence Certbot does not need the OpenSSL binary to be 
    installed anymore if cryptography>=2.5 is installed.
  * Certbot and its acme module now depend on josepy>=1.1.0.
  * Apache plugin now respects CERTBOT_DOCS environment variable when 
    adding command line defaults.
  * The running of manual plugin hooks is now always included in 
    Certbot's log output.
  * Tests execution now relies on pytest.
  * An ACME CA server may return a "Retry-After" HTTP header on
    authorization polling, as specified in the ACME protocol, to
    indicate when the next polling should occur. Certbot now reads
    this header if set and respect its value.
  * The acme module avoids sending the keyAuthorization field in
    the JWS payload when responding to a challenge as the field is
    not included in the current ACME protocol. To ease the migration
    path for ACME CA servers, Certbot and its acme module will first
    try the request without the keyAuthorization field but will
    temporarily retry the request with the field included if a
    malformed error is received. This fallback will be removed in
    version 0.34.0.

OBS-URL: https://build.opensuse.org/request/show/685973
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:certbot/python-certbot?expand=0&rev=24
2019-03-18 09:29:38 +00:00

99 lines
3.1 KiB
RPMSpec

#
# spec file for package python-certbot
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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-%{**}}
Name: python-certbot
Version: 0.32.0
Release: 0
Summary: ACME client
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/certbot/certbot
Source: https://files.pythonhosted.org/packages/source/c/certbot/certbot-%{version}.tar.gz
BuildRequires: %{python_module acme >= 0.29.0}
BuildRequires: %{python_module configargparse >= 0.9.3}
BuildRequires: %{python_module configobj}
BuildRequires: %{python_module cryptography >= 1.2.3}
BuildRequires: %{python_module future}
BuildRequires: %{python_module josepy >= 1.1.0}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module parsedatetime >= 1.3}
BuildRequires: %{python_module pyRFC3339}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module zope.component}
BuildRequires: %{python_module zope.interface}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python2-typing
Requires: python-acme >= 0.29.0
Requires: python-configargparse >= 0.9.3
Requires: python-configobj
Requires: python-cryptography >= 1.2.3
Requires: python-future
Requires: python-josepy >= 1.1.0
Requires: python-mock
Requires: python-parsedatetime >= 1.3
Requires: python-pyRFC3339
Requires: python-pytz
Requires: python-setuptools
Requires: python-zope.component
Requires: python-zope.interface
Requires(post): update-alternatives
Requires(postun): update-alternatives
Provides: certbot = %{version}
Obsoletes: certbot < %{version}
BuildArch: noarch
%ifpython2
Requires: python-typing
%endif
%python_subpackages
%description
certbot is a free, automated certificate authority that aims
to lower the barriers to entry for encrypting all HTTP traffic on the internet.
%prep
%setup -q -n certbot-%{version}
%build
%python_build
%install
%python_install
%python_clone -a %{buildroot}%{_bindir}/certbot
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%post
%python_install_alternative certbot
%postun
%python_uninstall_alternative certbot
%files %{python_files}
%license LICENSE.txt
%doc README.rst
%{python_sitelib}/*
%python_alternative %{_bindir}/certbot
%changelog