|
Nick Bebout |
5415abd |
%global pypi_name certbot-dns-dnsmadeeasy
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%if 0%{?rhel} && 0%{?rhel} <= 7
|
|
Nick Bebout |
5415abd |
%bcond_with python3
|
|
Nick Bebout |
5415abd |
%else
|
|
Nick Bebout |
5415abd |
%bcond_without python3
|
|
Nick Bebout |
5415abd |
%endif
|
|
Nick Bebout |
5415abd |
|
|
|
120cbab |
%if 0%{?fedora} && 0%{?fedora} >= 30
|
|
|
120cbab |
%bcond_with python2
|
|
|
120cbab |
%else
|
|
|
120cbab |
%bcond_without python2
|
|
|
120cbab |
%endif
|
|
|
120cbab |
|
|
Nick Bebout |
5415abd |
Name: python-%{pypi_name}
|
|
|
fb4b39f |
Version: 0.30.2
|
|
|
2aad9f7 |
Release: 1%{?dist}
|
|
Nick Bebout |
5415abd |
Summary: DNS Made Easy DNS Authenticator plugin for Certbot
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
License: ASL 2.0
|
|
Nick Bebout |
5415abd |
URL: https://github.com/certbot/certbot
|
|
Nick Bebout |
5415abd |
Source0: https://files.pythonhosted.org/packages/source/c/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
Nick Bebout |
5415abd |
BuildArch: noarch
|
|
Nick Bebout |
386b4f4 |
|
|
|
120cbab |
%if %{with python2}
|
|
|
ebab5de |
BuildRequires: python2-certbot >= 0.21.1
|
|
Nick Bebout |
5415abd |
BuildRequires: python2-devel
|
|
|
9afd9be |
BuildRequires: python2-dns-lexicon >= 2.2.1
|
|
Nick Bebout |
5415abd |
BuildRequires: python2-setuptools
|
|
Nick Bebout |
9241b44 |
BuildRequires: python2-zope-interface
|
|
|
120cbab |
%endif
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%if %{with python3}
|
|
|
120cbab |
BuildRequires: python3-sphinx
|
|
|
ebab5de |
BuildRequires: python3-certbot >= 0.21.1
|
|
Nick Bebout |
5415abd |
BuildRequires: python3-devel
|
|
|
9afd9be |
BuildRequires: python3-dns-lexicon >= 2.2.1
|
|
Nick Bebout |
5415abd |
BuildRequires: python3-setuptools
|
|
Nick Bebout |
5415abd |
BuildRequires: python3-zope-interface
|
|
Nick Bebout |
5415abd |
%endif
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%description
|
|
Nick Bebout |
5415abd |
DNS Made Easy DNS Authenticator plugin for Certbot
|
|
Nick Bebout |
5415abd |
|
|
|
120cbab |
%if %{with python2}
|
|
Nick Bebout |
5415abd |
%package -n python2-%{pypi_name}
|
|
Nick Bebout |
5415abd |
Summary: %{summary}
|
|
Nick Bebout |
5415abd |
%{?python_provide:%python_provide python2-%{pypi_name}}
|
|
|
ebab5de |
|
|
|
ebab5de |
Requires: python2-acme >= 0.21.1
|
|
|
ebab5de |
Requires: python2-certbot >= 0.21.1
|
|
|
9afd9be |
Requires: python2-dns-lexicon >= 2.2.1
|
|
Nick Bebout |
5415abd |
Requires: python2-mock
|
|
Nick Bebout |
5415abd |
Requires: python2-setuptools
|
|
Nick Bebout |
9241b44 |
Requires: python2-zope-interface
|
|
Nick Bebout |
5415abd |
|
|
|
d0b78a9 |
# Provide the name users expect as a certbot plugin
|
|
|
d0b78a9 |
%if 0%{?rhel} && 0%{?rhel} <= 7
|
|
|
d0b78a9 |
Provides: %{pypi_name} = %{version}-%{release}
|
|
|
d0b78a9 |
%endif
|
|
|
d0b78a9 |
|
|
Nick Bebout |
5415abd |
%description -n python2-%{pypi_name}
|
|
Nick Bebout |
5415abd |
DNS Made Easy DNS Authenticator plugin for Certbot
|
|
|
120cbab |
%endif
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%if %{with python3}
|
|
Nick Bebout |
5415abd |
%package -n python3-%{pypi_name}
|
|
Nick Bebout |
5415abd |
Summary: %{summary}
|
|
Nick Bebout |
5415abd |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
ebab5de |
|
|
|
ebab5de |
Requires: python3-acme >= 0.21.1
|
|
|
ebab5de |
Requires: python3-certbot >= 0.21.1
|
|
|
9afd9be |
Requires: python3-dns-lexicon >= 2.2.1
|
|
Nick Bebout |
5415abd |
Requires: python3-mock
|
|
Nick Bebout |
5415abd |
Requires: python3-setuptools
|
|
Nick Bebout |
9241b44 |
Requires: python3-zope-interface
|
|
Nick Bebout |
5415abd |
|
|
|
d0b78a9 |
# Provide the name users expect as a certbot plugin
|
|
|
d0b78a9 |
%if 0%{?fedora}
|
|
|
d0b78a9 |
Provides: %{pypi_name} = %{version}-%{release}
|
|
|
d0b78a9 |
%endif
|
|
|
d0b78a9 |
|
|
Nick Bebout |
5415abd |
%description -n python3-%{pypi_name}
|
|
Nick Bebout |
5415abd |
DNS Made Easy DNS Authenticator plugin for Certbot
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%package -n python-%{pypi_name}-doc
|
|
Nick Bebout |
5415abd |
Summary: certbot-dns-dnsmadeeasy documentation
|
|
Nick Bebout |
5415abd |
%description -n python-%{pypi_name}-doc
|
|
Nick Bebout |
5415abd |
Documentation for certbot-dns-dnsmadeeasy
|
|
Nick Bebout |
ddd8f5d |
%endif
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%prep
|
|
Nick Bebout |
5415abd |
%autosetup -n %{pypi_name}-%{version}
|
|
Nick Bebout |
5415abd |
# Remove bundled egg-info
|
|
Nick Bebout |
5415abd |
rm -rf %{pypi_name}.egg-info
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%build
|
|
|
120cbab |
%if %{with python2}
|
|
Nick Bebout |
5415abd |
%py2_build
|
|
|
120cbab |
%endif
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%if %{with python3}
|
|
Nick Bebout |
5415abd |
%py3_build
|
|
|
120cbab |
# generate html docs
|
|
|
120cbab |
sphinx-build-3 docs html
|
|
Nick Bebout |
5415abd |
# remove the sphinx-build leftovers
|
|
Nick Bebout |
5415abd |
rm -rf html/.{doctrees,buildinfo}
|
|
Nick Bebout |
ddd8f5d |
%endif
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%install
|
|
|
120cbab |
%if %{with python2}
|
|
|
120cbab |
%py2_install
|
|
|
120cbab |
%endif
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%if %{with python3}
|
|
Nick Bebout |
5415abd |
%py3_install
|
|
Nick Bebout |
5415abd |
%endif
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%check
|
|
|
120cbab |
%if %{with python2}
|
|
Nick Bebout |
ddd8f5d |
%{__python2} setup.py test
|
|
|
120cbab |
%endif
|
|
Nick Bebout |
386b4f4 |
|
|
Nick Bebout |
386b4f4 |
%if %{with python3}
|
|
Nick Bebout |
5415abd |
%{__python3} setup.py test
|
|
Nick Bebout |
5415abd |
%endif
|
|
Nick Bebout |
5415abd |
|
|
|
120cbab |
%if %{with python2}
|
|
Nick Bebout |
5415abd |
%files -n python2-%{pypi_name}
|
|
Nick Bebout |
5415abd |
%license LICENSE.txt
|
|
Nick Bebout |
5415abd |
%doc README.rst
|
|
Nick Bebout |
5415abd |
%{python2_sitelib}/certbot_dns_dnsmadeeasy
|
|
Nick Bebout |
5415abd |
%{python2_sitelib}/certbot_dns_dnsmadeeasy-%{version}-py?.?.egg-info
|
|
|
120cbab |
%endif
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%if %{with python3}
|
|
Nick Bebout |
5415abd |
%files -n python3-%{pypi_name}
|
|
Nick Bebout |
5415abd |
%license LICENSE.txt
|
|
Nick Bebout |
5415abd |
%doc README.rst
|
|
Nick Bebout |
5415abd |
%{python3_sitelib}/certbot_dns_dnsmadeeasy
|
|
Nick Bebout |
5415abd |
%{python3_sitelib}/certbot_dns_dnsmadeeasy-%{version}-py?.?.egg-info
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%files -n python-%{pypi_name}-doc
|
|
|
120cbab |
%doc html
|
|
Nick Bebout |
ddd8f5d |
%endif
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%changelog
|
|
|
fb4b39f |
* Mon Jan 28 2019 Eli Young <elyscape@gmail.com> - 0.30.2-1
|
|
|
fb4b39f |
- Update to 0.30.2 (#1669319)
|
|
|
fb4b39f |
|
|
|
de80dc3 |
* Tue Dec 11 2018 Eli Young <elyscape@gmail.com> - 0.29.1-1
|
|
|
de80dc3 |
- Update to 0.29.1
|
|
|
120cbab |
- Remove Python 2 package in Fedora 30+ (#1654016)
|
|
|
de80dc3 |
|
|
|
389728f |
* Wed Nov 14 2018 Eli Young <elyscape@gmail.com> - 0.28.0-1
|
|
|
389728f |
- Update to 0.28.0
|
|
|
389728f |
|
|
|
315cfd9 |
* Mon Sep 10 2018 Eli Young <elyscape@gmail.com> - 0.27.1-1
|
|
|
315cfd9 |
- Update to 0.27.1 (#1627575)
|
|
|
315cfd9 |
|
|
|
2aad9f7 |
* Tue Jul 17 2018 Eli Young <elyscape@gmail.com> - 0.26.1-1
|
|
|
2aad9f7 |
- Update to 0.26.1 (#1600298)
|
|
|
2aad9f7 |
|
|
|
823cd3a |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.25.1-3
|
|
|
823cd3a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
823cd3a |
|
|
|
bf88637 |
* Tue Jun 19 2018 Miro HronĨok <mhroncok@redhat.com> - 0.25.1-2
|
|
|
bf88637 |
- Rebuilt for Python 3.7
|
|
|
bf88637 |
|
|
|
e46606f |
* Wed Jun 13 2018 Eli Young <elyscape@gmail.com> - 0.25.1-1
|
|
|
e46606f |
- Update to 0.25.1 (#1591037)
|
|
|
e46606f |
|
|
|
274de58 |
* Thu Jun 07 2018 Eli Young <elyscape@gmail.com> - 0.25.0-1
|
|
|
274de58 |
- Update to 0.25.0 (#1588225)
|
|
|
274de58 |
|
|
|
1322a5f |
* Wed May 02 2018 Eli Young <elyscape@gmail.com> - 0.24.0-1
|
|
|
1322a5f |
- Update to 0.24.0 (#1574144)
|
|
|
1322a5f |
|
|
|
9afd9be |
* Thu Apr 05 2018 Eli Young <elyscape@gmail.com> - 0.23.0-1
|
|
|
9afd9be |
- Update to 0.23.0 (#1563905)
|
|
|
9afd9be |
|
|
|
e9792c1 |
* Tue Mar 20 2018 Eli Young <elyscape@gmail.com> - 0.22.2-1
|
|
|
e9792c1 |
- Update to 0.22.2
|
|
|
e9792c1 |
|
|
|
ebab5de |
* Sat Mar 10 2018 Eli Young <elyscape@gmail.com> - 0.22.0-1
|
|
|
ebab5de |
- Update to 0.22.0
|
|
|
ebab5de |
|
|
Nick Bebout |
9241b44 |
* Mon Feb 26 2018 Nick Bebout <nb@usi.edu> - 0.21.1-3
|
|
Nick Bebout |
9241b44 |
- Actually fix the setuptools dep
|
|
Nick Bebout |
9241b44 |
|
|
Nick Bebout |
9241b44 |
* Mon Feb 26 2018 Nick Bebout <nb@usi.edu> - 0.21.1-2
|
|
Nick Bebout |
9fca552 |
- Add patch to remove no longer needed versioned dep in epel7
|
|
Nick Bebout |
9fca552 |
|
|
Nick Bebout |
9241b44 |
* Mon Feb 19 2018 Nick Bebout <nb@usi.edu> - 0.21.1-1
|
|
Nick Bebout |
5415abd |
- Initial package.
|