From 657ddbde505897694f17f0510c71d2df7b9fab94 Mon Sep 17 00:00:00 2001 From: Nick Bebout Date: Mon, 19 Feb 2018 12:30:57 -0600 Subject: [PATCH 001/111] Initial build --- .gitignore | 1 + python-dns-lexicon.spec | 103 ++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 105 insertions(+) create mode 100644 .gitignore create mode 100644 python-dns-lexicon.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..94d24a1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/dns-lexicon-2.1.19.tar.gz diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec new file mode 100644 index 0000000..5e0f96d --- /dev/null +++ b/python-dns-lexicon.spec @@ -0,0 +1,103 @@ +# Created by pyp2rpm-3.2.2 +%global pypi_name dns-lexicon + +Name: python-%{pypi_name} +Version: 2.1.19 +Release: 1%{?dist} +Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way + +License: MIT +URL: https://github.com/AnalogJ/lexicon +Source0: https://files.pythonhosted.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python2-devel +BuildRequires: python2-setuptools +BuildRequires: python2-future +BuildRequires: python2-tldextract + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-future +BuildRequires: python3-tldextract + +%description +Manipulate DNS records on various DNS providers in +a standardized/agnostic way. Introduction Lexicon provides a way to manipulate +DNS records on multiple DNS providers in a standardized way. Lexicon has a CLI +but it can also be used as a python library.Lexicon was designed to be used +in... + +%package -n python2-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python2-%{pypi_name}} + +Requires: python2-requests +Requires: python2-tldextract +Requires: python2-future +Requires: python2-setuptools + +%description -n python2-%{pypi_name} +Manipulate DNS records on various DNS providers in +a standardized/agnostic way. Introduction Lexicon provides a way to manipulate +DNS records on multiple DNS providers in a standardized way. Lexicon has a CLI +but it can also be used as a python library.Lexicon was designed to be used +in... + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +Requires: python3-requests +Requires: python3-tldextract +Requires: python3-future +Requires: python3-setuptools + +%description -n python3-%{pypi_name} +Manipulate DNS records on various DNS providers in +a standardized/agnostic way. Introduction Lexicon provides a way to manipulate +DNS records on multiple DNS providers in a standardized way. Lexicon has a CLI +but it can also be used as a python library.Lexicon was designed to be used +in... + + +%prep +%autosetup -n %{pypi_name}-%{version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%build +%py2_build +%py3_build + +%install +# Must do the subpackages' install first because the scripts in /usr/bin are +# overwritten with every setup.py install. +%py3_install +cp %{buildroot}/%{_bindir}/lexicon %{buildroot}/%{_bindir}/lexicon-%{python3_version} +ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 + +%py2_install +cp %{buildroot}/%{_bindir}/lexicon %{buildroot}/%{_bindir}/lexicon-%{python2_version} +ln -s %{_bindir}/lexicon-%{python2_version} %{buildroot}/%{_bindir}/lexicon-2 + +%files -n python2-%{pypi_name} +%license LICENSE +%doc README.md +%{_bindir}/lexicon +%{_bindir}/lexicon-2 +%{_bindir}/lexicon-%{python2_version} +%{python2_sitelib}/lexicon +%{python2_sitelib}/dns_lexicon-%{version}-py?.?.egg-info + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.md +%{_bindir}/lexicon-3 +%{_bindir}/lexicon-%{python3_version} +%{python3_sitelib}/lexicon +%{python3_sitelib}/dns_lexicon-%{version}-py?.?.egg-info + +%changelog +* Mon Feb 19 2018 Nick Bebout - 2.1.19-1 +- Initial package. diff --git a/sources b/sources new file mode 100644 index 0000000..815810e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (dns-lexicon-2.1.19.tar.gz) = 8b32f0aa52a28f6d6882e2fcccae24196da1a5ddedc4dcc5b04bd4672940bdd8f19fb0e26a0600ec6795f5e8ab2b8f1dd648246404695e0ffe235dc35beb30ad From 4109e79775770a74f0357528d1affb31d0f859fd Mon Sep 17 00:00:00 2001 From: Nick Bebout Date: Mon, 19 Feb 2018 12:58:05 -0600 Subject: [PATCH 002/111] Add epel compatibility --- python-dns-lexicon.spec | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 5e0f96d..2e05546 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,12 @@ # Created by pyp2rpm-3.2.2 %global pypi_name dns-lexicon +%if 0%{?rhel} && 0%{?rhel} <= 7 +%bcond_with python3 +%else +%bcond_without python3 +%endif + Name: python-%{pypi_name} Version: 2.1.19 Release: 1%{?dist} @@ -15,11 +21,13 @@ BuildRequires: python2-devel BuildRequires: python2-setuptools BuildRequires: python2-future BuildRequires: python2-tldextract - + +%if %{with python3} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-future BuildRequires: python3-tldextract +%endif %description Manipulate DNS records on various DNS providers in @@ -44,6 +52,7 @@ DNS records on multiple DNS providers in a standardized way. Lexicon has a CLI but it can also be used as a python library.Lexicon was designed to be used in... +%if %{with python3} %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} @@ -59,7 +68,7 @@ a standardized/agnostic way. Introduction Lexicon provides a way to manipulate DNS records on multiple DNS providers in a standardized way. Lexicon has a CLI but it can also be used as a python library.Lexicon was designed to be used in... - +%endif %prep %autosetup -n %{pypi_name}-%{version} @@ -68,14 +77,20 @@ rm -rf %{pypi_name}.egg-info %build %py2_build + +%if %{with python3} %py3_build +%endif %install # Must do the subpackages' install first because the scripts in /usr/bin are # overwritten with every setup.py install. + +%if %{with python3} %py3_install cp %{buildroot}/%{_bindir}/lexicon %{buildroot}/%{_bindir}/lexicon-%{python3_version} ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 +%endif %py2_install cp %{buildroot}/%{_bindir}/lexicon %{buildroot}/%{_bindir}/lexicon-%{python2_version} @@ -90,6 +105,7 @@ ln -s %{_bindir}/lexicon-%{python2_version} %{buildroot}/%{_bindir}/lexicon-2 %{python2_sitelib}/lexicon %{python2_sitelib}/dns_lexicon-%{version}-py?.?.egg-info +%if %{with python3} %files -n python3-%{pypi_name} %license LICENSE %doc README.md @@ -97,6 +113,7 @@ ln -s %{_bindir}/lexicon-%{python2_version} %{buildroot}/%{_bindir}/lexicon-2 %{_bindir}/lexicon-%{python3_version} %{python3_sitelib}/lexicon %{python3_sitelib}/dns_lexicon-%{version}-py?.?.egg-info +%endif %changelog * Mon Feb 19 2018 Nick Bebout - 2.1.19-1 From 97227dd4f8d2a1dab2fa5d71c69d52f556bd2aab Mon Sep 17 00:00:00 2001 From: Eli Young Date: Mon, 26 Mar 2018 16:22:03 -0700 Subject: [PATCH 003/111] Update to 2.2.1 --- .gitignore | 1 + python-dns-lexicon.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 94d24a1..54bd551 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /dns-lexicon-2.1.19.tar.gz +/dns-lexicon-2.2.1.tar.gz diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 2e05546..9f9f742 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -8,7 +8,7 @@ %endif Name: python-%{pypi_name} -Version: 2.1.19 +Version: 2.2.1 Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way @@ -116,5 +116,8 @@ ln -s %{_bindir}/lexicon-%{python2_version} %{buildroot}/%{_bindir}/lexicon-2 %endif %changelog +* Sat Mar 24 2018 Eli Young - 2.2.1-1 +- Update to 2.2.1 + * Mon Feb 19 2018 Nick Bebout - 2.1.19-1 - Initial package. diff --git a/sources b/sources index 815810e..f68322f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dns-lexicon-2.1.19.tar.gz) = 8b32f0aa52a28f6d6882e2fcccae24196da1a5ddedc4dcc5b04bd4672940bdd8f19fb0e26a0600ec6795f5e8ab2b8f1dd648246404695e0ffe235dc35beb30ad +SHA512 (dns-lexicon-2.2.1.tar.gz) = 5c9c365476efc717739a4176a640221396cebb0dfe9558f4c4855bb0584bb39120587f1d184b6625e4b429ba151420140739b8572b4e278d9c75ab98bf03e003 From 25f330b6125523309abc90d31554747c2f79c236 Mon Sep 17 00:00:00 2001 From: Eli Young Date: Mon, 26 Mar 2018 16:24:28 -0700 Subject: [PATCH 004/111] Use Python 3 by default when available --- python-dns-lexicon.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 9f9f742..4693d89 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -77,7 +77,6 @@ rm -rf %{pypi_name}.egg-info %build %py2_build - %if %{with python3} %py3_build %endif @@ -86,20 +85,22 @@ rm -rf %{pypi_name}.egg-info # Must do the subpackages' install first because the scripts in /usr/bin are # overwritten with every setup.py install. +%py2_install +cp %{buildroot}/%{_bindir}/lexicon %{buildroot}/%{_bindir}/lexicon-%{python2_version} +ln -s %{_bindir}/lexicon-%{python2_version} %{buildroot}/%{_bindir}/lexicon-2 + %if %{with python3} %py3_install cp %{buildroot}/%{_bindir}/lexicon %{buildroot}/%{_bindir}/lexicon-%{python3_version} ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif -%py2_install -cp %{buildroot}/%{_bindir}/lexicon %{buildroot}/%{_bindir}/lexicon-%{python2_version} -ln -s %{_bindir}/lexicon-%{python2_version} %{buildroot}/%{_bindir}/lexicon-2 - %files -n python2-%{pypi_name} %license LICENSE %doc README.md +%if ! %{with python3} %{_bindir}/lexicon +%endif %{_bindir}/lexicon-2 %{_bindir}/lexicon-%{python2_version} %{python2_sitelib}/lexicon @@ -109,6 +110,7 @@ ln -s %{_bindir}/lexicon-%{python2_version} %{buildroot}/%{_bindir}/lexicon-2 %files -n python3-%{pypi_name} %license LICENSE %doc README.md +%{_bindir}/lexicon %{_bindir}/lexicon-3 %{_bindir}/lexicon-%{python3_version} %{python3_sitelib}/lexicon @@ -118,6 +120,7 @@ ln -s %{_bindir}/lexicon-%{python2_version} %{buildroot}/%{_bindir}/lexicon-2 %changelog * Sat Mar 24 2018 Eli Young - 2.2.1-1 - Update to 2.2.1 +- Use Python 3 by default when available * Mon Feb 19 2018 Nick Bebout - 2.1.19-1 - Initial package. From 816cfbd797d99192698ecc5355b13e17e427f2cc Mon Sep 17 00:00:00 2001 From: Eli Young Date: Thu, 3 May 2018 13:11:11 -0700 Subject: [PATCH 005/111] Update to 2.2.2 (#1574265) --- .gitignore | 1 + python-dns-lexicon.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 54bd551..b05b3ba 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /dns-lexicon-2.1.19.tar.gz /dns-lexicon-2.2.1.tar.gz +/dns-lexicon-2.2.2.tar.gz diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 4693d89..e9315ac 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -8,7 +8,7 @@ %endif Name: python-%{pypi_name} -Version: 2.2.1 +Version: 2.2.2 Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way @@ -118,6 +118,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Thu May 03 2018 Eli Young - 2.2.2-1 +- Update to 2.2.2 (#1574265) + * Sat Mar 24 2018 Eli Young - 2.2.1-1 - Update to 2.2.1 - Use Python 3 by default when available diff --git a/sources b/sources index f68322f..6c17552 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dns-lexicon-2.2.1.tar.gz) = 5c9c365476efc717739a4176a640221396cebb0dfe9558f4c4855bb0584bb39120587f1d184b6625e4b429ba151420140739b8572b4e278d9c75ab98bf03e003 +SHA512 (dns-lexicon-2.2.2.tar.gz) = 923f65c287cb762fce76d0e644fa83412026d9e6e60ebc5037c48ec7f7188c9a01393960dca94b6e02e6211f9eb23c553f2ea94cfce9877145ee6789252a5253 From 59999db6a708864c376d250dda7cfb5bbe3d57a7 Mon Sep 17 00:00:00 2001 From: Eli Young Date: Mon, 7 May 2018 12:23:46 -0700 Subject: [PATCH 006/111] Update to 2.2.3 (#1575598) --- .gitignore | 1 + python-dns-lexicon.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index b05b3ba..7c7013d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /dns-lexicon-2.1.19.tar.gz /dns-lexicon-2.2.1.tar.gz /dns-lexicon-2.2.2.tar.gz +/dns-lexicon-2.2.3.tar.gz diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index e9315ac..c4808ce 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -8,7 +8,7 @@ %endif Name: python-%{pypi_name} -Version: 2.2.2 +Version: 2.2.3 Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way @@ -118,6 +118,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Mon May 07 2018 Eli Young - 2.2.3-1 +- Update to 2.2.3 (#1575598) + * Thu May 03 2018 Eli Young - 2.2.2-1 - Update to 2.2.2 (#1574265) diff --git a/sources b/sources index 6c17552..ce09578 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dns-lexicon-2.2.2.tar.gz) = 923f65c287cb762fce76d0e644fa83412026d9e6e60ebc5037c48ec7f7188c9a01393960dca94b6e02e6211f9eb23c553f2ea94cfce9877145ee6789252a5253 +SHA512 (dns-lexicon-2.2.3.tar.gz) = 16a189d31530f463ec4e9c3d87a07a975c5330040f30d04800b8bd43ae3d4c238d1903d9e687afabcd2775f846745ebf0241cc22042efb70eb1b8e0025497dd8 From 40411b51faea2457ffe055be9d9a3a278047b9a5 Mon Sep 17 00:00:00 2001 From: Eli Young Date: Tue, 29 May 2018 13:00:11 -0700 Subject: [PATCH 007/111] Update to 2.3.0 (#1582799) --- .gitignore | 1 + python-dns-lexicon.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 7c7013d..8ad8010 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /dns-lexicon-2.2.1.tar.gz /dns-lexicon-2.2.2.tar.gz /dns-lexicon-2.2.3.tar.gz +/dns-lexicon-2.3.0.tar.gz diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index c4808ce..9ee2bce 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -8,7 +8,7 @@ %endif Name: python-%{pypi_name} -Version: 2.2.3 +Version: 2.3.0 Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way @@ -118,6 +118,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Tue May 29 2018 Eli Young - 2.3.0-1 +- Update to 2.3.0 (#1582799) + * Mon May 07 2018 Eli Young - 2.2.3-1 - Update to 2.2.3 (#1575598) diff --git a/sources b/sources index ce09578..cbaa012 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dns-lexicon-2.2.3.tar.gz) = 16a189d31530f463ec4e9c3d87a07a975c5330040f30d04800b8bd43ae3d4c238d1903d9e687afabcd2775f846745ebf0241cc22042efb70eb1b8e0025497dd8 +SHA512 (dns-lexicon-2.3.0.tar.gz) = 8564703bd869b73ee921e37999361841a3d4b09e9ab1d3017a4636e77e855324e3c043cd8b90ca9afc9abd8d1c1c57b6c60d3abeaf4b0c41c5be0614207d0efb From 890d6e93baf3cb7290cc13ccce3fde79ae7634f1 Mon Sep 17 00:00:00 2001 From: Eli Young Date: Mon, 11 Jun 2018 10:25:44 -0700 Subject: [PATCH 008/111] Update to 2.4.0 (#1589596) --- .gitignore | 1 + python-dns-lexicon.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 8ad8010..7625e19 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /dns-lexicon-2.2.2.tar.gz /dns-lexicon-2.2.3.tar.gz /dns-lexicon-2.3.0.tar.gz +/dns-lexicon-2.4.0.tar.gz diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 9ee2bce..a777fa7 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -8,7 +8,7 @@ %endif Name: python-%{pypi_name} -Version: 2.3.0 +Version: 2.4.0 Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way @@ -118,6 +118,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Mon Jun 11 2018 Eli Young - 2.4.0-1 +- Update to 2.4.0 (#1589596) + * Tue May 29 2018 Eli Young - 2.3.0-1 - Update to 2.3.0 (#1582799) diff --git a/sources b/sources index cbaa012..2e8112f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dns-lexicon-2.3.0.tar.gz) = 8564703bd869b73ee921e37999361841a3d4b09e9ab1d3017a4636e77e855324e3c043cd8b90ca9afc9abd8d1c1c57b6c60d3abeaf4b0c41c5be0614207d0efb +SHA512 (dns-lexicon-2.4.0.tar.gz) = bc9295cbfec40fc4be4988e692b72cdd8bdd85091feedfef9662b475083102057aa310bea412319ff1472bc865e7e826b93eb532a8fa4df55803f7a0a16123f1 From b7cefb2d04f9b9d296ed9524e50943baa7398e40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 19 Jun 2018 11:00:14 +0200 Subject: [PATCH 009/111] Rebuilt for Python 3.7 --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index a777fa7..27a8c80 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -9,7 +9,7 @@ Name: python-%{pypi_name} Version: 2.4.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -118,6 +118,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Tue Jun 19 2018 Miro Hrončok - 2.4.0-2 +- Rebuilt for Python 3.7 + * Mon Jun 11 2018 Eli Young - 2.4.0-1 - Update to 2.4.0 (#1589596) From 341f422a534309504d4df7709157652b81af5855 Mon Sep 17 00:00:00 2001 From: Eli Young Date: Tue, 19 Jun 2018 10:39:21 -0700 Subject: [PATCH 010/111] Update to 2.4.3 (#1592158) --- .gitignore | 1 + python-dns-lexicon.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 7625e19..a506d36 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /dns-lexicon-2.2.3.tar.gz /dns-lexicon-2.3.0.tar.gz /dns-lexicon-2.4.0.tar.gz +/dns-lexicon-2.4.3.tar.gz diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 27a8c80..f65e818 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -8,8 +8,8 @@ %endif Name: python-%{pypi_name} -Version: 2.4.0 -Release: 2%{?dist} +Version: 2.4.3 +Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -118,6 +118,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Tue Jun 19 2018 Eli Young - 2.4.3-1 +- Update to 2.4.3 (#1592158) + * Tue Jun 19 2018 Miro Hrončok - 2.4.0-2 - Rebuilt for Python 3.7 diff --git a/sources b/sources index 2e8112f..069fd08 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dns-lexicon-2.4.0.tar.gz) = bc9295cbfec40fc4be4988e692b72cdd8bdd85091feedfef9662b475083102057aa310bea412319ff1472bc865e7e826b93eb532a8fa4df55803f7a0a16123f1 +SHA512 (dns-lexicon-2.4.3.tar.gz) = 7c80b84ace175c503334906137873cb27fe05da930e0714bb7a5e3694d0acfcfc9997036d4d9a27fb020c297c5dfdb30d8f53ce71d269c9b90135ca576d64e4e From c265004ebb6d415d922a55d23665175717f59a11 Mon Sep 17 00:00:00 2001 From: Eli Young Date: Tue, 26 Jun 2018 15:48:24 -0700 Subject: [PATCH 011/111] Update to 2.4.4 (#1594777) --- .gitignore | 1 + python-dns-lexicon.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index a506d36..95bd4e8 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /dns-lexicon-2.3.0.tar.gz /dns-lexicon-2.4.0.tar.gz /dns-lexicon-2.4.3.tar.gz +/dns-lexicon-2.4.4.tar.gz diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index f65e818..23aa42b 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -8,7 +8,7 @@ %endif Name: python-%{pypi_name} -Version: 2.4.3 +Version: 2.4.4 Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way @@ -118,6 +118,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Tue Jun 26 2018 Eli Young - 2.4.4-1 +- Update to 2.4.4 (#1594777) + * Tue Jun 19 2018 Eli Young - 2.4.3-1 - Update to 2.4.3 (#1592158) diff --git a/sources b/sources index 069fd08..235ef76 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dns-lexicon-2.4.3.tar.gz) = 7c80b84ace175c503334906137873cb27fe05da930e0714bb7a5e3694d0acfcfc9997036d4d9a27fb020c297c5dfdb30d8f53ce71d269c9b90135ca576d64e4e +SHA512 (dns-lexicon-2.4.4.tar.gz) = c881ca346dd996ce6caa4700f3dd33e17fc686b346e628bb7805cccdffdb0b501045839b9bc2058bced3a0a748a431450933f152e401a2652da7e0c9b02f8432 From 2366c6d9952d21326bbce4971735db441b7dfab7 Mon Sep 17 00:00:00 2001 From: Eli Young Date: Tue, 26 Jun 2018 16:32:51 -0700 Subject: [PATCH 012/111] Remove unnecessary shebang This pacifies rpmlint. --- python-dns-lexicon.spec | 15 ++++++++++----- remove-shebang.patch | 9 +++++++++ 2 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 remove-shebang.patch diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 23aa42b..7adf308 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -9,14 +9,16 @@ Name: python-%{pypi_name} Version: 2.4.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT URL: https://github.com/AnalogJ/lexicon Source0: https://files.pythonhosted.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch - + +Patch0: remove-shebang.patch + BuildRequires: python2-devel BuildRequires: python2-setuptools BuildRequires: python2-future @@ -39,7 +41,7 @@ in... %package -n python2-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python2-%{pypi_name}} - + Requires: python2-requests Requires: python2-tldextract Requires: python2-future @@ -56,7 +58,7 @@ in... %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} - + Requires: python3-requests Requires: python3-tldextract Requires: python3-future @@ -71,7 +73,7 @@ in... %endif %prep -%autosetup -n %{pypi_name}-%{version} +%autosetup -p1 -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info @@ -118,6 +120,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Tue Jun 26 2018 Eli Young - 2.4.4-2 +- Remove unnecessary shebang + * Tue Jun 26 2018 Eli Young - 2.4.4-1 - Update to 2.4.4 (#1594777) diff --git a/remove-shebang.patch b/remove-shebang.patch new file mode 100644 index 0000000..eb5c44d --- /dev/null +++ b/remove-shebang.patch @@ -0,0 +1,9 @@ +diff --git a/lexicon/__main__.py b/lexicon/__main__.py +index d674809..829e2f6 100644 +--- a/lexicon/__main__.py ++++ b/lexicon/__main__.py +@@ -1,4 +1,3 @@ +-#!/usr/bin/env python + from __future__ import absolute_import + from __future__ import print_function + From a4669ac87c512f87e129820f75a4aee3be747936 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 2 Jul 2018 18:23:19 +0200 Subject: [PATCH 013/111] Rebuilt for Python 3.7 --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 7adf308..a45ea99 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -9,7 +9,7 @@ Name: python-%{pypi_name} Version: 2.4.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -120,6 +120,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Mon Jul 02 2018 Miro Hrončok - 2.4.4-3 +- Rebuilt for Python 3.7 + * Tue Jun 26 2018 Eli Young - 2.4.4-2 - Remove unnecessary shebang From 6a8dd0857ba2ce34a078b842c74b908c1a6e561a Mon Sep 17 00:00:00 2001 From: Eli Young Date: Tue, 10 Jul 2018 10:50:29 -0700 Subject: [PATCH 014/111] Update to 2.4.5 (#1599479) --- .gitignore | 1 + python-dns-lexicon.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 95bd4e8..43b49ae 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /dns-lexicon-2.4.0.tar.gz /dns-lexicon-2.4.3.tar.gz /dns-lexicon-2.4.4.tar.gz +/dns-lexicon-2.4.5.tar.gz diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index a45ea99..fa8f59a 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -8,8 +8,8 @@ %endif Name: python-%{pypi_name} -Version: 2.4.4 -Release: 3%{?dist} +Version: 2.4.5 +Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -120,6 +120,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Tue Jul 10 2018 Eli Young - 2.4.5-1 +- Update to 2.4.5 (#1599479) + * Mon Jul 02 2018 Miro Hrončok - 2.4.4-3 - Rebuilt for Python 3.7 diff --git a/sources b/sources index 235ef76..f75f9cd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dns-lexicon-2.4.4.tar.gz) = c881ca346dd996ce6caa4700f3dd33e17fc686b346e628bb7805cccdffdb0b501045839b9bc2058bced3a0a748a431450933f152e401a2652da7e0c9b02f8432 +SHA512 (dns-lexicon-2.4.5.tar.gz) = f56a560172a78730d982ba0815cd81023f3355c625b74adf192b05d82bb0274f97ef7592869f9100bf8acaea5ea9c7338c1dcb54b381f26008679ccc19af2aa3 From 4d33d4c510a67b6f4029f7f9525df1ae1a4c4632 Mon Sep 17 00:00:00 2001 From: Eli Young Date: Tue, 10 Jul 2018 11:01:18 -0700 Subject: [PATCH 015/111] Clean up RPM spec --- python-dns-lexicon.spec | 36 +++++++++++++++--------------------- 1 file changed, 15 insertions(+), 21 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index fa8f59a..4c6da1d 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,4 +1,3 @@ -# Created by pyp2rpm-3.2.2 %global pypi_name dns-lexicon %if 0%{?rhel} && 0%{?rhel} <= 7 @@ -32,11 +31,9 @@ BuildRequires: python3-tldextract %endif %description -Manipulate DNS records on various DNS providers in -a standardized/agnostic way. Introduction Lexicon provides a way to manipulate -DNS records on multiple DNS providers in a standardized way. Lexicon has a CLI -but it can also be used as a python library.Lexicon was designed to be used -in... +Lexicon provides a way to manipulate DNS records on multiple DNS providers in a +standardized way. Lexicon has a CLI but it can also be used as a python +library. %package -n python2-%{pypi_name} Summary: %{summary} @@ -48,11 +45,11 @@ Requires: python2-future Requires: python2-setuptools %description -n python2-%{pypi_name} -Manipulate DNS records on various DNS providers in -a standardized/agnostic way. Introduction Lexicon provides a way to manipulate -DNS records on multiple DNS providers in a standardized way. Lexicon has a CLI -but it can also be used as a python library.Lexicon was designed to be used -in... +Lexicon provides a way to manipulate DNS records on multiple DNS providers in a +standardized way. Lexicon has a CLI but it can also be used as a python +library. + +This is the Python 2 version of the package. %if %{with python3} %package -n python3-%{pypi_name} @@ -65,11 +62,11 @@ Requires: python3-future Requires: python3-setuptools %description -n python3-%{pypi_name} -Manipulate DNS records on various DNS providers in -a standardized/agnostic way. Introduction Lexicon provides a way to manipulate -DNS records on multiple DNS providers in a standardized way. Lexicon has a CLI -but it can also be used as a python library.Lexicon was designed to be used -in... +Lexicon provides a way to manipulate DNS records on multiple DNS providers in a +standardized way. Lexicon has a CLI but it can also be used as a python +library. + +This is the Python 3 version of the package. %endif %prep @@ -84,16 +81,13 @@ rm -rf %{pypi_name}.egg-info %endif %install -# Must do the subpackages' install first because the scripts in /usr/bin are -# overwritten with every setup.py install. - %py2_install -cp %{buildroot}/%{_bindir}/lexicon %{buildroot}/%{_bindir}/lexicon-%{python2_version} +install -pm 0755 %{buildroot}/%{_bindir}/lexicon %{buildroot}/%{_bindir}/lexicon-%{python2_version} ln -s %{_bindir}/lexicon-%{python2_version} %{buildroot}/%{_bindir}/lexicon-2 %if %{with python3} %py3_install -cp %{buildroot}/%{_bindir}/lexicon %{buildroot}/%{_bindir}/lexicon-%{python3_version} +install -pm 0755 %{buildroot}/%{_bindir}/lexicon %{buildroot}/%{_bindir}/lexicon-%{python3_version} ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif From 0a5ff541b81d7525e0ac199e2626cecd31b7b5e5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 14 Jul 2018 00:05:28 +0000 Subject: [PATCH 016/111] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 4c6da1d..bc6e3f2 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -8,7 +8,7 @@ Name: python-%{pypi_name} Version: 2.4.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -114,6 +114,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Sat Jul 14 2018 Fedora Release Engineering - 2.4.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Tue Jul 10 2018 Eli Young - 2.4.5-1 - Update to 2.4.5 (#1599479) From 077c46c3542e466fe701d71bdd8f086807e0dfae Mon Sep 17 00:00:00 2001 From: Nick Bebout Date: Mon, 23 Jul 2018 10:36:30 -0500 Subject: [PATCH 017/111] Update to 2.7.0 --- .gitignore | 1 + python-dns-lexicon.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 43b49ae..b1de7d5 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /dns-lexicon-2.4.3.tar.gz /dns-lexicon-2.4.4.tar.gz /dns-lexicon-2.4.5.tar.gz +/dns-lexicon-2.7.0.tar.gz diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 4c6da1d..08ef5cc 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -7,7 +7,7 @@ %endif Name: python-%{pypi_name} -Version: 2.4.5 +Version: 2.7.0 Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way @@ -114,6 +114,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Mon Jul 23 2018 Nick Bebout - 2.7.0-1 +- Update to 2.7.0 + * Tue Jul 10 2018 Eli Young - 2.4.5-1 - Update to 2.4.5 (#1599479) diff --git a/sources b/sources index f75f9cd..ef78ab9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dns-lexicon-2.4.5.tar.gz) = f56a560172a78730d982ba0815cd81023f3355c625b74adf192b05d82bb0274f97ef7592869f9100bf8acaea5ea9c7338c1dcb54b381f26008679ccc19af2aa3 +SHA512 (dns-lexicon-2.7.0.tar.gz) = 0c9996f8841a1c0423850f3b64b4cfe57dcb1f57fe45e71b73c59c734e03a581c775330fd09de76b34ffd0f19588455302d54d2df15b902e5d7af5e34d6cacb8 From 4c1fcbdd508904f89e0f13b9cf8a6f4c52b3d3a6 Mon Sep 17 00:00:00 2001 From: Nick Bebout Date: Mon, 23 Jul 2018 10:37:23 -0500 Subject: [PATCH 018/111] Update to 2.7.0 --- .gitignore | 1 + python-dns-lexicon.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 43b49ae..b1de7d5 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /dns-lexicon-2.4.3.tar.gz /dns-lexicon-2.4.4.tar.gz /dns-lexicon-2.4.5.tar.gz +/dns-lexicon-2.7.0.tar.gz diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index bc6e3f2..288be39 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -7,8 +7,8 @@ %endif Name: python-%{pypi_name} -Version: 2.4.5 -Release: 2%{?dist} +Version: 2.7.0 +Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -114,6 +114,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Mon Jul 23 2018 Nick Bebout - 2.7.0-1 +- Update to 2.7.0 + * Sat Jul 14 2018 Fedora Release Engineering - 2.4.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index f75f9cd..ef78ab9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dns-lexicon-2.4.5.tar.gz) = f56a560172a78730d982ba0815cd81023f3355c625b74adf192b05d82bb0274f97ef7592869f9100bf8acaea5ea9c7338c1dcb54b381f26008679ccc19af2aa3 +SHA512 (dns-lexicon-2.7.0.tar.gz) = 0c9996f8841a1c0423850f3b64b4cfe57dcb1f57fe45e71b73c59c734e03a581c775330fd09de76b34ffd0f19588455302d54d2df15b902e5d7af5e34d6cacb8 From b5357774840a429d9cd0fa5c6cd5fad18cf597d4 Mon Sep 17 00:00:00 2001 From: Eli Young Date: Mon, 27 Aug 2018 10:19:32 -0700 Subject: [PATCH 019/111] Add dependency on python-cryptography (#1622418) --- python-dns-lexicon.spec | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 288be39..16f1246 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -8,7 +8,7 @@ Name: python-%{pypi_name} Version: 2.7.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -20,12 +20,14 @@ Patch0: remove-shebang.patch BuildRequires: python2-devel BuildRequires: python2-setuptools +BuildRequires: python2-cryptography BuildRequires: python2-future BuildRequires: python2-tldextract %if %{with python3} BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-cryptography BuildRequires: python3-future BuildRequires: python3-tldextract %endif @@ -39,10 +41,11 @@ library. Summary: %{summary} %{?python_provide:%python_provide python2-%{pypi_name}} -Requires: python2-requests -Requires: python2-tldextract +Requires: python2-cryptography Requires: python2-future +Requires: python2-requests Requires: python2-setuptools +Requires: python2-tldextract %description -n python2-%{pypi_name} Lexicon provides a way to manipulate DNS records on multiple DNS providers in a @@ -56,10 +59,11 @@ This is the Python 2 version of the package. Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} -Requires: python3-requests -Requires: python3-tldextract +Requires: python3-cryptography Requires: python3-future +Requires: python3-requests Requires: python3-setuptools +Requires: python3-tldextract %description -n python3-%{pypi_name} Lexicon provides a way to manipulate DNS records on multiple DNS providers in a @@ -114,6 +118,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Mon Aug 27 2018 Eli Young - 2.7.0-2 +- Add dependency on python-cryptography (#1622418) + * Mon Jul 23 2018 Nick Bebout - 2.7.0-1 - Update to 2.7.0 From 1ce3f1b8526ef1abda6da083260c84a0c39b5b99 Mon Sep 17 00:00:00 2001 From: Eli Young Date: Mon, 8 Oct 2018 11:11:33 -0700 Subject: [PATCH 020/111] Update to 2.7.9 (#1637142) --- .gitignore | 1 + python-dns-lexicon.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index b1de7d5..b7646c5 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /dns-lexicon-2.4.4.tar.gz /dns-lexicon-2.4.5.tar.gz /dns-lexicon-2.7.0.tar.gz +/dns-lexicon-2.7.9.tar.gz diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 16f1246..e92104f 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -7,8 +7,8 @@ %endif Name: python-%{pypi_name} -Version: 2.7.0 -Release: 2%{?dist} +Version: 2.7.9 +Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -118,6 +118,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Mon Oct 08 2018 Eli Young - 2.7.9-1 +- Update to 2.7.9 (#1637142) + * Mon Aug 27 2018 Eli Young - 2.7.0-2 - Add dependency on python-cryptography (#1622418) diff --git a/sources b/sources index ef78ab9..cbee783 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dns-lexicon-2.7.0.tar.gz) = 0c9996f8841a1c0423850f3b64b4cfe57dcb1f57fe45e71b73c59c734e03a581c775330fd09de76b34ffd0f19588455302d54d2df15b902e5d7af5e34d6cacb8 +SHA512 (dns-lexicon-2.7.9.tar.gz) = 84255483938ff6c6fa0d02ea6f11d8b4a3c8261cf9a4e77aff21077e34ea9718c025803e87c9ff61d27d252164d6e4c91936f4fc07a718ff96f424b7e7b17f7e From 929d07fe993b1c279334a3e04de1283facea5b2e Mon Sep 17 00:00:00 2001 From: Eli Young Date: Wed, 14 Nov 2018 12:50:33 -0800 Subject: [PATCH 021/111] Update to 3.0.2 --- .gitignore | 1 + 0000-remove-shebang.patch | 9 +++++++++ 0001-fix-requirements.patch | 13 +++++++++++++ python-dns-lexicon.spec | 31 +++++++++++++++++++++++++++++-- remove-shebang.patch | 9 --------- sources | 2 +- 6 files changed, 53 insertions(+), 12 deletions(-) create mode 100644 0000-remove-shebang.patch create mode 100644 0001-fix-requirements.patch delete mode 100644 remove-shebang.patch diff --git a/.gitignore b/.gitignore index b7646c5..7287b8d 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /dns-lexicon-2.4.5.tar.gz /dns-lexicon-2.7.0.tar.gz /dns-lexicon-2.7.9.tar.gz +/dns-lexicon-3.0.2.tar.gz diff --git a/0000-remove-shebang.patch b/0000-remove-shebang.patch new file mode 100644 index 0000000..8956bea --- /dev/null +++ b/0000-remove-shebang.patch @@ -0,0 +1,9 @@ +diff --git a/lexicon/cli.py b/lexicon/cli.py +index 9b55b8e..d065039 100644 +--- a/lexicon/cli.py ++++ b/lexicon/cli.py +@@ -1,4 +1,3 @@ +-#!/usr/bin/env python + from __future__ import absolute_import + from __future__ import print_function + diff --git a/0001-fix-requirements.patch b/0001-fix-requirements.patch new file mode 100644 index 0000000..a1a7860 --- /dev/null +++ b/0001-fix-requirements.patch @@ -0,0 +1,13 @@ +diff --git a/setup.py b/setup.py +index ab653e3..40035eb 100644 +--- a/setup.py ++++ b/setup.py +@@ -81,7 +81,7 @@ setup( + # your project is installed. For an analysis of "install_requires" vs pip's + # requirements files see: + # https://packaging.python.org/en/latest/requirements.html +- install_requires=['requests[security]', 'tldextract', 'future', 'cryptography', 'pyyaml'], ++ install_requires=['requests', 'tldextract', 'future', 'cryptography', 'pyyaml'], + + # Each dependency group in extras_require should match a provider name + # When adding a new depenency group here, please ensure that it has been diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index e92104f..f5e9bcc 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -7,7 +7,7 @@ %endif Name: python-%{pypi_name} -Version: 2.7.9 +Version: 3.0.2 Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way @@ -16,19 +16,33 @@ URL: https://github.com/AnalogJ/lexicon Source0: https://files.pythonhosted.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch -Patch0: remove-shebang.patch +Patch0: 0000-remove-shebang.patch + +%if 0%{?rhel} && 0%{?rhel} <= 7 +Patch1: 0001-fix-requirements.patch +%endif BuildRequires: python2-devel BuildRequires: python2-setuptools BuildRequires: python2-cryptography BuildRequires: python2-future +BuildRequires: python2-pyyaml BuildRequires: python2-tldextract +%if 0%{?rhel} && 0%{?rhel} <= 7 +# EL7 has an unversioned name for this packages +BuildRequires: pyOpenSSL +%else +BuildRequires: python2-pyOpenSSL +%endif + %if %{with python3} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-cryptography BuildRequires: python3-future +BuildRequires: python3-pyOpenSSL +BuildRequires: python3-pyyaml BuildRequires: python3-tldextract %endif @@ -45,8 +59,16 @@ Requires: python2-cryptography Requires: python2-future Requires: python2-requests Requires: python2-setuptools +Requires: python2-pyyaml Requires: python2-tldextract +%if 0%{?rhel} && 0%{?rhel} <= 7 +# EL7 has an unversioned name for this packages +Requires: pyOpenSSL +%else +Requires: python2-pyOpenSSL +%endif + %description -n python2-%{pypi_name} Lexicon provides a way to manipulate DNS records on multiple DNS providers in a standardized way. Lexicon has a CLI but it can also be used as a python @@ -63,6 +85,8 @@ Requires: python3-cryptography Requires: python3-future Requires: python3-requests Requires: python3-setuptools +Requires: python3-pyOpenSSL +Requires: python3-pyyaml Requires: python3-tldextract %description -n python3-%{pypi_name} @@ -118,6 +142,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Wed Nov 14 2018 Eli Young - 3.0.2-1 +- Update to 3.0.2 + * Mon Oct 08 2018 Eli Young - 2.7.9-1 - Update to 2.7.9 (#1637142) diff --git a/remove-shebang.patch b/remove-shebang.patch deleted file mode 100644 index eb5c44d..0000000 --- a/remove-shebang.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff --git a/lexicon/__main__.py b/lexicon/__main__.py -index d674809..829e2f6 100644 ---- a/lexicon/__main__.py -+++ b/lexicon/__main__.py -@@ -1,4 +1,3 @@ --#!/usr/bin/env python - from __future__ import absolute_import - from __future__ import print_function - diff --git a/sources b/sources index cbee783..a1f09f0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dns-lexicon-2.7.9.tar.gz) = 84255483938ff6c6fa0d02ea6f11d8b4a3c8261cf9a4e77aff21077e34ea9718c025803e87c9ff61d27d252164d6e4c91936f4fc07a718ff96f424b7e7b17f7e +SHA512 (dns-lexicon-3.0.2.tar.gz) = 0ddf900e63870005ee2aba0cdb009284da502b97aeb62db20cb79b6c6926111f6fbf20d38e3f45a7a1255582ef597c36389676e6167268f60572352fbc0ed35d From 2740ab12c434bd43a849c008f4cf0bd16d0433c0 Mon Sep 17 00:00:00 2001 From: Eli Young Date: Wed, 14 Nov 2018 13:44:03 -0800 Subject: [PATCH 022/111] Fix dependencies on Fedora 28 --- python-dns-lexicon.spec | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index f5e9bcc..bafb201 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -8,7 +8,7 @@ Name: python-%{pypi_name} Version: 3.0.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -42,8 +42,14 @@ BuildRequires: python3-setuptools BuildRequires: python3-cryptography BuildRequires: python3-future BuildRequires: python3-pyOpenSSL -BuildRequires: python3-pyyaml BuildRequires: python3-tldextract + +%if 0%{?fedora} && 0%{?fedora} <= 28 +BuildRequires: python3-PyYAML +%else +BuildRequires: python3-pyyaml +%endif + %endif %description @@ -86,9 +92,14 @@ Requires: python3-future Requires: python3-requests Requires: python3-setuptools Requires: python3-pyOpenSSL -Requires: python3-pyyaml Requires: python3-tldextract +%if 0%{?fedora} && 0%{?fedora} <= 28 +Requires: python3-PyYAML +%else +Requires: python3-pyyaml +%endif + %description -n python3-%{pypi_name} Lexicon provides a way to manipulate DNS records on multiple DNS providers in a standardized way. Lexicon has a CLI but it can also be used as a python @@ -142,6 +153,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Wed Nov 14 2018 Eli Young - 3.0.2-2 +- Fix dependencies on Fedora 28 + * Wed Nov 14 2018 Eli Young - 3.0.2-1 - Update to 3.0.2 From 2ac3612c4ddcc5d2bc48454e551e054ea8a7d260 Mon Sep 17 00:00:00 2001 From: Eli Young Date: Fri, 14 Dec 2018 14:24:32 -0800 Subject: [PATCH 023/111] Update to 3.0.6 --- .gitignore | 1 + 0000-remove-shebang.patch | 8 ++++---- 0001-fix-requirements.patch | 16 ++++++++-------- python-dns-lexicon.spec | 7 +++++-- sources | 2 +- 5 files changed, 19 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 7287b8d..fe5edfe 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /dns-lexicon-2.7.0.tar.gz /dns-lexicon-2.7.9.tar.gz /dns-lexicon-3.0.2.tar.gz +/dns-lexicon-3.0.6.tar.gz diff --git a/0000-remove-shebang.patch b/0000-remove-shebang.patch index 8956bea..dd0a7d5 100644 --- a/0000-remove-shebang.patch +++ b/0000-remove-shebang.patch @@ -1,9 +1,9 @@ diff --git a/lexicon/cli.py b/lexicon/cli.py -index 9b55b8e..d065039 100644 +index dbef1ae..32a0f6f 100644 --- a/lexicon/cli.py +++ b/lexicon/cli.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python - from __future__ import absolute_import - from __future__ import print_function - + """Module for Lexicon command-line interface""" + from __future__ import absolute_import, print_function + import json diff --git a/0001-fix-requirements.patch b/0001-fix-requirements.patch index a1a7860..c99135d 100644 --- a/0001-fix-requirements.patch +++ b/0001-fix-requirements.patch @@ -1,13 +1,13 @@ diff --git a/setup.py b/setup.py -index ab653e3..40035eb 100644 +index b4b3865..6eda18d 100644 --- a/setup.py +++ b/setup.py -@@ -81,7 +81,7 @@ setup( - # your project is installed. For an analysis of "install_requires" vs pip's +@@ -82,7 +82,7 @@ setup( # requirements files see: # https://packaging.python.org/en/latest/requirements.html -- install_requires=['requests[security]', 'tldextract', 'future', 'cryptography', 'pyyaml'], -+ install_requires=['requests', 'tldextract', 'future', 'cryptography', 'pyyaml'], - - # Each dependency group in extras_require should match a provider name - # When adding a new depenency group here, please ensure that it has been + install_requires=[ +- 'requests[security]', ++ 'requests', + 'tldextract', + 'future', + 'cryptography', diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index bafb201..32d0ae8 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -7,8 +7,8 @@ %endif Name: python-%{pypi_name} -Version: 3.0.2 -Release: 2%{?dist} +Version: 3.0.6 +Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -153,6 +153,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Fri Dec 14 2018 Eli Young - 3.0.6-1 +- Update to 3.0.6 + * Wed Nov 14 2018 Eli Young - 3.0.2-2 - Fix dependencies on Fedora 28 diff --git a/sources b/sources index a1f09f0..9a92f3e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dns-lexicon-3.0.2.tar.gz) = 0ddf900e63870005ee2aba0cdb009284da502b97aeb62db20cb79b6c6926111f6fbf20d38e3f45a7a1255582ef597c36389676e6167268f60572352fbc0ed35d +SHA512 (dns-lexicon-3.0.6.tar.gz) = a43123fd1f8a4e9faf1ce1ae8d572faa791374ab9c1dd2d3da782efe370a0da82648273771c04eaa96237f3b1d5b0e30d59a52c046fb951286b651c73f2dbbc6 From 407a7890b86c0ae9aea3b7e3f61ab267b543903d Mon Sep 17 00:00:00 2001 From: Eli Young Date: Fri, 14 Dec 2018 13:59:24 -0800 Subject: [PATCH 024/111] Declare conflict with python-lexicon --- python-dns-lexicon.spec | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 32d0ae8..6b81c48 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -75,6 +75,14 @@ Requires: pyOpenSSL Requires: python2-pyOpenSSL %endif +# Both packages install a Python module named lexicon +# TODO: Remove this once resolved upstream (see upstream #222) +%if 0%{?rhel} && 0%{?rhel} <= 7 +Conflicts: python-lexicon +%else +Conflicts: python2-lexicon +%endif + %description -n python2-%{pypi_name} Lexicon provides a way to manipulate DNS records on multiple DNS providers in a standardized way. Lexicon has a CLI but it can also be used as a python @@ -100,6 +108,10 @@ Requires: python3-PyYAML Requires: python3-pyyaml %endif +# Both packages install a Python module named lexicon +# TODO: Remove this once resolved upstream (see upstream #222) +Conflicts: python3-lexicon + %description -n python3-%{pypi_name} Lexicon provides a way to manipulate DNS records on multiple DNS providers in a standardized way. Lexicon has a CLI but it can also be used as a python @@ -155,6 +167,7 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %changelog * Fri Dec 14 2018 Eli Young - 3.0.6-1 - Update to 3.0.6 +- Declare conflict with python-lexicon * Wed Nov 14 2018 Eli Young - 3.0.2-2 - Fix dependencies on Fedora 28 From 125b3d784e6aea510a7586122bf3ff5de7d12184 Mon Sep 17 00:00:00 2001 From: Eli Young Date: Fri, 14 Dec 2018 14:08:22 -0800 Subject: [PATCH 025/111] Remove Python 2 package in Fedora 30+ --- python-dns-lexicon.spec | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 6b81c48..c185f30 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -6,6 +6,12 @@ %bcond_without python3 %endif +%if 0%{?fedora} && 0%{?fedora} >= 30 +%bcond_with python2 +%else +%bcond_without python2 +%endif + Name: python-%{pypi_name} Version: 3.0.6 Release: 1%{?dist} @@ -22,6 +28,7 @@ Patch0: 0000-remove-shebang.patch Patch1: 0001-fix-requirements.patch %endif +%if %{with python2} BuildRequires: python2-devel BuildRequires: python2-setuptools BuildRequires: python2-cryptography @@ -35,6 +42,7 @@ BuildRequires: pyOpenSSL %else BuildRequires: python2-pyOpenSSL %endif +%endif %if %{with python3} BuildRequires: python3-devel @@ -57,6 +65,7 @@ Lexicon provides a way to manipulate DNS records on multiple DNS providers in a standardized way. Lexicon has a CLI but it can also be used as a python library. +%if %{with python2} %package -n python2-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python2-%{pypi_name}} @@ -89,6 +98,7 @@ standardized way. Lexicon has a CLI but it can also be used as a python library. This is the Python 2 version of the package. +%endif %if %{with python3} %package -n python3-%{pypi_name} @@ -126,15 +136,20 @@ This is the Python 3 version of the package. rm -rf %{pypi_name}.egg-info %build +%if %{with python2} %py2_build +%endif + %if %{with python3} %py3_build %endif %install +%if %{with python2} %py2_install install -pm 0755 %{buildroot}/%{_bindir}/lexicon %{buildroot}/%{_bindir}/lexicon-%{python2_version} ln -s %{_bindir}/lexicon-%{python2_version} %{buildroot}/%{_bindir}/lexicon-2 +%endif %if %{with python3} %py3_install @@ -142,6 +157,7 @@ install -pm 0755 %{buildroot}/%{_bindir}/lexicon %{buildroot}/%{_bindir}/lexicon ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif +%if %{with python2} %files -n python2-%{pypi_name} %license LICENSE %doc README.md @@ -152,6 +168,7 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %{_bindir}/lexicon-%{python2_version} %{python2_sitelib}/lexicon %{python2_sitelib}/dns_lexicon-%{version}-py?.?.egg-info +%endif %if %{with python3} %files -n python3-%{pypi_name} @@ -168,6 +185,7 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 * Fri Dec 14 2018 Eli Young - 3.0.6-1 - Update to 3.0.6 - Declare conflict with python-lexicon +- Remove Python 2 package in Fedora 30+ * Wed Nov 14 2018 Eli Young - 3.0.2-2 - Fix dependencies on Fedora 28 From 3089b76d47f8c4bcb3c6f07758f33f38cad2dafc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 2 Feb 2019 06:31:08 +0000 Subject: [PATCH 026/111] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index c185f30..ac4c024 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -14,7 +14,7 @@ Name: python-%{pypi_name} Version: 3.0.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -182,6 +182,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Sat Feb 02 2019 Fedora Release Engineering - 3.0.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Fri Dec 14 2018 Eli Young - 3.0.6-1 - Update to 3.0.6 - Declare conflict with python-lexicon From f15bc48a75511a4d10cb51d3448014b8aeb2f521 Mon Sep 17 00:00:00 2001 From: Eli Young Date: Fri, 15 Feb 2019 12:08:46 -0800 Subject: [PATCH 027/111] Update to 3.1.5 (#1671162) --- .gitignore | 1 + python-dns-lexicon.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index fe5edfe..88a1844 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /dns-lexicon-2.7.9.tar.gz /dns-lexicon-3.0.2.tar.gz /dns-lexicon-3.0.6.tar.gz +/dns-lexicon-3.1.5.tar.gz diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index ac4c024..2cf5491 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -13,8 +13,8 @@ %endif Name: python-%{pypi_name} -Version: 3.0.6 -Release: 2%{?dist} +Version: 3.1.5 +Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -182,6 +182,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Fri Feb 15 2019 Eli Young - 3.1.5-1 +- Update to 3.1.5 (#1671162) + * Sat Feb 02 2019 Fedora Release Engineering - 3.0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 9a92f3e..326bea2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dns-lexicon-3.0.6.tar.gz) = a43123fd1f8a4e9faf1ce1ae8d572faa791374ab9c1dd2d3da782efe370a0da82648273771c04eaa96237f3b1d5b0e30d59a52c046fb951286b651c73f2dbbc6 +SHA512 (dns-lexicon-3.1.5.tar.gz) = e8dc5d21d9f90b47214ac8daada7f47d5f0c644091ad68d37c719bf7f9ebccc620836c4a55be96ff9711e9266564578d97683ac393943cb93b530ae2f13ed2e6 From a5e45458432d098f89738edb1bb2f043465340c4 Mon Sep 17 00:00:00 2001 From: Eli Young Date: Fri, 15 Feb 2019 16:04:12 -0800 Subject: [PATCH 028/111] Add meta-subpackkages for specific providers --- python-dns-lexicon.spec | 227 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 221 insertions(+), 6 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 2cf5491..930abc9 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,7 @@ %global pypi_name dns-lexicon %if 0%{?rhel} && 0%{?rhel} <= 7 +%global rhel7 1 %bcond_with python3 %else %bcond_without python3 @@ -24,7 +25,7 @@ BuildArch: noarch Patch0: 0000-remove-shebang.patch -%if 0%{?rhel} && 0%{?rhel} <= 7 +%if 0%{?rhel7} Patch1: 0001-fix-requirements.patch %endif @@ -36,12 +37,29 @@ BuildRequires: python2-future BuildRequires: python2-pyyaml BuildRequires: python2-tldextract -%if 0%{?rhel} && 0%{?rhel} <= 7 -# EL7 has an unversioned name for this packages +%if 0%{?rhel7} +# EL7 has an unversioned name for this package BuildRequires: pyOpenSSL %else BuildRequires: python2-pyOpenSSL %endif + +# Extras requirements +# {{{ +%if 0%{?rhel7} +# EL7 has unversioned names for these packages +BuildRequires: python-beautifulsoup4 +BuildRequires: python-boto3 +BuildRequires: python-xmltodict +%else +BuildRequires: python2-beautifulsoup4 +BuildRequires: python2-boto3 +BuildRequires: python2-xmltodict + +# EL7 doesn't have a current enough version of this package +BuildRequires: python2-dns +%endif +# }}} %endif %if %{with python3} @@ -58,6 +76,14 @@ BuildRequires: python3-PyYAML BuildRequires: python3-pyyaml %endif +# Extras requirements +# {{{ +BuildRequires: python3-beautifulsoup4 +BuildRequires: python3-boto3 +BuildRequires: python3-dns +BuildRequires: python3-xmltodict +# }}} + %endif %description @@ -77,8 +103,8 @@ Requires: python2-setuptools Requires: python2-pyyaml Requires: python2-tldextract -%if 0%{?rhel} && 0%{?rhel} <= 7 -# EL7 has an unversioned name for this packages +%if 0%{?rhel7} +# EL7 has an unversioned name for this package Requires: pyOpenSSL %else Requires: python2-pyOpenSSL @@ -86,7 +112,7 @@ Requires: python2-pyOpenSSL # Both packages install a Python module named lexicon # TODO: Remove this once resolved upstream (see upstream #222) -%if 0%{?rhel} && 0%{?rhel} <= 7 +%if 0%{?rhel7} Conflicts: python-lexicon %else Conflicts: python2-lexicon @@ -130,6 +156,172 @@ library. This is the Python 3 version of the package. %endif +# Extras meta-packages +# {{{ + +%if %{with python2} +%package -n python2-%{pypi_name}+easyname +Summary: Meta-package for python2-%{pypi_name} and easyname provider +%{?python_provide:%python_provide python2-%{pypi_name}+easyname} + +Requires: python2-%{pypi_name} = %{version}-%{release} + +%if 0%{?rhel7} +# EL7 has an unversioned name for this package +Requires: python-beautifulsoup4 +%else +Requires: python2-beautifulsoup4 +%endif + +%description -n python2-%{pypi_name}+easyname +This package installs no files. It requires python2-%{pypi_name} and all +dependencies necessary to use the easyname provider. +%endif + +%if %{with python3} +%package -n python3-%{pypi_name}+easyname +Summary: Meta-package for python3-%{pypi_name} and easyname provider +%{?python_provide:%python_provide python3-%{pypi_name}+easyname} + +Requires: python3-%{pypi_name} = %{version}-%{release} +Requires: python3-beautifulsoup4 + +%description -n python3-%{pypi_name}+easyname +This package installs no files. It requires python3-%{pypi_name} and all +dependencies necessary to use the easyname provider. +%endif + +%if %{with python2} +%package -n python2-%{pypi_name}+henet +Summary: Meta-package for python2-%{pypi_name} and Hurricane Electric provider +%{?python_provide:%python_provide python2-%{pypi_name}+henet} + +Requires: python2-%{pypi_name} = %{version}-%{release} + +%if 0%{?rhel7} +# EL7 has an unversioned name for this package +Requires: python-beautifulsoup4 +%else +Requires: python2-beautifulsoup4 +%endif + +%description -n python2-%{pypi_name}+henet +This package installs no files. It requires python2-%{pypi_name} and all +dependencies necessary to use the Hurricane Electric provider. +%endif + +%if %{with python3} +%package -n python3-%{pypi_name}+henet +Summary: Meta-package for python3-%{pypi_name} and Hurricane Electric provider +%{?python_provide:%python_provide python3-%{pypi_name}+henet} + +Requires: python3-%{pypi_name} = %{version}-%{release} +Requires: python3-beautifulsoup4 + +%description -n python3-%{pypi_name}+henet +This package installs no files. It requires python3-%{pypi_name} and all +dependencies necessary to use the Hurricane Electric provider. +%endif + +%if %{with python2} +%package -n python2-%{pypi_name}+plesk +Summary: Meta-package for python2-%{pypi_name} and Plesk provider +%{?python_provide:%python_provide python2-%{pypi_name}+plesk} + +Requires: python2-%{pypi_name} = %{version}-%{release} + +%if 0%{?rhel7} +# EL7 has an unversioned name for this package +Requires: python-xmltodict +%else +Requires: python2-xmltodict +%endif + +%description -n python2-%{pypi_name}+plesk +This package installs no files. It requires python2-%{pypi_name} and all +dependencies necessary to use the Plesk provider. +%endif + +%if %{with python3} +%package -n python3-%{pypi_name}+plesk +Summary: Meta-package for python3-%{pypi_name} and Plesk provider +%{?python_provide:%python_provide python3-%{pypi_name}+plesk} + +Requires: python3-%{pypi_name} = %{version}-%{release} +Requires: python3-xmltodict + +%description -n python3-%{pypi_name}+plesk +This package installs no files. It requires python3-%{pypi_name} and all +dependencies necessary to use the Plesk provider. +%endif + +%if %{with python2} +%package -n python2-%{pypi_name}+route53 +Summary: Meta-package for python2-%{pypi_name} and Route 53 provider +%{?python_provide:%python_provide python2-%{pypi_name}+route53} + +Requires: python2-%{pypi_name} = %{version}-%{release} + +%if 0%{?rhel7} +# EL7 has an unversioned name for this package +Requires: python-boto3 +%else +Requires: python2-boto3 +%endif + +%description -n python2-%{pypi_name}+route53 +This package installs no files. It requires python2-%{pypi_name} and all +dependencies necessary to use the Route 53 provider. +%endif + +%if %{with python3} +%package -n python3-%{pypi_name}+route53 +Summary: Meta-package for python3-%{pypi_name} and Route 53 provider +%{?python_provide:%python_provide python3-%{pypi_name}+route53} + +Requires: python3-%{pypi_name} = %{version}-%{release} +Requires: python3-boto3 + +%description -n python3-%{pypi_name}+route53 +This package installs no files. It requires python3-%{pypi_name} and all +dependencies necessary to use the Route 53 provider. +%endif + +%if ! 0%{?rhel7} +# EL7 does not have the dependencies necessary for this meta-package +# {{{ + +%if %{with python2} +%package -n python2-%{pypi_name}+hetzner +Summary: Meta-package for python2-%{pypi_name} and Hetzner provider +%{?python_provide:%python_provide python2-%{pypi_name}+hetzner} + +Requires: python2-%{pypi_name} = %{version}-%{release} +Requires: python2-beautifulsoup4 +Requires: python2-dns + +%description -n python2-%{pypi_name}+hetzner +This package installs no files. It requires python2-%{pypi_name} and all +dependencies necessary to use the Hetzner provider. +%endif + +%if %{with python3} +%package -n python3-%{pypi_name}+hetzner +Summary: Meta-package for python3-%{pypi_name} and Hetzner provider +%{?python_provide:%python_provide python3-%{pypi_name}+hetzner} + +Requires: python3-%{pypi_name} = %{version}-%{release} +Requires: python3-beautifulsoup4 +Requires: python3-dns + +%description -n python3-%{pypi_name}+hetzner +This package installs no files. It requires python3-%{pypi_name} and all +dependencies necessary to use the Hetzner provider. +%endif +# }}} +%endif +# }}} + %prep %autosetup -p1 -n %{pypi_name}-%{version} # Remove bundled egg-info @@ -168,6 +360,19 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %{_bindir}/lexicon-%{python2_version} %{python2_sitelib}/lexicon %{python2_sitelib}/dns_lexicon-%{version}-py?.?.egg-info + +# Extras meta-packages +# {{{ +%files -n python2-%{pypi_name}+easyname +%files -n python2-%{pypi_name}+henet +%files -n python2-%{pypi_name}+plesk +%files -n python2-%{pypi_name}+route53 + +%if ! 0%{?rhel7} +# EL7 does not have the necessary dependencies for this meta-package +%files -n python2-%{pypi_name}+hetzner +%endif +# }}} %endif %if %{with python3} @@ -179,11 +384,21 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %{_bindir}/lexicon-%{python3_version} %{python3_sitelib}/lexicon %{python3_sitelib}/dns_lexicon-%{version}-py?.?.egg-info + +# Extras meta-packages +# {{{ +%files -n python3-%{pypi_name}+easyname +%files -n python3-%{pypi_name}+henet +%files -n python3-%{pypi_name}+hetzner +%files -n python3-%{pypi_name}+plesk +%files -n python3-%{pypi_name}+route53 +# }}} %endif %changelog * Fri Feb 15 2019 Eli Young - 3.1.5-1 - Update to 3.1.5 (#1671162) +- Add meta-subpackages for specific providers * Sat Feb 02 2019 Fedora Release Engineering - 3.0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From d3c27986579c33a8e787c0aae9b0147c6adc3cb3 Mon Sep 17 00:00:00 2001 From: Eli Young Date: Tue, 28 May 2019 11:57:10 -0700 Subject: [PATCH 029/111] Update to 3.2.6 (#1685778) --- .gitignore | 1 + python-dns-lexicon.spec | 39 ++++++++++++++++++++++++++++++++++++++- sources | 2 +- 3 files changed, 40 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 88a1844..69ee7fa 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /dns-lexicon-3.0.2.tar.gz /dns-lexicon-3.0.6.tar.gz /dns-lexicon-3.1.5.tar.gz +/dns-lexicon-3.2.6.tar.gz diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 930abc9..dac0693 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -14,7 +14,7 @@ %endif Name: python-%{pypi_name} -Version: 3.1.5 +Version: 3.2.6 Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way @@ -191,6 +191,38 @@ This package installs no files. It requires python3-%{pypi_name} and all dependencies necessary to use the easyname provider. %endif +%if %{with python2} +%package -n python2-%{pypi_name}+gratisdns +Summary: Meta-package for python2-%{pypi_name} and gratisdns provider +%{?python_provide:%python_provide python2-%{pypi_name}+gratisdns} + +Requires: python2-%{pypi_name} = %{version}-%{release} + +%if 0%{?rhel7} +# EL7 has an unversioned name for this package +Requires: python-beautifulsoup4 +%else +Requires: python2-beautifulsoup4 +%endif + +%description -n python2-%{pypi_name}+gratisdns +This package installs no files. It requires python2-%{pypi_name} and all +dependencies necessary to use the gratisdns provider. +%endif + +%if %{with python3} +%package -n python3-%{pypi_name}+gratisdns +Summary: Meta-package for python3-%{pypi_name} and gratisdns provider +%{?python_provide:%python_provide python3-%{pypi_name}+gratisdns} + +Requires: python3-%{pypi_name} = %{version}-%{release} +Requires: python3-beautifulsoup4 + +%description -n python3-%{pypi_name}+gratisdns +This package installs no files. It requires python3-%{pypi_name} and all +dependencies necessary to use the gratisdns provider. +%endif + %if %{with python2} %package -n python2-%{pypi_name}+henet Summary: Meta-package for python2-%{pypi_name} and Hurricane Electric provider @@ -364,6 +396,7 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 # Extras meta-packages # {{{ %files -n python2-%{pypi_name}+easyname +%files -n python2-%{pypi_name}+gratisdns %files -n python2-%{pypi_name}+henet %files -n python2-%{pypi_name}+plesk %files -n python2-%{pypi_name}+route53 @@ -388,6 +421,7 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 # Extras meta-packages # {{{ %files -n python3-%{pypi_name}+easyname +%files -n python3-%{pypi_name}+gratisdns %files -n python3-%{pypi_name}+henet %files -n python3-%{pypi_name}+hetzner %files -n python3-%{pypi_name}+plesk @@ -396,6 +430,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Tue May 28 2019 Eli Young - 3.2.6-1 +- Update to 3.2.6 (#1685778) + * Fri Feb 15 2019 Eli Young - 3.1.5-1 - Update to 3.1.5 (#1671162) - Add meta-subpackages for specific providers diff --git a/sources b/sources index 326bea2..c4aa76c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dns-lexicon-3.1.5.tar.gz) = e8dc5d21d9f90b47214ac8daada7f47d5f0c644091ad68d37c719bf7f9ebccc620836c4a55be96ff9711e9266564578d97683ac393943cb93b530ae2f13ed2e6 +SHA512 (dns-lexicon-3.2.6.tar.gz) = 349215c57111fb7b6bcd66169019ece62763781299806a15b5b4546381ed520dd462bfa91296d23b5b3804a8d2c63c2b8624c4863180346930ff048d9a8f6624 From 7ce3bb9d1a4097d199110b720662bc2865f84f65 Mon Sep 17 00:00:00 2001 From: Eli Young Date: Thu, 27 Jun 2019 14:28:29 -0700 Subject: [PATCH 030/111] Update to 3.2.8 (#1722190) --- .gitignore | 1 + python-dns-lexicon.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 69ee7fa..9d0e60e 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /dns-lexicon-3.0.6.tar.gz /dns-lexicon-3.1.5.tar.gz /dns-lexicon-3.2.6.tar.gz +/dns-lexicon-3.2.8.tar.gz diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index dac0693..7168889 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -14,7 +14,7 @@ %endif Name: python-%{pypi_name} -Version: 3.2.6 +Version: 3.2.8 Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way @@ -430,6 +430,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Thu Jun 27 2019 Eli Young - 3.2.8-1 +- Update to 3.2.8 (#1722190) + * Tue May 28 2019 Eli Young - 3.2.6-1 - Update to 3.2.6 (#1685778) diff --git a/sources b/sources index c4aa76c..bf4f211 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dns-lexicon-3.2.6.tar.gz) = 349215c57111fb7b6bcd66169019ece62763781299806a15b5b4546381ed520dd462bfa91296d23b5b3804a8d2c63c2b8624c4863180346930ff048d9a8f6624 +SHA512 (dns-lexicon-3.2.8.tar.gz) = 5fc1aa527e1e3f2b591d1c7d623bc03ff66ed61ae5dfa7a7bd5fba7ebe9cf44e58caf693453d08260e78332747a226aa497b3347f8bb0517787272cc44b26ecd From 14939053d223ed263718bdbabf95ac66793b8787 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jul 2019 13:12:40 +0000 Subject: [PATCH 031/111] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 7168889..0df1bbb 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -15,7 +15,7 @@ Name: python-%{pypi_name} Version: 3.2.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -430,6 +430,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Fri Jul 26 2019 Fedora Release Engineering - 3.2.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Thu Jun 27 2019 Eli Young - 3.2.8-1 - Update to 3.2.8 (#1722190) From a08baceaa7c66b823012580cb201b64d306b3229 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 19 Aug 2019 10:35:35 +0200 Subject: [PATCH 032/111] Rebuilt for Python 3.8 --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 0df1bbb..65f04e9 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -15,7 +15,7 @@ Name: python-%{pypi_name} Version: 3.2.8 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -430,6 +430,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Mon Aug 19 2019 Miro Hrončok - 3.2.8-3 +- Rebuilt for Python 3.8 + * Fri Jul 26 2019 Fedora Release Engineering - 3.2.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 71218283ab54c745ceb2e0630ea863e271a34667 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 3 Oct 2019 14:10:11 +0200 Subject: [PATCH 033/111] Rebuilt for Python 3.8.0rc1 (#1748018) --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 65f04e9..a4e23c6 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -15,7 +15,7 @@ Name: python-%{pypi_name} Version: 3.2.8 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -430,6 +430,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Thu Oct 03 2019 Miro Hrončok - 3.2.8-4 +- Rebuilt for Python 3.8.0rc1 (#1748018) + * Mon Aug 19 2019 Miro Hrončok - 3.2.8-3 - Rebuilt for Python 3.8 From c388df920cdbef6ad667dbd655ecfe44da8c74f2 Mon Sep 17 00:00:00 2001 From: Eli Young Date: Mon, 7 Oct 2019 16:27:29 -0700 Subject: [PATCH 034/111] Update to 3.3.4 (#1725208) --- .gitignore | 1 + python-dns-lexicon.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 9d0e60e..d017d44 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /dns-lexicon-3.1.5.tar.gz /dns-lexicon-3.2.6.tar.gz /dns-lexicon-3.2.8.tar.gz +/dns-lexicon-3.3.4.tar.gz diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index a4e23c6..9af0453 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -14,8 +14,8 @@ %endif Name: python-%{pypi_name} -Version: 3.2.8 -Release: 4%{?dist} +Version: 3.3.4 +Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -430,6 +430,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Mon Oct 07 2019 Eli Young - 3.3.4-1 +- Update to 3.3.4 (#1725208) + * Thu Oct 03 2019 Miro Hrončok - 3.2.8-4 - Rebuilt for Python 3.8.0rc1 (#1748018) diff --git a/sources b/sources index bf4f211..6927388 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dns-lexicon-3.2.8.tar.gz) = 5fc1aa527e1e3f2b591d1c7d623bc03ff66ed61ae5dfa7a7bd5fba7ebe9cf44e58caf693453d08260e78332747a226aa497b3347f8bb0517787272cc44b26ecd +SHA512 (dns-lexicon-3.3.4.tar.gz) = 274a1a4ffd1d767623723b6e9aee1e9f07022f3985cbc15f75cc410f477e1dcb7a674fa847119bdccab7332d058f77ef85771bd7bcdadbe2dd9483415a365a6d From c41af878aeaf100cf7ceb0be8a77ec906ee39143 Mon Sep 17 00:00:00 2001 From: Eli Young Date: Mon, 7 Oct 2019 16:47:22 -0700 Subject: [PATCH 035/111] Support EPEL8 builds --- python-dns-lexicon.spec | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 9af0453..120590d 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -7,12 +7,19 @@ %bcond_without python3 %endif -%if 0%{?fedora} && 0%{?fedora} >= 30 +%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 %bcond_with python2 %else %bcond_without python2 %endif +%if 0%{?rhel} >= 8 +# EPEL8 is currently missing dependencies used by the extras metapackages +%bcond_with extras +%else +%bcond_without extras +%endif + Name: python-%{pypi_name} Version: 3.3.4 Release: 1%{?dist} @@ -46,6 +53,7 @@ BuildRequires: python2-pyOpenSSL # Extras requirements # {{{ +%if %{with extras} %if 0%{?rhel7} # EL7 has unversioned names for these packages BuildRequires: python-beautifulsoup4 @@ -59,6 +67,7 @@ BuildRequires: python2-xmltodict # EL7 doesn't have a current enough version of this package BuildRequires: python2-dns %endif +%endif # }}} %endif @@ -78,10 +87,12 @@ BuildRequires: python3-pyyaml # Extras requirements # {{{ +%if %{with extras} BuildRequires: python3-beautifulsoup4 BuildRequires: python3-boto3 BuildRequires: python3-dns BuildRequires: python3-xmltodict +%endif # }}} %endif @@ -158,6 +169,7 @@ This is the Python 3 version of the package. # Extras meta-packages # {{{ +%if %{with extras} %if %{with python2} %package -n python2-%{pypi_name}+easyname @@ -351,6 +363,8 @@ This package installs no files. It requires python3-%{pypi_name} and all dependencies necessary to use the Hetzner provider. %endif # }}} +%endif + %endif # }}} @@ -420,18 +434,21 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 # Extras meta-packages # {{{ +%if %{with extras} %files -n python3-%{pypi_name}+easyname %files -n python3-%{pypi_name}+gratisdns %files -n python3-%{pypi_name}+henet %files -n python3-%{pypi_name}+hetzner %files -n python3-%{pypi_name}+plesk %files -n python3-%{pypi_name}+route53 +%endif # }}} %endif %changelog * Mon Oct 07 2019 Eli Young - 3.3.4-1 - Update to 3.3.4 (#1725208) +- Support EPEL8 builds * Thu Oct 03 2019 Miro Hrončok - 3.2.8-4 - Rebuilt for Python 3.8.0rc1 (#1748018) From bdbe509e1316e173a61ec7770efcaf45deb0f180 Mon Sep 17 00:00:00 2001 From: Eli Young Date: Mon, 7 Oct 2019 17:44:33 -0700 Subject: [PATCH 036/111] Rebuild due to Koji issues --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 120590d..a195ead 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -22,7 +22,7 @@ Name: python-%{pypi_name} Version: 3.3.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -446,6 +446,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Tue Oct 08 2019 Eli Young - 3.3.4-2 +- Rebuild due to Koji issues + * Mon Oct 07 2019 Eli Young - 3.3.4-1 - Update to 3.3.4 (#1725208) - Support EPEL8 builds From 29e7721cd748d237b0cfcdc27ccabc806f30915e Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Tue, 8 Oct 2019 10:13:00 -0500 Subject: [PATCH 037/111] "Adding package.cfg file" --- package.cfg | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 package.cfg diff --git a/package.cfg b/package.cfg new file mode 100644 index 0000000..66ea79d --- /dev/null +++ b/package.cfg @@ -0,0 +1,2 @@ +[koji] +targets = epel8 epel8-playground \ No newline at end of file From 408422025224564b3614e46ab5dc24eab2f04164 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 30 Jan 2020 11:51:03 +0000 Subject: [PATCH 038/111] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index a195ead..7d95bbf 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -22,7 +22,7 @@ Name: python-%{pypi_name} Version: 3.3.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -446,6 +446,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Thu Jan 30 2020 Fedora Release Engineering - 3.3.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Tue Oct 08 2019 Eli Young - 3.3.4-2 - Rebuild due to Koji issues From 4ef858e306477212becf7ccc594b181d508147d4 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Wed, 4 Mar 2020 00:14:12 +0100 Subject: [PATCH 039/111] Add package.cfg with no targets This prevents warnings about a missing package.cfg but enables us to keep all branches in sync (fast-forward merging) --- package.cfg | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 package.cfg diff --git a/package.cfg b/package.cfg new file mode 100644 index 0000000..3f45895 --- /dev/null +++ b/package.cfg @@ -0,0 +1,2 @@ +[koji] +targets = From 53da38093f2f539af5e55e242bdcafb6155dfd44 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Wed, 4 Mar 2020 00:19:52 +0100 Subject: [PATCH 040/111] use "%{pypi_source}" instead of hard-coding the download url --- python-dns-lexicon.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 7d95bbf..d411beb 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -27,7 +27,7 @@ Summary: Manipulate DNS records on various DNS providers in a standardize License: MIT URL: https://github.com/AnalogJ/lexicon -Source0: https://files.pythonhosted.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz +Source0: %{pypi_source} BuildArch: noarch Patch0: 0000-remove-shebang.patch From 335aabff8b0876a85b41436e7f54552a454a0a1d Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Wed, 4 Mar 2020 00:24:54 +0100 Subject: [PATCH 041/111] simplify spec file by removing support for Fedora <= 28 --- python-dns-lexicon.spec | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index d411beb..a2ec6fc 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -78,12 +78,7 @@ BuildRequires: python3-cryptography BuildRequires: python3-future BuildRequires: python3-pyOpenSSL BuildRequires: python3-tldextract - -%if 0%{?fedora} && 0%{?fedora} <= 28 -BuildRequires: python3-PyYAML -%else BuildRequires: python3-pyyaml -%endif # Extras requirements # {{{ @@ -148,12 +143,7 @@ Requires: python3-requests Requires: python3-setuptools Requires: python3-pyOpenSSL Requires: python3-tldextract - -%if 0%{?fedora} && 0%{?fedora} <= 28 -Requires: python3-PyYAML -%else Requires: python3-pyyaml -%endif # Both packages install a Python module named lexicon # TODO: Remove this once resolved upstream (see upstream #222) From 721e6c743244dea6b09d8512d80a3b5413c3c6d0 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Wed, 4 Mar 2020 00:23:52 +0100 Subject: [PATCH 042/111] Update to 3.3.17 (#1764339) --- python-dns-lexicon.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index a2ec6fc..8ba51a8 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -21,8 +21,8 @@ %endif Name: python-%{pypi_name} -Version: 3.3.4 -Release: 3%{?dist} +Version: 3.3.17 +Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -436,6 +436,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Tue Mar 03 2020 Felix Schwarz - 3.3.17-1 +- Update to 3.3.17 (#1764339) + * Thu Jan 30 2020 Fedora Release Engineering - 3.3.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 2f7b79adfc1f698e46d0978f247b5d69464a7d55 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Wed, 4 Mar 2020 22:20:24 +0100 Subject: [PATCH 043/111] add missing sources --- .gitignore | 1 + python-dns-lexicon.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index d017d44..647f8d6 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ /dns-lexicon-3.2.6.tar.gz /dns-lexicon-3.2.8.tar.gz /dns-lexicon-3.3.4.tar.gz +/dns-lexicon-3.3.17.tar.gz diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 8ba51a8..ffee38e 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -22,7 +22,7 @@ Name: python-%{pypi_name} Version: 3.3.17 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -436,6 +436,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Wed Mar 04 2020 Felix Schwarz - 3.3.17-2 +- add missing sources + * Tue Mar 03 2020 Felix Schwarz - 3.3.17-1 - Update to 3.3.17 (#1764339) diff --git a/sources b/sources index 6927388..000178d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dns-lexicon-3.3.4.tar.gz) = 274a1a4ffd1d767623723b6e9aee1e9f07022f3985cbc15f75cc410f477e1dcb7a674fa847119bdccab7332d058f77ef85771bd7bcdadbe2dd9483415a365a6d +SHA512 (dns-lexicon-3.3.17.tar.gz) = cfaff78df6c98809fd9c6ac9941bb62c3b8f4849b66bf26fddfffb4802a4ef00a9261ae03685131e428450fea399d911ff80e2dbd7feb9256be3b2ff2e4189f4 From 4c83c53bb0dcbccf1fabaea87831c848d0387184 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Fri, 13 Mar 2020 18:22:25 +0100 Subject: [PATCH 044/111] add missing buildrequires --- python-dns-lexicon.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index ffee38e..2f0811a 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -85,7 +85,7 @@ BuildRequires: python3-pyyaml %if %{with extras} BuildRequires: python3-beautifulsoup4 BuildRequires: python3-boto3 -BuildRequires: python3-dns +BuildRequires: python3-dns >= 1.15.0 BuildRequires: python3-xmltodict %endif # }}} @@ -332,7 +332,7 @@ Summary: Meta-package for python2-%{pypi_name} and Hetzner provider Requires: python2-%{pypi_name} = %{version}-%{release} Requires: python2-beautifulsoup4 -Requires: python2-dns +Requires: python2-dns >= 1.15.0 %description -n python2-%{pypi_name}+hetzner This package installs no files. It requires python2-%{pypi_name} and all @@ -346,7 +346,7 @@ Summary: Meta-package for python3-%{pypi_name} and Hetzner provider Requires: python3-%{pypi_name} = %{version}-%{release} Requires: python3-beautifulsoup4 -Requires: python3-dns +Requires: python3-dns >= 1.15.0 %description -n python3-%{pypi_name}+hetzner This package installs no files. It requires python3-%{pypi_name} and all From e91d028428f12fa839e3d636640397debefda79d Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Fri, 13 Mar 2020 18:37:12 +0100 Subject: [PATCH 045/111] use %setup instead of %autosetup so we can apply patches conditionally That way the srpm contains all patches and the srpm can be rebuilt for all supported distributions. --- python-dns-lexicon.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 2f0811a..9e9cea7 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -31,10 +31,7 @@ Source0: %{pypi_source} BuildArch: noarch Patch0: 0000-remove-shebang.patch - -%if 0%{?rhel7} Patch1: 0001-fix-requirements.patch -%endif %if %{with python2} BuildRequires: python2-devel @@ -359,7 +356,11 @@ dependencies necessary to use the Hetzner provider. # }}} %prep -%autosetup -p1 -n %{pypi_name}-%{version} +%setup -n %{pypi_name}-%{version} +%patch0 -p1 +%if 0%{?rhel7} +%patch1 -p1 +%endif # Remove bundled egg-info rm -rf %{pypi_name}.egg-info From 2e4c20682d2d2a34506ddb0a20e1d66a4dcbe280 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Fri, 13 Mar 2020 18:43:25 +0100 Subject: [PATCH 046/111] =?UTF-8?q?epel=207:=20do=20not=20use=20"setup(?= =?UTF-8?q?=E2=80=A6,=20extras=5Frequire=3D=E2=80=A6)=20because=20python2-?= =?UTF-8?q?setuptools=20is=20too=20old=20on=20EPEL7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 0001-fix-requirements.patch | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/0001-fix-requirements.patch b/0001-fix-requirements.patch index c99135d..be28efa 100644 --- a/0001-fix-requirements.patch +++ b/0001-fix-requirements.patch @@ -1,8 +1,8 @@ diff --git a/setup.py b/setup.py -index b4b3865..6eda18d 100644 +index 7d68954..0c211c4 100644 --- a/setup.py +++ b/setup.py -@@ -82,7 +82,7 @@ setup( +@@ -113,14 +113,14 @@ setup( # requirements files see: # https://packaging.python.org/en/latest/requirements.html install_requires=[ @@ -11,3 +11,11 @@ index b4b3865..6eda18d 100644 'tldextract', 'future', 'cryptography', + 'pyyaml', + ], + +- extras_require=extras_require, ++ #extras_require=extras_require, + + # To provide executable scripts, use entry points in preference to the + # "scripts" keyword. Entry points provide cross-platform support and allow From 7172684d0f18aa110e0c14d66760d2d17c87275b Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Sat, 14 Mar 2020 10:12:30 +0100 Subject: [PATCH 047/111] support Python 2 only with EPEL 7 --- python-dns-lexicon.spec | 68 +++++------------------------------------ 1 file changed, 8 insertions(+), 60 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 9e9cea7..ca43f16 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,16 +1,16 @@ %global pypi_name dns-lexicon -%if 0%{?rhel} && 0%{?rhel} <= 7 +%if 0%{?rhel} && 0%{?rhel} == 7 %global rhel7 1 -%bcond_with python3 -%else -%bcond_without python3 %endif -%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 -%bcond_with python2 -%else +%if 0%{?rhel7} +%bcond_with python3 %bcond_without python2 +%else +# RHEL 8/Fedora: Python 3 only +%bcond_without python3 +%bcond_with python2 %endif %if 0%{?rhel} >= 8 @@ -40,30 +40,17 @@ BuildRequires: python2-cryptography BuildRequires: python2-future BuildRequires: python2-pyyaml BuildRequires: python2-tldextract - -%if 0%{?rhel7} # EL7 has an unversioned name for this package BuildRequires: pyOpenSSL -%else -BuildRequires: python2-pyOpenSSL -%endif # Extras requirements # {{{ %if %{with extras} -%if 0%{?rhel7} # EL7 has unversioned names for these packages BuildRequires: python-beautifulsoup4 BuildRequires: python-boto3 BuildRequires: python-xmltodict -%else -BuildRequires: python2-beautifulsoup4 -BuildRequires: python2-boto3 -BuildRequires: python2-xmltodict - -# EL7 doesn't have a current enough version of this package -BuildRequires: python2-dns -%endif +# EL7 doesn't have a current enough version of python2-dns %endif # }}} %endif @@ -105,21 +92,12 @@ Requires: python2-requests Requires: python2-setuptools Requires: python2-pyyaml Requires: python2-tldextract - -%if 0%{?rhel7} # EL7 has an unversioned name for this package Requires: pyOpenSSL -%else -Requires: python2-pyOpenSSL -%endif # Both packages install a Python module named lexicon # TODO: Remove this once resolved upstream (see upstream #222) -%if 0%{?rhel7} Conflicts: python-lexicon -%else -Conflicts: python2-lexicon -%endif %description -n python2-%{pypi_name} Lexicon provides a way to manipulate DNS records on multiple DNS providers in a @@ -164,13 +142,8 @@ Summary: Meta-package for python2-%{pypi_name} and easyname provider %{?python_provide:%python_provide python2-%{pypi_name}+easyname} Requires: python2-%{pypi_name} = %{version}-%{release} - -%if 0%{?rhel7} # EL7 has an unversioned name for this package Requires: python-beautifulsoup4 -%else -Requires: python2-beautifulsoup4 -%endif %description -n python2-%{pypi_name}+easyname This package installs no files. It requires python2-%{pypi_name} and all @@ -196,13 +169,8 @@ Summary: Meta-package for python2-%{pypi_name} and gratisdns provider %{?python_provide:%python_provide python2-%{pypi_name}+gratisdns} Requires: python2-%{pypi_name} = %{version}-%{release} - -%if 0%{?rhel7} # EL7 has an unversioned name for this package Requires: python-beautifulsoup4 -%else -Requires: python2-beautifulsoup4 -%endif %description -n python2-%{pypi_name}+gratisdns This package installs no files. It requires python2-%{pypi_name} and all @@ -228,13 +196,8 @@ Summary: Meta-package for python2-%{pypi_name} and Hurricane Electric pro %{?python_provide:%python_provide python2-%{pypi_name}+henet} Requires: python2-%{pypi_name} = %{version}-%{release} - -%if 0%{?rhel7} # EL7 has an unversioned name for this package Requires: python-beautifulsoup4 -%else -Requires: python2-beautifulsoup4 -%endif %description -n python2-%{pypi_name}+henet This package installs no files. It requires python2-%{pypi_name} and all @@ -260,13 +223,8 @@ Summary: Meta-package for python2-%{pypi_name} and Plesk provider %{?python_provide:%python_provide python2-%{pypi_name}+plesk} Requires: python2-%{pypi_name} = %{version}-%{release} - -%if 0%{?rhel7} # EL7 has an unversioned name for this package Requires: python-xmltodict -%else -Requires: python2-xmltodict -%endif %description -n python2-%{pypi_name}+plesk This package installs no files. It requires python2-%{pypi_name} and all @@ -292,13 +250,8 @@ Summary: Meta-package for python2-%{pypi_name} and Route 53 provider %{?python_provide:%python_provide python2-%{pypi_name}+route53} Requires: python2-%{pypi_name} = %{version}-%{release} - -%if 0%{?rhel7} # EL7 has an unversioned name for this package Requires: python-boto3 -%else -Requires: python2-boto3 -%endif %description -n python2-%{pypi_name}+route53 This package installs no files. It requires python2-%{pypi_name} and all @@ -405,11 +358,6 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %files -n python2-%{pypi_name}+henet %files -n python2-%{pypi_name}+plesk %files -n python2-%{pypi_name}+route53 - -%if ! 0%{?rhel7} -# EL7 does not have the necessary dependencies for this meta-package -%files -n python2-%{pypi_name}+hetzner -%endif # }}} %endif From 99a200b2fe06c454abfa270a9d10c807086bce3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 26 May 2020 03:12:37 +0200 Subject: [PATCH 048/111] Rebuilt for Python 3.9 --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index ca43f16..80433e6 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -22,7 +22,7 @@ Name: python-%{pypi_name} Version: 3.3.17 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -385,6 +385,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Tue May 26 2020 Miro Hrončok - 3.3.17-3 +- Rebuilt for Python 3.9 + * Wed Mar 04 2020 Felix Schwarz - 3.3.17-2 - add missing sources From 9dc577154833018b6a30d9eef7743a323cd7e80f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 13 Jul 2020 21:04:31 +0200 Subject: [PATCH 049/111] Replace Python version glob with macro (needed for Python 3.10+) See https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/PQIGCQCRNBYNXBX2ICWEM3PLDLNOG2ZT/ Co-authored-by: Tomas Hrnciar --- python-dns-lexicon.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 80433e6..1057b2d 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -369,7 +369,7 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %{_bindir}/lexicon-3 %{_bindir}/lexicon-%{python3_version} %{python3_sitelib}/lexicon -%{python3_sitelib}/dns_lexicon-%{version}-py?.?.egg-info +%{python3_sitelib}/dns_lexicon-%{version}-py%{python3_version}.egg-info # Extras meta-packages # {{{ From 2c1eb2c1458815c9cfe98e9e89c412d65290c277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 10 Jul 2020 20:42:48 +0200 Subject: [PATCH 050/111] Add metadata for Python extras subpackages --- python-dns-lexicon.spec | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 1057b2d..6034adf 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -22,7 +22,7 @@ Name: python-%{pypi_name} Version: 3.3.17 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -375,16 +375,31 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 # {{{ %if %{with extras} %files -n python3-%{pypi_name}+easyname +%{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}-py%{python3_version}.egg-info} + %files -n python3-%{pypi_name}+gratisdns +%{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}-py%{python3_version}.egg-info} + %files -n python3-%{pypi_name}+henet +%{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}-py%{python3_version}.egg-info} + %files -n python3-%{pypi_name}+hetzner +%{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}-py%{python3_version}.egg-info} + %files -n python3-%{pypi_name}+plesk +%{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}-py%{python3_version}.egg-info} + %files -n python3-%{pypi_name}+route53 +%{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}-py%{python3_version}.egg-info} + %endif # }}} %endif %changelog +* Fri Jul 10 2020 Miro Hrončok - 3.3.17-4 +- Add metadata for Python extras subpackages + * Tue May 26 2020 Miro Hrončok - 3.3.17-3 - Rebuilt for Python 3.9 From b444fb7d596730a72fe3d29dbb78bccc85051ea7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 00:46:39 +0000 Subject: [PATCH 051/111] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 6034adf..c79ec58 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -22,7 +22,7 @@ Name: python-%{pypi_name} Version: 3.3.17 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -397,6 +397,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 3.3.17-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jul 10 2020 Miro Hrončok - 3.3.17-4 - Add metadata for Python extras subpackages From 6e7d48dae286715cca105b4ad4afc8383c17d995 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Thu, 9 Jul 2020 10:31:42 +0200 Subject: [PATCH 052/111] run tests in %check (Fedora only) --- .gitignore | 20 ++------------------ python-dns-lexicon.spec | 35 +++++++++++++++++++++++++++++++---- sources | 2 +- 3 files changed, 34 insertions(+), 23 deletions(-) diff --git a/.gitignore b/.gitignore index 647f8d6..d5f96ca 100644 --- a/.gitignore +++ b/.gitignore @@ -1,18 +1,2 @@ -/dns-lexicon-2.1.19.tar.gz -/dns-lexicon-2.2.1.tar.gz -/dns-lexicon-2.2.2.tar.gz -/dns-lexicon-2.2.3.tar.gz -/dns-lexicon-2.3.0.tar.gz -/dns-lexicon-2.4.0.tar.gz -/dns-lexicon-2.4.3.tar.gz -/dns-lexicon-2.4.4.tar.gz -/dns-lexicon-2.4.5.tar.gz -/dns-lexicon-2.7.0.tar.gz -/dns-lexicon-2.7.9.tar.gz -/dns-lexicon-3.0.2.tar.gz -/dns-lexicon-3.0.6.tar.gz -/dns-lexicon-3.1.5.tar.gz -/dns-lexicon-3.2.6.tar.gz -/dns-lexicon-3.2.8.tar.gz -/dns-lexicon-3.3.4.tar.gz -/dns-lexicon-3.3.17.tar.gz +/dns-lexicon-*.tar.gz +/lexicon-*.tar.gz diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index c79ec58..160e2db 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,3 +1,8 @@ + +%global forgeurl https://github.com/AnalogJ/lexicon +Version: 3.3.17 +%forgemeta + %global pypi_name dns-lexicon %if 0%{?rhel} && 0%{?rhel} == 7 @@ -21,13 +26,13 @@ %endif Name: python-%{pypi_name} -Version: 3.3.17 Release: 5%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT -URL: https://github.com/AnalogJ/lexicon -Source0: %{pypi_source} +URL: %{forgeurl} +# pypi releases don't contain necessary data to run the tests +Source0: %{forgesource} BuildArch: noarch Patch0: 0000-remove-shebang.patch @@ -63,6 +68,10 @@ BuildRequires: python3-future BuildRequires: python3-pyOpenSSL BuildRequires: python3-tldextract BuildRequires: python3-pyyaml +# required to run the test suite +BuildRequires: python3-pytest +BuildRequires: python3-mock +BuildRequires: python3-pytest-vcr # Extras requirements # {{{ @@ -309,7 +318,7 @@ dependencies necessary to use the Hetzner provider. # }}} %prep -%setup -n %{pypi_name}-%{version} +%setup -n lexicon-%{version} %patch0 -p1 %if 0%{?rhel7} %patch1 -p1 @@ -326,6 +335,24 @@ rm -rf %{pypi_name}.egg-info %py3_build %endif +%check +# AutoProviderTests: unknown failure - exclude to get suite passing for now +# lexicon providers which do not work in Fedora due to missing dependencies: +# - TransipProviderTests +# - SoftLayerProviderTests +# - NamecheapProviderTests +# - NamecheapManagedProviderTests +# - GransyProviderTests +# - LocalzoneProviderTests +TEST_SELECTOR="not AutoProviderTests and not TransipProviderTests and not SoftLayerProviderTests and not NamecheapProviderTests and not NamecheapManagedProviderTests and not GransyProviderTests and not LocalzoneProviderTests" +%if %{with python2} +# no tests with Python 2 as EPEL 7 does not provide the pytest-vcr package +%endif +%if 0%{?fedora} && %{with python3} +# EPEL 8 does not provide the python3-pytest-vcr package +py.test-3 -v -k "${TEST_SELECTOR}" lexicon +%endif + %install %if %{with python2} %py2_install diff --git a/sources b/sources index 000178d..8397c6e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dns-lexicon-3.3.17.tar.gz) = cfaff78df6c98809fd9c6ac9941bb62c3b8f4849b66bf26fddfffb4802a4ef00a9261ae03685131e428450fea399d911ff80e2dbd7feb9256be3b2ff2e4189f4 +SHA512 (lexicon-3.3.17.tar.gz) = 170c9df5765c1471053b4ace1065f61265724149d6774033db898622b58f076e22dc9b84ed1809c7c0097c1351f3115c8c3821d0fa512e3772022f7af73af59e From 6bb36982c5a27bab569b0b394634ad90d01c56ce Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Wed, 19 Aug 2020 09:40:35 +0200 Subject: [PATCH 053/111] drop support for Python 2 subpackages: lexicon 3.4.0 will not support Python 2.7 anymore --- python-dns-lexicon.spec | 198 +--------------------------------------- 1 file changed, 1 insertion(+), 197 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 160e2db..71e9705 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -9,15 +9,6 @@ Version: 3.3.17 %global rhel7 1 %endif -%if 0%{?rhel7} -%bcond_with python3 -%bcond_without python2 -%else -# RHEL 8/Fedora: Python 3 only -%bcond_without python3 -%bcond_with python2 -%endif - %if 0%{?rhel} >= 8 # EPEL8 is currently missing dependencies used by the extras metapackages %bcond_with extras @@ -38,29 +29,6 @@ BuildArch: noarch Patch0: 0000-remove-shebang.patch Patch1: 0001-fix-requirements.patch -%if %{with python2} -BuildRequires: python2-devel -BuildRequires: python2-setuptools -BuildRequires: python2-cryptography -BuildRequires: python2-future -BuildRequires: python2-pyyaml -BuildRequires: python2-tldextract -# EL7 has an unversioned name for this package -BuildRequires: pyOpenSSL - -# Extras requirements -# {{{ -%if %{with extras} -# EL7 has unversioned names for these packages -BuildRequires: python-beautifulsoup4 -BuildRequires: python-boto3 -BuildRequires: python-xmltodict -# EL7 doesn't have a current enough version of python2-dns -%endif -# }}} -%endif - -%if %{with python3} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-cryptography @@ -83,40 +51,11 @@ BuildRequires: python3-xmltodict %endif # }}} -%endif - %description Lexicon provides a way to manipulate DNS records on multiple DNS providers in a standardized way. Lexicon has a CLI but it can also be used as a python library. -%if %{with python2} -%package -n python2-%{pypi_name} -Summary: %{summary} -%{?python_provide:%python_provide python2-%{pypi_name}} - -Requires: python2-cryptography -Requires: python2-future -Requires: python2-requests -Requires: python2-setuptools -Requires: python2-pyyaml -Requires: python2-tldextract -# EL7 has an unversioned name for this package -Requires: pyOpenSSL - -# Both packages install a Python module named lexicon -# TODO: Remove this once resolved upstream (see upstream #222) -Conflicts: python-lexicon - -%description -n python2-%{pypi_name} -Lexicon provides a way to manipulate DNS records on multiple DNS providers in a -standardized way. Lexicon has a CLI but it can also be used as a python -library. - -This is the Python 2 version of the package. -%endif - -%if %{with python3} %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} @@ -139,27 +78,11 @@ standardized way. Lexicon has a CLI but it can also be used as a python library. This is the Python 3 version of the package. -%endif # Extras meta-packages # {{{ %if %{with extras} -%if %{with python2} -%package -n python2-%{pypi_name}+easyname -Summary: Meta-package for python2-%{pypi_name} and easyname provider -%{?python_provide:%python_provide python2-%{pypi_name}+easyname} - -Requires: python2-%{pypi_name} = %{version}-%{release} -# EL7 has an unversioned name for this package -Requires: python-beautifulsoup4 - -%description -n python2-%{pypi_name}+easyname -This package installs no files. It requires python2-%{pypi_name} and all -dependencies necessary to use the easyname provider. -%endif - -%if %{with python3} %package -n python3-%{pypi_name}+easyname Summary: Meta-package for python3-%{pypi_name} and easyname provider %{?python_provide:%python_provide python3-%{pypi_name}+easyname} @@ -170,23 +93,8 @@ Requires: python3-beautifulsoup4 %description -n python3-%{pypi_name}+easyname This package installs no files. It requires python3-%{pypi_name} and all dependencies necessary to use the easyname provider. -%endif -%if %{with python2} -%package -n python2-%{pypi_name}+gratisdns -Summary: Meta-package for python2-%{pypi_name} and gratisdns provider -%{?python_provide:%python_provide python2-%{pypi_name}+gratisdns} -Requires: python2-%{pypi_name} = %{version}-%{release} -# EL7 has an unversioned name for this package -Requires: python-beautifulsoup4 - -%description -n python2-%{pypi_name}+gratisdns -This package installs no files. It requires python2-%{pypi_name} and all -dependencies necessary to use the gratisdns provider. -%endif - -%if %{with python3} %package -n python3-%{pypi_name}+gratisdns Summary: Meta-package for python3-%{pypi_name} and gratisdns provider %{?python_provide:%python_provide python3-%{pypi_name}+gratisdns} @@ -197,23 +105,8 @@ Requires: python3-beautifulsoup4 %description -n python3-%{pypi_name}+gratisdns This package installs no files. It requires python3-%{pypi_name} and all dependencies necessary to use the gratisdns provider. -%endif -%if %{with python2} -%package -n python2-%{pypi_name}+henet -Summary: Meta-package for python2-%{pypi_name} and Hurricane Electric provider -%{?python_provide:%python_provide python2-%{pypi_name}+henet} -Requires: python2-%{pypi_name} = %{version}-%{release} -# EL7 has an unversioned name for this package -Requires: python-beautifulsoup4 - -%description -n python2-%{pypi_name}+henet -This package installs no files. It requires python2-%{pypi_name} and all -dependencies necessary to use the Hurricane Electric provider. -%endif - -%if %{with python3} %package -n python3-%{pypi_name}+henet Summary: Meta-package for python3-%{pypi_name} and Hurricane Electric provider %{?python_provide:%python_provide python3-%{pypi_name}+henet} @@ -226,21 +119,7 @@ This package installs no files. It requires python3-%{pypi_name} and all dependencies necessary to use the Hurricane Electric provider. %endif -%if %{with python2} -%package -n python2-%{pypi_name}+plesk -Summary: Meta-package for python2-%{pypi_name} and Plesk provider -%{?python_provide:%python_provide python2-%{pypi_name}+plesk} -Requires: python2-%{pypi_name} = %{version}-%{release} -# EL7 has an unversioned name for this package -Requires: python-xmltodict - -%description -n python2-%{pypi_name}+plesk -This package installs no files. It requires python2-%{pypi_name} and all -dependencies necessary to use the Plesk provider. -%endif - -%if %{with python3} %package -n python3-%{pypi_name}+plesk Summary: Meta-package for python3-%{pypi_name} and Plesk provider %{?python_provide:%python_provide python3-%{pypi_name}+plesk} @@ -251,23 +130,8 @@ Requires: python3-xmltodict %description -n python3-%{pypi_name}+plesk This package installs no files. It requires python3-%{pypi_name} and all dependencies necessary to use the Plesk provider. -%endif -%if %{with python2} -%package -n python2-%{pypi_name}+route53 -Summary: Meta-package for python2-%{pypi_name} and Route 53 provider -%{?python_provide:%python_provide python2-%{pypi_name}+route53} -Requires: python2-%{pypi_name} = %{version}-%{release} -# EL7 has an unversioned name for this package -Requires: python-boto3 - -%description -n python2-%{pypi_name}+route53 -This package installs no files. It requires python2-%{pypi_name} and all -dependencies necessary to use the Route 53 provider. -%endif - -%if %{with python3} %package -n python3-%{pypi_name}+route53 Summary: Meta-package for python3-%{pypi_name} and Route 53 provider %{?python_provide:%python_provide python3-%{pypi_name}+route53} @@ -278,27 +142,11 @@ Requires: python3-boto3 %description -n python3-%{pypi_name}+route53 This package installs no files. It requires python3-%{pypi_name} and all dependencies necessary to use the Route 53 provider. -%endif %if ! 0%{?rhel7} # EL7 does not have the dependencies necessary for this meta-package # {{{ -%if %{with python2} -%package -n python2-%{pypi_name}+hetzner -Summary: Meta-package for python2-%{pypi_name} and Hetzner provider -%{?python_provide:%python_provide python2-%{pypi_name}+hetzner} - -Requires: python2-%{pypi_name} = %{version}-%{release} -Requires: python2-beautifulsoup4 -Requires: python2-dns >= 1.15.0 - -%description -n python2-%{pypi_name}+hetzner -This package installs no files. It requires python2-%{pypi_name} and all -dependencies necessary to use the Hetzner provider. -%endif - -%if %{with python3} %package -n python3-%{pypi_name}+hetzner Summary: Meta-package for python3-%{pypi_name} and Hetzner provider %{?python_provide:%python_provide python3-%{pypi_name}+hetzner} @@ -310,12 +158,9 @@ Requires: python3-dns >= 1.15.0 %description -n python3-%{pypi_name}+hetzner This package installs no files. It requires python3-%{pypi_name} and all dependencies necessary to use the Hetzner provider. -%endif # }}} %endif -%endif -# }}} %prep %setup -n lexicon-%{version} @@ -327,13 +172,7 @@ dependencies necessary to use the Hetzner provider. rm -rf %{pypi_name}.egg-info %build -%if %{with python2} -%py2_build -%endif - -%if %{with python3} %py3_build -%endif %check # AutoProviderTests: unknown failure - exclude to get suite passing for now @@ -345,50 +184,16 @@ rm -rf %{pypi_name}.egg-info # - GransyProviderTests # - LocalzoneProviderTests TEST_SELECTOR="not AutoProviderTests and not TransipProviderTests and not SoftLayerProviderTests and not NamecheapProviderTests and not NamecheapManagedProviderTests and not GransyProviderTests and not LocalzoneProviderTests" -%if %{with python2} -# no tests with Python 2 as EPEL 7 does not provide the pytest-vcr package -%endif -%if 0%{?fedora} && %{with python3} +%if 0%{?fedora} # EPEL 8 does not provide the python3-pytest-vcr package py.test-3 -v -k "${TEST_SELECTOR}" lexicon %endif %install -%if %{with python2} -%py2_install -install -pm 0755 %{buildroot}/%{_bindir}/lexicon %{buildroot}/%{_bindir}/lexicon-%{python2_version} -ln -s %{_bindir}/lexicon-%{python2_version} %{buildroot}/%{_bindir}/lexicon-2 -%endif - -%if %{with python3} %py3_install install -pm 0755 %{buildroot}/%{_bindir}/lexicon %{buildroot}/%{_bindir}/lexicon-%{python3_version} ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 -%endif -%if %{with python2} -%files -n python2-%{pypi_name} -%license LICENSE -%doc README.md -%if ! %{with python3} -%{_bindir}/lexicon -%endif -%{_bindir}/lexicon-2 -%{_bindir}/lexicon-%{python2_version} -%{python2_sitelib}/lexicon -%{python2_sitelib}/dns_lexicon-%{version}-py?.?.egg-info - -# Extras meta-packages -# {{{ -%files -n python2-%{pypi_name}+easyname -%files -n python2-%{pypi_name}+gratisdns -%files -n python2-%{pypi_name}+henet -%files -n python2-%{pypi_name}+plesk -%files -n python2-%{pypi_name}+route53 -# }}} -%endif - -%if %{with python3} %files -n python3-%{pypi_name} %license LICENSE %doc README.md @@ -421,7 +226,6 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 %endif # }}} -%endif %changelog * Wed Jul 29 2020 Fedora Release Engineering - 3.3.17-5 From 2459b2015dc1e1cf61c38d90b12711d2b33fbd7c Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Tue, 17 Nov 2020 00:47:06 +0100 Subject: [PATCH 054/111] update to 3.5.1 (#1764339) also run test suite and use poetry --- .gitignore | 1 + 0000-remove-shebang.patch | 4 +- 0001-fix-requirements.patch | 21 ----- python-dns-lexicon.spec | 158 ++++++++++++++---------------------- sources | 2 +- 5 files changed, 63 insertions(+), 123 deletions(-) delete mode 100644 0001-fix-requirements.patch diff --git a/.gitignore b/.gitignore index d5f96ca..6e740f3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /dns-lexicon-*.tar.gz /lexicon-*.tar.gz + diff --git a/0000-remove-shebang.patch b/0000-remove-shebang.patch index dd0a7d5..77bcdec 100644 --- a/0000-remove-shebang.patch +++ b/0000-remove-shebang.patch @@ -1,9 +1,9 @@ diff --git a/lexicon/cli.py b/lexicon/cli.py -index dbef1ae..32a0f6f 100644 +index d2e2a41..3b6ba67 100644 --- a/lexicon/cli.py +++ b/lexicon/cli.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python """Module for Lexicon command-line interface""" from __future__ import absolute_import, print_function - import json + diff --git a/0001-fix-requirements.patch b/0001-fix-requirements.patch deleted file mode 100644 index be28efa..0000000 --- a/0001-fix-requirements.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff --git a/setup.py b/setup.py -index 7d68954..0c211c4 100644 ---- a/setup.py -+++ b/setup.py -@@ -113,14 +113,14 @@ setup( - # requirements files see: - # https://packaging.python.org/en/latest/requirements.html - install_requires=[ -- 'requests[security]', -+ 'requests', - 'tldextract', - 'future', - 'cryptography', - 'pyyaml', - ], - -- extras_require=extras_require, -+ #extras_require=extras_require, - - # To provide executable scripts, use entry points in preference to the - # "scripts" keyword. Entry points provide cross-platform support and allow diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 71e9705..1676b3f 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/AnalogJ/lexicon -Version: 3.3.17 +Version: 3.5.1 %forgemeta %global pypi_name dns-lexicon @@ -17,7 +17,7 @@ Version: 3.3.17 %endif Name: python-%{pypi_name} -Release: 5%{?dist} +Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -27,30 +27,25 @@ Source0: %{forgesource} BuildArch: noarch Patch0: 0000-remove-shebang.patch -Patch1: 0001-fix-requirements.patch -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-cryptography -BuildRequires: python3-future -BuildRequires: python3-pyOpenSSL -BuildRequires: python3-tldextract -BuildRequires: python3-pyyaml +BuildRequires: pyproject-rpm-macros +BuildRequires: poetry >= 0.12 +BuildRequires: python3-pyparsing >= 2.0.2 +BuildRequires: python3-six + # required to run the test suite -BuildRequires: python3-pytest BuildRequires: python3-mock +BuildRequires: python3-pytest BuildRequires: python3-pytest-vcr # Extras requirements # {{{ %if %{with extras} -BuildRequires: python3-beautifulsoup4 BuildRequires: python3-boto3 -BuildRequires: python3-dns >= 1.15.0 -BuildRequires: python3-xmltodict %endif # }}} + %description Lexicon provides a way to manipulate DNS records on multiple DNS providers in a standardized way. Lexicon has a CLI but it can also be used as a python @@ -72,6 +67,28 @@ Requires: python3-pyyaml # TODO: Remove this once resolved upstream (see upstream #222) Conflicts: python3-lexicon +# These "extras" were previously present in upstream lexicon but are not there +# anymore. +# {{{ +%if %{with extras} +Obsoletes: python3-%{pypi_name}+easyname < 3.4 +Provides: python3dist(%{pypi_name}[easyname]) = %{version} +Provides: python%{python3_version}dist(%{pypi_name}[easyname]) = %{version} + +Obsoletes: python3-%{pypi_name}+gratisdns < 3.4 +Provides: python3dist(%{pypi_name}[gratisdns]) = %{version} +Provides: python%{python3_version}dist(%{pypi_name}[gratisdns]) = %{version} + +Obsoletes: python3-%{pypi_name}+henet < 3.4 +Provides: python3dist(%{pypi_name}[henet]) = %{version} +Provides: python%{python3_version}dist(%{pypi_name}[henet]) = %{version} + +Obsoletes: python3-%{pypi_name}+hetzner < 3.4 +Provides: python3dist(%{pypi_name}[hetzner]) = %{version} +Provides: python%{python3_version}dist(%{pypi_name}[hetzner]) = %{version} +%endif +# }}} + %description -n python3-%{pypi_name} Lexicon provides a way to manipulate DNS records on multiple DNS providers in a standardized way. Lexicon has a CLI but it can also be used as a python @@ -79,46 +96,6 @@ library. This is the Python 3 version of the package. -# Extras meta-packages -# {{{ -%if %{with extras} - -%package -n python3-%{pypi_name}+easyname -Summary: Meta-package for python3-%{pypi_name} and easyname provider -%{?python_provide:%python_provide python3-%{pypi_name}+easyname} - -Requires: python3-%{pypi_name} = %{version}-%{release} -Requires: python3-beautifulsoup4 - -%description -n python3-%{pypi_name}+easyname -This package installs no files. It requires python3-%{pypi_name} and all -dependencies necessary to use the easyname provider. - - -%package -n python3-%{pypi_name}+gratisdns -Summary: Meta-package for python3-%{pypi_name} and gratisdns provider -%{?python_provide:%python_provide python3-%{pypi_name}+gratisdns} - -Requires: python3-%{pypi_name} = %{version}-%{release} -Requires: python3-beautifulsoup4 - -%description -n python3-%{pypi_name}+gratisdns -This package installs no files. It requires python3-%{pypi_name} and all -dependencies necessary to use the gratisdns provider. - - -%package -n python3-%{pypi_name}+henet -Summary: Meta-package for python3-%{pypi_name} and Hurricane Electric provider -%{?python_provide:%python_provide python3-%{pypi_name}+henet} - -Requires: python3-%{pypi_name} = %{version}-%{release} -Requires: python3-beautifulsoup4 - -%description -n python3-%{pypi_name}+henet -This package installs no files. It requires python3-%{pypi_name} and all -dependencies necessary to use the Hurricane Electric provider. -%endif - %package -n python3-%{pypi_name}+plesk Summary: Meta-package for python3-%{pypi_name} and Plesk provider @@ -143,39 +120,24 @@ Requires: python3-boto3 This package installs no files. It requires python3-%{pypi_name} and all dependencies necessary to use the Route 53 provider. -%if ! 0%{?rhel7} -# EL7 does not have the dependencies necessary for this meta-package -# {{{ - -%package -n python3-%{pypi_name}+hetzner -Summary: Meta-package for python3-%{pypi_name} and Hetzner provider -%{?python_provide:%python_provide python3-%{pypi_name}+hetzner} - -Requires: python3-%{pypi_name} = %{version}-%{release} -Requires: python3-beautifulsoup4 -Requires: python3-dns >= 1.15.0 - -%description -n python3-%{pypi_name}+hetzner -This package installs no files. It requires python3-%{pypi_name} and all -dependencies necessary to use the Hetzner provider. -# }}} -%endif - - %prep -%setup -n lexicon-%{version} -%patch0 -p1 -%if 0%{?rhel7} -%patch1 -p1 -%endif +%autosetup -n lexicon-%{version} -p1 # Remove bundled egg-info rm -rf %{pypi_name}.egg-info +rm setup.py + +%generate_buildrequires +%pyproject_buildrequires -r -t -e light -x route53,plesk + %build -%py3_build +%pyproject_wheel %check # AutoProviderTests: unknown failure - exclude to get suite passing for now +# GoDaddyProviderTests: unknown failure - just get the suite passing for now +# TypeError: __init__() got an unexpected keyword argument 'allowed_methods' +# # lexicon providers which do not work in Fedora due to missing dependencies: # - TransipProviderTests # - SoftLayerProviderTests @@ -183,51 +145,49 @@ rm -rf %{pypi_name}.egg-info # - NamecheapManagedProviderTests # - GransyProviderTests # - LocalzoneProviderTests -TEST_SELECTOR="not AutoProviderTests and not TransipProviderTests and not SoftLayerProviderTests and not NamecheapProviderTests and not NamecheapManagedProviderTests and not GransyProviderTests and not LocalzoneProviderTests" -%if 0%{?fedora} +TEST_SELECTOR="not AutoProviderTests and not GoDaddyProviderTests and not TransipProviderTests and not SoftLayerProviderTests and not NamecheapProviderTests and not NamecheapManagedProviderTests and not GransyProviderTests and not LocalzoneProviderTests" # EPEL 8 does not provide the python3-pytest-vcr package +%if 0%{?fedora} +# The %%tox macro lacks features so we need to use pytest directly: +# Miro Hrončok, 2020-09-11: +# > I am afraid the %%tox macro can only work with "static" deps declaration, +# > not with arbitrary installers invoked as commands, sorry about that. py.test-3 -v -k "${TEST_SELECTOR}" lexicon %endif %install -%py3_install +%pyproject_install install -pm 0755 %{buildroot}/%{_bindir}/lexicon %{buildroot}/%{_bindir}/lexicon-%{python3_version} -ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3 +cd %{buildroot}/%{_bindir} +ln -s lexicon-%{python3_version} lexicon-3 +rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests + %files -n python3-%{pypi_name} %license LICENSE -%doc README.md +%doc README.rst %{_bindir}/lexicon %{_bindir}/lexicon-3 %{_bindir}/lexicon-%{python3_version} %{python3_sitelib}/lexicon -%{python3_sitelib}/dns_lexicon-%{version}-py%{python3_version}.egg-info +%{python3_sitelib}/dns_lexicon-%{version}.dist-info # Extras meta-packages # {{{ %if %{with extras} -%files -n python3-%{pypi_name}+easyname -%{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}-py%{python3_version}.egg-info} - -%files -n python3-%{pypi_name}+gratisdns -%{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}-py%{python3_version}.egg-info} - -%files -n python3-%{pypi_name}+henet -%{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}-py%{python3_version}.egg-info} - -%files -n python3-%{pypi_name}+hetzner -%{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}-py%{python3_version}.egg-info} - %files -n python3-%{pypi_name}+plesk -%{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}-py%{python3_version}.egg-info} +%{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}.dist-info} %files -n python3-%{pypi_name}+route53 -%{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}-py%{python3_version}.egg-info} +%{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}.dist-info} %endif # }}} %changelog +* Mon Nov 16 2020 Felix Schwarz - 3.5.1-1 +- update to 3.5.1 + * Wed Jul 29 2020 Fedora Release Engineering - 3.3.17-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 8397c6e..caa03a1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lexicon-3.3.17.tar.gz) = 170c9df5765c1471053b4ace1065f61265724149d6774033db898622b58f076e22dc9b84ed1809c7c0097c1351f3115c8c3821d0fa512e3772022f7af73af59e +SHA512 (lexicon-3.5.1.tar.gz) = 1333d627811f25a8c8915cd5b4253771a917bb8e2824af35c6579dadf294248fa7bcb59863c4f53f8d95a0ae49d8de7d22e9042980978ea853d1a222523bbb4b From 304146277d9513ba5f38ff176ff484689ab72b32 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Tue, 24 Nov 2020 17:12:45 +0100 Subject: [PATCH 055/111] update to 3.5.2 --- python-dns-lexicon.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 1676b3f..804eeca 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/AnalogJ/lexicon -Version: 3.5.1 +Version: 3.5.2 %forgemeta %global pypi_name dns-lexicon @@ -185,6 +185,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Tue Nov 24 2020 Felix Schwarz - 3.5.2-1 +- update to 3.5.2 + * Mon Nov 16 2020 Felix Schwarz - 3.5.1-1 - update to 3.5.1 diff --git a/sources b/sources index caa03a1..8caed10 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lexicon-3.5.1.tar.gz) = 1333d627811f25a8c8915cd5b4253771a917bb8e2824af35c6579dadf294248fa7bcb59863c4f53f8d95a0ae49d8de7d22e9042980978ea853d1a222523bbb4b +SHA512 (lexicon-3.5.2.tar.gz) = ba682cb7be854b0623eefa36398cd39c768d3090e23c663008964d9ca9117d85c1958a98dfd87cd09db384a467d3b536f435e59c3ddb50dcc0c63a152f309f03 From f0aef2dde013800de1d061ae3abe4368f3690dc6 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Wed, 6 Jan 2021 00:10:15 +0100 Subject: [PATCH 056/111] update to 3.5.3 --- python-dns-lexicon.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 804eeca..32694c0 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/AnalogJ/lexicon -Version: 3.5.2 +Version: 3.5.3 %forgemeta %global pypi_name dns-lexicon @@ -185,6 +185,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Tue Jan 5 2021 Felix Schwarz - 3.5.3-1 +- update to 3.5.3 + * Tue Nov 24 2020 Felix Schwarz - 3.5.2-1 - update to 3.5.2 diff --git a/sources b/sources index 8caed10..6079f10 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lexicon-3.5.2.tar.gz) = ba682cb7be854b0623eefa36398cd39c768d3090e23c663008964d9ca9117d85c1958a98dfd87cd09db384a467d3b536f435e59c3ddb50dcc0c63a152f309f03 +SHA512 (lexicon-3.5.3.tar.gz) = 98cc7a4099998ed6d3195f345ac59a71b8281ed3b3c61484da39175697fb7f48a6855b2f71467c38bdef0da4b107dc39333de552ab81f4aed8687f13ed0c24ea From 81286e00c69db5222ad3650cf030e15a797310e5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 10:24:38 +0000 Subject: [PATCH 057/111] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 32694c0..21a9ffb 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -17,7 +17,7 @@ Version: 3.5.3 %endif Name: python-%{pypi_name} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -185,6 +185,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 3.5.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Jan 5 2021 Felix Schwarz - 3.5.3-1 - update to 3.5.3 From 992b2ace34389bd585896c08e6c3e17fb59d80c5 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 4 Jun 2021 20:30:33 +0200 Subject: [PATCH 058/111] Rebuilt for Python 3.10 --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 21a9ffb..97e4cff 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -17,7 +17,7 @@ Version: 3.5.3 %endif Name: python-%{pypi_name} -Release: 2%{?dist} +Release: 3%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -185,6 +185,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Fri Jun 04 2021 Python Maint - 3.5.3-3 +- Rebuilt for Python 3.10 + * Wed Jan 27 2021 Fedora Release Engineering - 3.5.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 962c3218307dd1b8cec431b5cbc65e9e791ac42a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 06:10:23 +0000 Subject: [PATCH 059/111] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 97e4cff..60d06eb 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -17,7 +17,7 @@ Version: 3.5.3 %endif Name: python-%{pypi_name} -Release: 3%{?dist} +Release: 4%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -185,6 +185,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 3.5.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Fri Jun 04 2021 Python Maint - 3.5.3-3 - Rebuilt for Python 3.10 From 5e9310e208e24e6e5e71f5fbfc05d668e11b9d5d Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Thu, 19 Aug 2021 22:34:46 +0200 Subject: [PATCH 060/111] update to 3.7.0 --- 0000-remove-shebang.patch | 6 +++--- python-dns-lexicon.spec | 43 +++++++++++++-------------------------- sources | 2 +- 3 files changed, 18 insertions(+), 33 deletions(-) diff --git a/0000-remove-shebang.patch b/0000-remove-shebang.patch index 77bcdec..fd58558 100644 --- a/0000-remove-shebang.patch +++ b/0000-remove-shebang.patch @@ -1,9 +1,9 @@ diff --git a/lexicon/cli.py b/lexicon/cli.py -index d2e2a41..3b6ba67 100644 +index ed2f0ef..73e88ef 100644 --- a/lexicon/cli.py +++ b/lexicon/cli.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python """Module for Lexicon command-line interface""" - from __future__ import absolute_import, print_function - + import json + import logging diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 60d06eb..eca29f5 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/AnalogJ/lexicon -Version: 3.5.3 +Version: 3.7.0 %forgemeta %global pypi_name dns-lexicon @@ -17,7 +17,7 @@ Version: 3.5.3 %endif Name: python-%{pypi_name} -Release: 4%{?dist} +Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -29,12 +29,9 @@ BuildArch: noarch Patch0: 0000-remove-shebang.patch BuildRequires: pyproject-rpm-macros -BuildRequires: poetry >= 0.12 -BuildRequires: python3-pyparsing >= 2.0.2 -BuildRequires: python3-six +BuildRequires: poetry >= 1.0.0 # required to run the test suite -BuildRequires: python3-mock BuildRequires: python3-pytest BuildRequires: python3-pytest-vcr @@ -55,13 +52,6 @@ library. Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} -Requires: python3-cryptography -Requires: python3-future -Requires: python3-requests -Requires: python3-setuptools -Requires: python3-pyOpenSSL -Requires: python3-tldextract -Requires: python3-pyyaml # Both packages install a Python module named lexicon # TODO: Remove this once resolved upstream (see upstream #222) @@ -86,6 +76,11 @@ Provides: python%{python3_version}dist(%{pypi_name}[henet]) = %{version} Obsoletes: python3-%{pypi_name}+hetzner < 3.4 Provides: python3dist(%{pypi_name}[hetzner]) = %{version} Provides: python%{python3_version}dist(%{pypi_name}[hetzner]) = %{version} + +# lexicon 3.6.0 removed the xmltodict dependency (and the "plesk" extra) +Obsoletes: python3-%{pypi_name}+plesk < 3.6 +Provides: python3dist(%{pypi_name}[plesk]) = %{version} +Provides: python%{python3_version}dist(%{pypi_name}[plesk]) = %{version} %endif # }}} @@ -97,18 +92,6 @@ library. This is the Python 3 version of the package. -%package -n python3-%{pypi_name}+plesk -Summary: Meta-package for python3-%{pypi_name} and Plesk provider -%{?python_provide:%python_provide python3-%{pypi_name}+plesk} - -Requires: python3-%{pypi_name} = %{version}-%{release} -Requires: python3-xmltodict - -%description -n python3-%{pypi_name}+plesk -This package installs no files. It requires python3-%{pypi_name} and all -dependencies necessary to use the Plesk provider. - - %package -n python3-%{pypi_name}+route53 Summary: Meta-package for python3-%{pypi_name} and Route 53 provider %{?python_provide:%python_provide python3-%{pypi_name}+route53} @@ -127,7 +110,7 @@ rm -rf %{pypi_name}.egg-info rm setup.py %generate_buildrequires -%pyproject_buildrequires -r -t -e light -x route53,plesk +%pyproject_buildrequires -r -t -e light -x route53 %build @@ -145,7 +128,8 @@ rm setup.py # - NamecheapManagedProviderTests # - GransyProviderTests # - LocalzoneProviderTests -TEST_SELECTOR="not AutoProviderTests and not GoDaddyProviderTests and not TransipProviderTests and not SoftLayerProviderTests and not NamecheapProviderTests and not NamecheapManagedProviderTests and not GransyProviderTests and not LocalzoneProviderTests" +# - OciProviderTests +TEST_SELECTOR="not AutoProviderTests and not GoDaddyProviderTests and not TransipProviderTests and not SoftLayerProviderTests and not NamecheapProviderTests and not NamecheapManagedProviderTests and not GransyProviderTests and not LocalzoneProviderTests and not OciProviderTests" # EPEL 8 does not provide the python3-pytest-vcr package %if 0%{?fedora} # The %%tox macro lacks features so we need to use pytest directly: @@ -175,8 +159,6 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # Extras meta-packages # {{{ %if %{with extras} -%files -n python3-%{pypi_name}+plesk -%{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}.dist-info} %files -n python3-%{pypi_name}+route53 %{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}.dist-info} @@ -185,6 +167,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Thu Aug 19 2021 Felix Schwarz - 3.7.0-1 +- update to 3.7.0 + * Fri Jul 23 2021 Fedora Release Engineering - 3.5.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 6079f10..286ae5e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lexicon-3.5.3.tar.gz) = 98cc7a4099998ed6d3195f345ac59a71b8281ed3b3c61484da39175697fb7f48a6855b2f71467c38bdef0da4b107dc39333de552ab81f4aed8687f13ed0c24ea +SHA512 (lexicon-3.7.0.tar.gz) = aabfb2460bc2665b57552e6267846a0f2e508661dfdefbd22adca5833f32e8034198d1c3d5c33b2b89fb4a0cf0e9a84ec7d90426a6d8ba78acf2f2d0748c2d65 From 76f19ee3fd4cc902974f18f7990d08cd0b3a48db Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Mon, 4 Oct 2021 22:37:20 +0200 Subject: [PATCH 061/111] update to 3.8.0 fixes rhbz #2010418 --- python-dns-lexicon.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index eca29f5..5c4327a 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/AnalogJ/lexicon -Version: 3.7.0 +Version: 3.8.0 %forgemeta %global pypi_name dns-lexicon @@ -167,6 +167,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Mon Oct 04 2021 Felix Schwarz - 3.8.0-1 +- update to 3.8.0 + * Thu Aug 19 2021 Felix Schwarz - 3.7.0-1 - update to 3.7.0 diff --git a/sources b/sources index 286ae5e..73dcc7b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lexicon-3.7.0.tar.gz) = aabfb2460bc2665b57552e6267846a0f2e508661dfdefbd22adca5833f32e8034198d1c3d5c33b2b89fb4a0cf0e9a84ec7d90426a6d8ba78acf2f2d0748c2d65 +SHA512 (lexicon-3.8.0.tar.gz) = a730852550eefd3461fd07c441cea65add2f6c0757a09c7f868da4ccdcd7cd2f1cdca96a652d11eeadab5e6dadceaba1dafc5b1d753efc6c6ec7a2fa2a5f342a From 7637ab31c1cc044318cc9e19106e96315b14fe98 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Sat, 16 Oct 2021 23:01:19 +0200 Subject: [PATCH 062/111] update to 3.8.1 (#2014726) --- python-dns-lexicon.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 5c4327a..afd3b61 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/AnalogJ/lexicon -Version: 3.8.0 +Version: 3.8.1 %forgemeta %global pypi_name dns-lexicon @@ -167,6 +167,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Sat Oct 16 2021 Felix Schwarz - 3.8.1-1 +- update to 3.8.1 (#2014726) + * Mon Oct 04 2021 Felix Schwarz - 3.8.0-1 - update to 3.8.0 diff --git a/sources b/sources index 73dcc7b..f1b4060 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lexicon-3.8.0.tar.gz) = a730852550eefd3461fd07c441cea65add2f6c0757a09c7f868da4ccdcd7cd2f1cdca96a652d11eeadab5e6dadceaba1dafc5b1d753efc6c6ec7a2fa2a5f342a +SHA512 (lexicon-3.8.1.tar.gz) = 6826f1c3ceed43f207e4223a1f1ed231a7ada9c930fe61f76e353a20c979ec09dcc754dedc365d01870e74dfd36a3148582a5393dfe6733309e28e495fc495f9 From b654a336aa581db5f08e5bbadd41993cb507e4f2 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Sat, 13 Nov 2021 09:19:58 +0100 Subject: [PATCH 063/111] update to 3.8.3 (#2020433) --- python-dns-lexicon.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index afd3b61..4ca811d 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/AnalogJ/lexicon -Version: 3.8.1 +Version: 3.8.3 %forgemeta %global pypi_name dns-lexicon @@ -167,6 +167,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Sat Nov 13 2021 Felix Schwarz - 3.8.3-1 +- update to 3.8.3 (#2020433) + * Sat Oct 16 2021 Felix Schwarz - 3.8.1-1 - update to 3.8.1 (#2014726) diff --git a/sources b/sources index f1b4060..ed9d92a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lexicon-3.8.1.tar.gz) = 6826f1c3ceed43f207e4223a1f1ed231a7ada9c930fe61f76e353a20c979ec09dcc754dedc365d01870e74dfd36a3148582a5393dfe6733309e28e495fc495f9 +SHA512 (lexicon-3.8.3.tar.gz) = 3035e9c5d073feb0dd910b79d8de02f2e9bfc81f922bce34ad33c22b583896a781e50f85104799a13133121ab5e88a372667cf0014399df50c5a829747d98073 From 82203bad434d58c5a955d7386806a5c67f2ea81b Mon Sep 17 00:00:00 2001 From: spike Date: Tue, 28 Dec 2021 20:40:08 +0100 Subject: [PATCH 064/111] update to 3.8.4 --- python-dns-lexicon.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 4ca811d..e2fa477 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/AnalogJ/lexicon -Version: 3.8.3 +Version: 3.8.4 %forgemeta %global pypi_name dns-lexicon @@ -167,6 +167,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Tue Dec 28 2021 Christian Schuermann 3.8.4-1 +- update to 3.8.4 + * Sat Nov 13 2021 Felix Schwarz - 3.8.3-1 - update to 3.8.3 (#2020433) diff --git a/sources b/sources index ed9d92a..6b1f913 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lexicon-3.8.3.tar.gz) = 3035e9c5d073feb0dd910b79d8de02f2e9bfc81f922bce34ad33c22b583896a781e50f85104799a13133121ab5e88a372667cf0014399df50c5a829747d98073 +SHA512 (lexicon-3.8.4.tar.gz) = 7a598b38a847e384fda243b76af523701d80d84a2338ef5745ca9f82284675ace5f84bf93cccfeda101584194c15fdbd0d4d8f69fdd0db60ec42d4c063a7916c From db25f69ed540f10be11bbdca3b57103969825d9b Mon Sep 17 00:00:00 2001 From: spike Date: Wed, 29 Dec 2021 21:56:42 +0100 Subject: [PATCH 065/111] update to 3.8.5 --- python-dns-lexicon.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index e2fa477..8ff8196 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/AnalogJ/lexicon -Version: 3.8.4 +Version: 3.8.5 %forgemeta %global pypi_name dns-lexicon @@ -167,6 +167,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Wed Dec 29 2021 Christian Schuermann 3.8.5-1 +- update to 3.8.5 + * Tue Dec 28 2021 Christian Schuermann 3.8.4-1 - update to 3.8.4 diff --git a/sources b/sources index 6b1f913..a56f8a2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lexicon-3.8.4.tar.gz) = 7a598b38a847e384fda243b76af523701d80d84a2338ef5745ca9f82284675ace5f84bf93cccfeda101584194c15fdbd0d4d8f69fdd0db60ec42d4c063a7916c +SHA512 (lexicon-3.8.5.tar.gz) = e50fdb5c0b0d250babaff0a2d485f9112732a9e975cb853329dbcec33fe592e80a28c469b17cc0a5544909285805c1c20578b5e5f4b22ff6259b624be8c6acde From 494e59f6c5a5ada0e32dfd2456649638c86d6537 Mon Sep 17 00:00:00 2001 From: spike Date: Thu, 6 Jan 2022 22:44:51 +0100 Subject: [PATCH 066/111] update to 3.9.0 --- python-dns-lexicon.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 8ff8196..7387eff 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/AnalogJ/lexicon -Version: 3.8.5 +Version: 3.9.0 %forgemeta %global pypi_name dns-lexicon @@ -167,6 +167,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Thu Jan 6 2022 Christian Schuermann 3.8.5-1 +- update to 3.9.0 + * Wed Dec 29 2021 Christian Schuermann 3.8.5-1 - update to 3.8.5 diff --git a/sources b/sources index a56f8a2..012750b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lexicon-3.8.5.tar.gz) = e50fdb5c0b0d250babaff0a2d485f9112732a9e975cb853329dbcec33fe592e80a28c469b17cc0a5544909285805c1c20578b5e5f4b22ff6259b624be8c6acde +SHA512 (lexicon-3.9.0.tar.gz) = 4bc26018e0702345e86fa352eddff89358b34e878864e6273e89798cce81c4ef9e4ff06a1298481c8496237bb26d8d7c3286c82aac99117a49faa64ea329c307 From c94d9f00009c6d578f0c8b6c075a63c5f5e50402 Mon Sep 17 00:00:00 2001 From: spike Date: Mon, 17 Jan 2022 20:53:12 +0100 Subject: [PATCH 067/111] update to 3.9.1 --- python-dns-lexicon.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 7387eff..6b0c28b 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/AnalogJ/lexicon -Version: 3.9.0 +Version: 3.9.1 %forgemeta %global pypi_name dns-lexicon @@ -167,7 +167,10 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog -* Thu Jan 6 2022 Christian Schuermann 3.8.5-1 +* Mon Jan 17 2022 Christian Schuermann 3.9.1-1 +- update to 3.9.1 + +* Thu Jan 6 2022 Christian Schuermann 3.9.0-1 - update to 3.9.0 * Wed Dec 29 2021 Christian Schuermann 3.8.5-1 diff --git a/sources b/sources index 012750b..4d33d56 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lexicon-3.9.0.tar.gz) = 4bc26018e0702345e86fa352eddff89358b34e878864e6273e89798cce81c4ef9e4ff06a1298481c8496237bb26d8d7c3286c82aac99117a49faa64ea329c307 +SHA512 (lexicon-3.9.1.tar.gz) = 1b280709c868d400ddf8194cd15f96d2aed5cdb5c9609a96e2916b369227048167f4a627f8918ec31797ab0f6693190a84684e1fcae16ec48729287fcae9206c From 63982ab4591ea24313708291a49b0c71110e0ad0 Mon Sep 17 00:00:00 2001 From: spike Date: Mon, 17 Jan 2022 21:09:34 +0100 Subject: [PATCH 068/111] update to 3.9.2 --- python-dns-lexicon.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 6b0c28b..ffa1560 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/AnalogJ/lexicon -Version: 3.9.1 +Version: 3.9.2 %forgemeta %global pypi_name dns-lexicon @@ -167,6 +167,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Mon Jan 17 2022 Christian Schuermann 3.9.2-1 +- update to 3.9.2 + * Mon Jan 17 2022 Christian Schuermann 3.9.1-1 - update to 3.9.1 diff --git a/sources b/sources index 4d33d56..b91c067 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lexicon-3.9.1.tar.gz) = 1b280709c868d400ddf8194cd15f96d2aed5cdb5c9609a96e2916b369227048167f4a627f8918ec31797ab0f6693190a84684e1fcae16ec48729287fcae9206c +SHA512 (lexicon-3.9.2.tar.gz) = f4052e2837ee43ce8aaadc9e5adbb522f2a9035a5d1813b35c3bd84fb651e10a42594529328d12153d086f2b8d84bb35eb4af2425010df4e8784f4972de00027 From 3c3d472106db2c5601b6ecd83a8b65b333a568b6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jan 2022 11:48:48 +0000 Subject: [PATCH 069/111] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index ffa1560..022bc1d 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -17,7 +17,7 @@ Version: 3.9.2 %endif Name: python-%{pypi_name} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -167,6 +167,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Fri Jan 21 2022 Fedora Release Engineering - 3.9.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Mon Jan 17 2022 Christian Schuermann 3.9.2-1 - update to 3.9.2 From 119e8954a9ae33bea83bbdf4de4909d905334efa Mon Sep 17 00:00:00 2001 From: spike Date: Tue, 15 Feb 2022 09:05:14 +0100 Subject: [PATCH 070/111] update to 3.9.4 --- python-dns-lexicon.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 022bc1d..dda7cf6 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/AnalogJ/lexicon -Version: 3.9.2 +Version: 3.9.4 %forgemeta %global pypi_name dns-lexicon @@ -17,7 +17,7 @@ Version: 3.9.2 %endif Name: python-%{pypi_name} -Release: 2%{?dist} +Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -167,6 +167,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Tue Feb 15 2022 Christian Schuermann 3.9.4-1 +- update to 3.9.4 + * Fri Jan 21 2022 Fedora Release Engineering - 3.9.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index b91c067..c1bc792 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lexicon-3.9.2.tar.gz) = f4052e2837ee43ce8aaadc9e5adbb522f2a9035a5d1813b35c3bd84fb651e10a42594529328d12153d086f2b8d84bb35eb4af2425010df4e8784f4972de00027 +SHA512 (lexicon-3.9.4.tar.gz) = 5a982a4727fbe88fbc5a505c6ce4712d455fc208dbb3917f74cb6a2a9d7f1891afc39badd6cef200c336aec220da6de435f0680ab972e6e40dac27b5388dc391 From f5b5f9d7cf3923106ece73e25e294ee143f2fd4c Mon Sep 17 00:00:00 2001 From: spike Date: Tue, 19 Apr 2022 16:37:09 +0200 Subject: [PATCH 071/111] update to 3.9.5 --- python-dns-lexicon.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index dda7cf6..aa8f0f9 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/AnalogJ/lexicon -Version: 3.9.4 +Version: 3.9.5 %forgemeta %global pypi_name dns-lexicon @@ -167,6 +167,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Tue Apr 19 2022 Christian Schuermann 3.9.5-1 +- update to 3.9.5 + * Tue Feb 15 2022 Christian Schuermann 3.9.4-1 - update to 3.9.4 diff --git a/sources b/sources index c1bc792..cb9b04c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lexicon-3.9.4.tar.gz) = 5a982a4727fbe88fbc5a505c6ce4712d455fc208dbb3917f74cb6a2a9d7f1891afc39badd6cef200c336aec220da6de435f0680ab972e6e40dac27b5388dc391 +SHA512 (lexicon-3.9.5.tar.gz) = 60c7722a1e894f95b24cceffd5224cad55287db944d36168c759b9f31aae0117803d1972f5ade405a85bccd58551a51aff3db0ba52bbc52600d5ec43a955f003 From 8866a64eb56e714de4e3055259f5412aebfa3a58 Mon Sep 17 00:00:00 2001 From: spike Date: Wed, 27 Apr 2022 04:06:01 +0200 Subject: [PATCH 072/111] Reenable tests for GoDady, Transip, Namecheap and NamecheapManaged providers Add gransy and ddns extra packages Remove explicit BuildRequires (handled by the pyproject_buildrequires macro) Remove explicit extra package Requires (handled by automatic dependency generator) Remove unused rhel7 macro --- python-dns-lexicon.spec | 66 ++++++++++++++++++++++++++--------------- 1 file changed, 42 insertions(+), 24 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index aa8f0f9..950832e 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -5,10 +5,6 @@ Version: 3.9.5 %global pypi_name dns-lexicon -%if 0%{?rhel} && 0%{?rhel} == 7 -%global rhel7 1 -%endif - %if 0%{?rhel} >= 8 # EPEL8 is currently missing dependencies used by the extras metapackages %bcond_with extras @@ -17,7 +13,7 @@ Version: 3.9.5 %endif Name: python-%{pypi_name} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -28,20 +24,12 @@ BuildArch: noarch Patch0: 0000-remove-shebang.patch -BuildRequires: pyproject-rpm-macros -BuildRequires: poetry >= 1.0.0 +BuildRequires: python3-devel # required to run the test suite BuildRequires: python3-pytest BuildRequires: python3-pytest-vcr -# Extras requirements -# {{{ -%if %{with extras} -BuildRequires: python3-boto3 -%endif -# }}} - %description Lexicon provides a way to manipulate DNS records on multiple DNS providers in a @@ -92,17 +80,40 @@ library. This is the Python 3 version of the package. + +%package -n python3-%{pypi_name}+ddns +Summary: Meta-package for python3-%{pypi_name} and ddns provider +%{?python_provide:%python_provide python3-%{pypi_name}+ddns} +Requires: python3-%{pypi_name} = %{version}-%{release} + +%description -n python3-%{pypi_name}+ddns +This package installs no files. It requires python3-%{pypi_name} and all +dependencies necessary to use the ddns provider. + + + +%package -n python3-%{pypi_name}+gransy +Summary: Meta-package for python3-%{pypi_name} and gransy provider +%{?python_provide:%python_provide python3-%{pypi_name}+gransy} +Requires: python3-%{pypi_name} = %{version}-%{release} + +%description -n python3-%{pypi_name}+gransy +This package installs no files. It requires python3-%{pypi_name} and all +dependencies necessary to use the gransy provider. + + + %package -n python3-%{pypi_name}+route53 Summary: Meta-package for python3-%{pypi_name} and Route 53 provider %{?python_provide:%python_provide python3-%{pypi_name}+route53} - Requires: python3-%{pypi_name} = %{version}-%{release} -Requires: python3-boto3 %description -n python3-%{pypi_name}+route53 This package installs no files. It requires python3-%{pypi_name} and all dependencies necessary to use the Route 53 provider. + + %prep %autosetup -n lexicon-%{version} -p1 # Remove bundled egg-info @@ -110,7 +121,7 @@ rm -rf %{pypi_name}.egg-info rm setup.py %generate_buildrequires -%pyproject_buildrequires -r -t -e light -x route53 +%pyproject_buildrequires -r -t -e light -x ddns,gransy,route53 %build @@ -118,18 +129,12 @@ rm setup.py %check # AutoProviderTests: unknown failure - exclude to get suite passing for now -# GoDaddyProviderTests: unknown failure - just get the suite passing for now -# TypeError: __init__() got an unexpected keyword argument 'allowed_methods' # # lexicon providers which do not work in Fedora due to missing dependencies: -# - TransipProviderTests # - SoftLayerProviderTests -# - NamecheapProviderTests -# - NamecheapManagedProviderTests -# - GransyProviderTests # - LocalzoneProviderTests # - OciProviderTests -TEST_SELECTOR="not AutoProviderTests and not GoDaddyProviderTests and not TransipProviderTests and not SoftLayerProviderTests and not NamecheapProviderTests and not NamecheapManagedProviderTests and not GransyProviderTests and not LocalzoneProviderTests and not OciProviderTests" +TEST_SELECTOR="not AutoProviderTests and not SoftLayerProviderTests and not LocalzoneProviderTests and not OciProviderTests" # EPEL 8 does not provide the python3-pytest-vcr package %if 0%{?fedora} # The %%tox macro lacks features so we need to use pytest directly: @@ -160,6 +165,12 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # {{{ %if %{with extras} +%files -n python3-%{pypi_name}+ddns +%{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}.dist-info} + +%files -n python3-%{pypi_name}+gransy +%{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}.dist-info} + %files -n python3-%{pypi_name}+route53 %{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}.dist-info} @@ -167,6 +178,13 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Tue Apr 26 2022 Christian Schuermann 3.9.5-2 +- Reenable tests for GoDady, Transip, Namecheap and NamecheapManaged providers +- Add gransy and ddns extra packages +- Remove explicit BuildRequires (handled by the pyproject_buildrequires macro) +- Remove explicit extra package Requires (handled by automatic dependency generator) +- Remove unused rhel7 macro + * Tue Apr 19 2022 Christian Schuermann 3.9.5-1 - update to 3.9.5 From 199cba562ae192c2c0832bc49abca9c83a8b49a7 Mon Sep 17 00:00:00 2001 From: spike Date: Thu, 28 Apr 2022 08:37:48 +0200 Subject: [PATCH 073/111] Add "tests" conditional to make tests optional on EPEL Ensure that BuildRequires resolve correctly and only relevant tests run when building without extras --- python-dns-lexicon.spec | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 950832e..64e563d 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -6,14 +6,17 @@ Version: 3.9.5 %global pypi_name dns-lexicon %if 0%{?rhel} >= 8 -# EPEL8 is currently missing dependencies used by the extras metapackages +# EPEL is currently missing dependencies used by the extras metapackages +# EPEL is currently missing dependancies used by the tests +%bcond_with tests %bcond_with extras %else +%bcond_without tests %bcond_without extras %endif Name: python-%{pypi_name} -Release: 2%{?dist} +Release: 3%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -27,8 +30,10 @@ Patch0: 0000-remove-shebang.patch BuildRequires: python3-devel # required to run the test suite +%if %{with tests} BuildRequires: python3-pytest BuildRequires: python3-pytest-vcr +%endif %description @@ -121,12 +126,17 @@ rm -rf %{pypi_name}.egg-info rm setup.py %generate_buildrequires +%if %{with extras} %pyproject_buildrequires -r -t -e light -x ddns,gransy,route53 +%else +%pyproject_buildrequires -r -t -e light +%endif %build %pyproject_wheel +%if %{with tests} %check # AutoProviderTests: unknown failure - exclude to get suite passing for now # @@ -135,8 +145,9 @@ rm setup.py # - LocalzoneProviderTests # - OciProviderTests TEST_SELECTOR="not AutoProviderTests and not SoftLayerProviderTests and not LocalzoneProviderTests and not OciProviderTests" -# EPEL 8 does not provide the python3-pytest-vcr package -%if 0%{?fedora} +%if %{without extras} +TEST_SELECTOR+=" and not DDNSProviderTests and not GransyProviderTests and not Route53ProviderTests" +%endif # The %%tox macro lacks features so we need to use pytest directly: # Miro Hrončok, 2020-09-11: # > I am afraid the %%tox macro can only work with "static" deps declaration, @@ -178,6 +189,10 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Thu Apr 28 2022 Christian Schuermann 3.9.5-3 +- Add "tests" conditional to make tests optional on EPEL +- Ensure that BuildRequires resolve correctly and only relevant tests run when building without extras + * Tue Apr 26 2022 Christian Schuermann 3.9.5-2 - Reenable tests for GoDady, Transip, Namecheap and NamecheapManaged providers - Add gransy and ddns extra packages From 0c57b8ff2434250d20186d1d02356d64981defc9 Mon Sep 17 00:00:00 2001 From: spike Date: Sun, 1 May 2022 10:48:49 +0200 Subject: [PATCH 074/111] Update to 3.10.0 --- python-dns-lexicon.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 64e563d..a73669c 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/AnalogJ/lexicon -Version: 3.9.5 +Version: 3.10.0 %forgemeta %global pypi_name dns-lexicon @@ -16,7 +16,7 @@ Version: 3.9.5 %endif Name: python-%{pypi_name} -Release: 3%{?dist} +Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -189,6 +189,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Sun May 1 2022 Christian Schuermann 3.10.0-1 +- Update to 3.10.0 + * Thu Apr 28 2022 Christian Schuermann 3.9.5-3 - Add "tests" conditional to make tests optional on EPEL - Ensure that BuildRequires resolve correctly and only relevant tests run when building without extras diff --git a/sources b/sources index cb9b04c..176c17e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lexicon-3.9.5.tar.gz) = 60c7722a1e894f95b24cceffd5224cad55287db944d36168c759b9f31aae0117803d1972f5ade405a85bccd58551a51aff3db0ba52bbc52600d5ec43a955f003 +SHA512 (lexicon-3.10.0.tar.gz) = 76ede1b55ad388b8d6726d531a4346db5972e79c434db529fa54838b0f40c909cb67a544f3e74e67311c981b8acd4766ec51c67452143989daa9be39176f940a From 70566cc5f6ad20fa7e97c75771a7adebd1e7b748 Mon Sep 17 00:00:00 2001 From: spike Date: Mon, 9 May 2022 17:05:26 +0200 Subject: [PATCH 075/111] Update to 3.11.0 --- python-dns-lexicon.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index a73669c..003c260 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/AnalogJ/lexicon -Version: 3.10.0 +Version: 3.11.0 %forgemeta %global pypi_name dns-lexicon @@ -189,6 +189,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Mon May 9 2022 Christian Schuermann 3.11.0-1 +- Update to 3.11.0 + * Sun May 1 2022 Christian Schuermann 3.10.0-1 - Update to 3.10.0 diff --git a/sources b/sources index 176c17e..0c2c7fe 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lexicon-3.10.0.tar.gz) = 76ede1b55ad388b8d6726d531a4346db5972e79c434db529fa54838b0f40c909cb67a544f3e74e67311c981b8acd4766ec51c67452143989daa9be39176f940a +SHA512 (lexicon-3.11.0.tar.gz) = dcf231908ca2869c0e729b114632ce9f53c7b8d524ea072533403e2f8428d8fda9763a4c73e822a2034abd78f46897009127e9e653fb71e0bc712a72a80da075 From ce9260f36817676d57552f055278d9fca5c4a31c Mon Sep 17 00:00:00 2001 From: spike Date: Mon, 9 May 2022 18:59:05 +0200 Subject: [PATCH 076/111] Disable tests that use tldextract until "suffix_list_url" cli flag is available --- python-dns-lexicon.spec | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 003c260..1e92eba 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -16,7 +16,7 @@ Version: 3.11.0 %endif Name: python-%{pypi_name} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -138,13 +138,24 @@ rm setup.py %if %{with tests} %check -# AutoProviderTests: unknown failure - exclude to get suite passing for now -# +# The following tests use tldextract which tries to fetch +# https://raw.githubusercontent.com/publicsuffix/list/master/public_suffix_list.dat +# on first invocation +# (see https://github.com/john-kurkowski/tldextract/tree/master#note-about-caching) +# - AutoProviderTests +# - NamecheapProviderTests +# - NamecheapManagedProviderTests +# Disabling those until tldextract 3.3.0+ is available on Fedora. +# With tldextract 3.3.0+ we can use Fedora's public suffix list by running +# tldextract --update --suffix_list_url "file:///usr/share/publicsuffix/public_suffix_list.dat" +# prior to running the tests +TEST_SELECTOR="not AutoProviderTests and not NamecheapProviderTests and not NamecheapManagedProviderTests" + # lexicon providers which do not work in Fedora due to missing dependencies: # - SoftLayerProviderTests # - LocalzoneProviderTests # - OciProviderTests -TEST_SELECTOR="not AutoProviderTests and not SoftLayerProviderTests and not LocalzoneProviderTests and not OciProviderTests" +TEST_SELECTOR+=" and not SoftLayerProviderTests and not LocalzoneProviderTests and not OciProviderTests" %if %{without extras} TEST_SELECTOR+=" and not DDNSProviderTests and not GransyProviderTests and not Route53ProviderTests" %endif @@ -189,6 +200,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Mon May 9 2022 Christian Schuermann 3.11.0-2 +- Disable tests that use tldextract until "suffix_list_url" cli flag is available + * Mon May 9 2022 Christian Schuermann 3.11.0-1 - Update to 3.11.0 From 9dad35013cdba18871b45177fe9fc6f1f49c2d7e Mon Sep 17 00:00:00 2001 From: spike Date: Wed, 18 May 2022 06:11:31 +0200 Subject: [PATCH 077/111] Update to 3.11.2 --- python-dns-lexicon.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 1e92eba..f001507 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/AnalogJ/lexicon -Version: 3.11.0 +Version: 3.11.2 %forgemeta %global pypi_name dns-lexicon @@ -16,7 +16,7 @@ Version: 3.11.0 %endif Name: python-%{pypi_name} -Release: 2%{?dist} +Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -200,6 +200,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Wed May 18 2022 Christian Schuermann 3.11.2-1 +- Update to 3.11.2 + * Mon May 9 2022 Christian Schuermann 3.11.0-2 - Disable tests that use tldextract until "suffix_list_url" cli flag is available diff --git a/sources b/sources index 0c2c7fe..e16504c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lexicon-3.11.0.tar.gz) = dcf231908ca2869c0e729b114632ce9f53c7b8d524ea072533403e2f8428d8fda9763a4c73e822a2034abd78f46897009127e9e653fb71e0bc712a72a80da075 +SHA512 (lexicon-3.11.2.tar.gz) = bf77cee4e483b36c8cc8cb176291f0170a1d611551246e27ddd91d9712e8750c9ee57863697e975065f6924c03fdfd636c5c7df29a620d37441b12dd0a1c597d From b559a51e41571d89b91a6d63e90946bb5be4c84a Mon Sep 17 00:00:00 2001 From: spike Date: Wed, 18 May 2022 06:27:48 +0200 Subject: [PATCH 078/111] Disable OciInstancePrincipalProviderTests --- python-dns-lexicon.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index f001507..b8e172e 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -155,7 +155,8 @@ TEST_SELECTOR="not AutoProviderTests and not NamecheapProviderTests and not Name # - SoftLayerProviderTests # - LocalzoneProviderTests # - OciProviderTests -TEST_SELECTOR+=" and not SoftLayerProviderTests and not LocalzoneProviderTests and not OciProviderTests" +# - OciInstancePrincipalProviderTests +TEST_SELECTOR+=" and not SoftLayerProviderTests and not LocalzoneProviderTests and not OciProviderTests and not OciInstancePrincipalProviderTests" %if %{without extras} TEST_SELECTOR+=" and not DDNSProviderTests and not GransyProviderTests and not Route53ProviderTests" %endif @@ -202,6 +203,7 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests %changelog * Wed May 18 2022 Christian Schuermann 3.11.2-1 - Update to 3.11.2 +- Disable OciInstancePrincipalProviderTests * Mon May 9 2022 Christian Schuermann 3.11.0-2 - Disable tests that use tldextract until "suffix_list_url" cli flag is available From c069f8502479cd69f7980ea46c1085c8c5dddd03 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Wed, 15 Jun 2022 15:35:34 +0200 Subject: [PATCH 079/111] Rebuilt for Python 3.11 --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index b8e172e..abf5053 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -16,7 +16,7 @@ Version: 3.11.2 %endif Name: python-%{pypi_name} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -201,6 +201,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Wed Jun 15 2022 Python Maint - 3.11.2-2 +- Rebuilt for Python 3.11 + * Wed May 18 2022 Christian Schuermann 3.11.2-1 - Update to 3.11.2 - Disable OciInstancePrincipalProviderTests From 9c9f30f89389859b0001c7cb89ee1ed998d20ebe Mon Sep 17 00:00:00 2001 From: spike Date: Thu, 23 Jun 2022 21:53:38 +0200 Subject: [PATCH 080/111] Update to 3.11.3 --- python-dns-lexicon.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index abf5053..6c50aa6 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/AnalogJ/lexicon -Version: 3.11.2 +Version: 3.11.3 %forgemeta %global pypi_name dns-lexicon @@ -16,7 +16,7 @@ Version: 3.11.2 %endif Name: python-%{pypi_name} -Release: 2%{?dist} +Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -201,6 +201,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Thu Jun 23 2022 Christian Schuermann 3.11.3-1 +- Update to 3.11.3 + * Wed Jun 15 2022 Python Maint - 3.11.2-2 - Rebuilt for Python 3.11 diff --git a/sources b/sources index e16504c..5ad8d3c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lexicon-3.11.2.tar.gz) = bf77cee4e483b36c8cc8cb176291f0170a1d611551246e27ddd91d9712e8750c9ee57863697e975065f6924c03fdfd636c5c7df29a620d37441b12dd0a1c597d +SHA512 (lexicon-3.11.3.tar.gz) = 770a3c052ecc26fb3a27ac49b8f14132b69ea6ca9dfc93caea1ac66c4e6a458e6484b8a8ab921eea97761216fa34d8ad0d95964cdcff30a5713de7189c1e987d From b41a8291a5d651fb429a26a178204931952c7887 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 22 Jul 2022 18:05:41 +0000 Subject: [PATCH 081/111] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 6c50aa6..369e27a 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -16,7 +16,7 @@ Version: 3.11.3 %endif Name: python-%{pypi_name} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -201,6 +201,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Fri Jul 22 2022 Fedora Release Engineering - 3.11.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Thu Jun 23 2022 Christian Schuermann 3.11.3-1 - Update to 3.11.3 From 918a73fca48d4d012b151fbb5c3613c221f82c36 Mon Sep 17 00:00:00 2001 From: jonathanspw Date: Thu, 11 Aug 2022 18:44:00 -0500 Subject: [PATCH 082/111] update to 3.11.4 --- python-dns-lexicon.spec | 8 ++++++-- sources | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 369e27a..e6cc372 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/AnalogJ/lexicon -Version: 3.11.3 +Version: 3.11.4 %forgemeta %global pypi_name dns-lexicon @@ -16,7 +16,7 @@ Version: 3.11.3 %endif Name: python-%{pypi_name} -Release: 2%{?dist} +Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -201,6 +201,10 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Fri Jul 22 2022 Fedora Release Engineering - 3.11.4-1 +- Update to 3.11.4 +- rhbz#2117798 + * Fri Jul 22 2022 Fedora Release Engineering - 3.11.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index 5ad8d3c..f5251f4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lexicon-3.11.3.tar.gz) = 770a3c052ecc26fb3a27ac49b8f14132b69ea6ca9dfc93caea1ac66c4e6a458e6484b8a8ab921eea97761216fa34d8ad0d95964cdcff30a5713de7189c1e987d +SHA512 (lexicon-3.11.4.tar.gz) = d7c1f085ffcb4589430f744970bbc6793779fb19d4cc29b071937d768cb271330794fccf38b60a82ed6362dda4101ac6643704bb703df242c8f2a17273dc6fbe From 67248f13f20a385cbdd62b1546a60700773c87f7 Mon Sep 17 00:00:00 2001 From: spike Date: Wed, 12 Oct 2022 00:16:26 +0200 Subject: [PATCH 083/111] Update to 3.11.6 --- python-dns-lexicon.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index e6cc372..a9b5d4a 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/AnalogJ/lexicon -Version: 3.11.4 +Version: 3.11.6 %forgemeta %global pypi_name dns-lexicon @@ -201,6 +201,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Wed Oct 12 2022 Christian Schuermann 3.11.6-1 +- Update to 3.11.6 + * Fri Jul 22 2022 Fedora Release Engineering - 3.11.4-1 - Update to 3.11.4 - rhbz#2117798 diff --git a/sources b/sources index f5251f4..ccc2e28 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lexicon-3.11.4.tar.gz) = d7c1f085ffcb4589430f744970bbc6793779fb19d4cc29b071937d768cb271330794fccf38b60a82ed6362dda4101ac6643704bb703df242c8f2a17273dc6fbe +SHA512 (lexicon-3.11.6.tar.gz) = 086aa7daeef176960e058d60495f748c6c2acaf065801e41fe4b77c1bb44c8fd98b13805d9dc393d9be20d4e2d12ebc0967a0e07ec561fa4c33666a8f6e7ab18 From a795a1cd8cc00038d9a3200d8961ce3455951fae Mon Sep 17 00:00:00 2001 From: spike Date: Thu, 27 Oct 2022 06:05:53 +0200 Subject: [PATCH 084/111] Update to 3.11.7 --- python-dns-lexicon.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index a9b5d4a..099fec6 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/AnalogJ/lexicon -Version: 3.11.6 +Version: 3.11.7 %forgemeta %global pypi_name dns-lexicon @@ -201,6 +201,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Thu Oct 27 2022 Christian Schuermann 3.11.7-1 +- Update to 3.11.7 + * Wed Oct 12 2022 Christian Schuermann 3.11.6-1 - Update to 3.11.6 diff --git a/sources b/sources index ccc2e28..b597b97 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lexicon-3.11.6.tar.gz) = 086aa7daeef176960e058d60495f748c6c2acaf065801e41fe4b77c1bb44c8fd98b13805d9dc393d9be20d4e2d12ebc0967a0e07ec561fa4c33666a8f6e7ab18 +SHA512 (lexicon-3.11.7.tar.gz) = 7d3becea6b9d60a4589e9d7e8de010d0b7e6a2c127d1ccc6981d1bff88d09f5a708fd3e9e22f66b8a0a77a331784340662de73607dd25d69c0342795c6afc765 From 17fa249bdd4e75db8828980e23c23337d0221a7a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 20 Jan 2023 12:49:22 +0000 Subject: [PATCH 085/111] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 099fec6..1f58b92 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -16,7 +16,7 @@ Version: 3.11.7 %endif Name: python-%{pypi_name} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -201,6 +201,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Fri Jan 20 2023 Fedora Release Engineering - 3.11.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Thu Oct 27 2022 Christian Schuermann 3.11.7-1 - Update to 3.11.7 From 4baebb69533cddf1f870b6c241ed2c21d0258ddf Mon Sep 17 00:00:00 2001 From: spike Date: Mon, 12 Jun 2023 02:14:39 +0200 Subject: [PATCH 086/111] Update to 3.12.0 Add new duckdns extra package Add localzone and oci extra packages since dependancies are now available on Fedora --- python-dns-lexicon.spec | 60 +++++++++++++++++++++++++++++++++++------ sources | 2 +- 2 files changed, 53 insertions(+), 9 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 1f58b92..267323e 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/AnalogJ/lexicon -Version: 3.11.7 +Version: 3.12.0 %forgemeta %global pypi_name dns-lexicon @@ -16,7 +16,7 @@ Version: 3.11.7 %endif Name: python-%{pypi_name} -Release: 2%{?dist} +Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -97,6 +97,17 @@ dependencies necessary to use the ddns provider. +%package -n python3-%{pypi_name}+duckdns +Summary: Meta-package for python3-%{pypi_name} and duckdns provider +%{?python_provide:%python_provide python3-%{pypi_name}+duckdns} +Requires: python3-%{pypi_name} = %{version}-%{release} + +%description -n python3-%{pypi_name}+duckdns +This package installs no files. It requires python3-%{pypi_name} and all +dependencies necessary to use the duckdns provider. + + + %package -n python3-%{pypi_name}+gransy Summary: Meta-package for python3-%{pypi_name} and gransy provider %{?python_provide:%python_provide python3-%{pypi_name}+gransy} @@ -108,6 +119,28 @@ dependencies necessary to use the gransy provider. +%package -n python3-%{pypi_name}+localzone +Summary: Meta-package for python3-%{pypi_name} and localzone provider +%{?python_provide:%python_provide python3-%{pypi_name}+localzone} +Requires: python3-%{pypi_name} = %{version}-%{release} + +%description -n python3-%{pypi_name}+localzone +This package installs no files. It requires python3-%{pypi_name} and all +dependencies necessary to use the localzone provider. + + + +%package -n python3-%{pypi_name}+oci +Summary: Meta-package for python3-%{pypi_name} and oci provider +%{?python_provide:%python_provide python3-%{pypi_name}+oci} +Requires: python3-%{pypi_name} = %{version}-%{release} + +%description -n python3-%{pypi_name}+oci +This package installs no files. It requires python3-%{pypi_name} and all +dependencies necessary to use the oci provider. + + + %package -n python3-%{pypi_name}+route53 Summary: Meta-package for python3-%{pypi_name} and Route 53 provider %{?python_provide:%python_provide python3-%{pypi_name}+route53} @@ -127,7 +160,7 @@ rm setup.py %generate_buildrequires %if %{with extras} -%pyproject_buildrequires -r -t -e light -x ddns,gransy,route53 +%pyproject_buildrequires -r -t -e light -x ddns,duckdns,gransy,localzone,oci,route53 %else %pyproject_buildrequires -r -t -e light %endif @@ -153,12 +186,9 @@ TEST_SELECTOR="not AutoProviderTests and not NamecheapProviderTests and not Name # lexicon providers which do not work in Fedora due to missing dependencies: # - SoftLayerProviderTests -# - LocalzoneProviderTests -# - OciProviderTests -# - OciInstancePrincipalProviderTests -TEST_SELECTOR+=" and not SoftLayerProviderTests and not LocalzoneProviderTests and not OciProviderTests and not OciInstancePrincipalProviderTests" +TEST_SELECTOR+=" and not SoftLayerProviderTests" %if %{without extras} -TEST_SELECTOR+=" and not DDNSProviderTests and not GransyProviderTests and not Route53ProviderTests" +TEST_SELECTOR+=" and not DDNSProviderTests and not DuckdnsProviderTests and not GransyProviderTests and not LocalzoneProviderTests and not OciProviderTests and not OciInstancePrincipalProviderTests and not Route53ProviderTests" %endif # The %%tox macro lacks features so we need to use pytest directly: # Miro Hrončok, 2020-09-11: @@ -191,9 +221,18 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests %files -n python3-%{pypi_name}+ddns %{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}.dist-info} +%files -n python3-%{pypi_name}+duckdns +%{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}.dist-info} + %files -n python3-%{pypi_name}+gransy %{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}.dist-info} +%files -n python3-%{pypi_name}+localzone +%{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}.dist-info} + +%files -n python3-%{pypi_name}+oci +%{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}.dist-info} + %files -n python3-%{pypi_name}+route53 %{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}.dist-info} @@ -201,6 +240,11 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Sun Jun 11 2023 Christian Schuermann 3.12.0-1 +- Update to 3.12.0 +- Add new duckdns extra package +- Add localzone and oci extra packages since dependancies are now available on Fedora + * Fri Jan 20 2023 Fedora Release Engineering - 3.11.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/sources b/sources index b597b97..8fd5dfa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lexicon-3.11.7.tar.gz) = 7d3becea6b9d60a4589e9d7e8de010d0b7e6a2c127d1ccc6981d1bff88d09f5a708fd3e9e22f66b8a0a77a331784340662de73607dd25d69c0342795c6afc765 +SHA512 (lexicon-3.12.0.tar.gz) = 4ba799c6f7a01b8209f5274337258d0525efff366b297fff2fcff1d40c7ee58850fa8c3743bf9d29a1a082288e1f615cd94036a9cdc7be9f85e46f26fe3d7fbc From 7dc3ff8bbb9cc02d385b01ebf0e4f807b94309ac Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 4 Jul 2023 11:42:52 +0200 Subject: [PATCH 087/111] Rebuilt for Python 3.12 --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 267323e..90c70e0 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -16,7 +16,7 @@ Version: 3.12.0 %endif Name: python-%{pypi_name} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -240,6 +240,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Tue Jul 04 2023 Python Maint - 3.12.0-2 +- Rebuilt for Python 3.12 + * Sun Jun 11 2023 Christian Schuermann 3.12.0-1 - Update to 3.12.0 - Add new duckdns extra package From b539d27ed07d0c8208cba3e9e5ff36d11eff45f4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jul 2023 09:10:05 +0000 Subject: [PATCH 088/111] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 90c70e0..1185b83 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -16,7 +16,7 @@ Version: 3.12.0 %endif Name: python-%{pypi_name} -Release: 2%{?dist} +Release: 3%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -240,6 +240,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Fri Jul 21 2023 Fedora Release Engineering - 3.12.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Tue Jul 04 2023 Python Maint - 3.12.0-2 - Rebuilt for Python 3.12 From ad3c57536b457d231e52b56bd6d0aa110a8b6169 Mon Sep 17 00:00:00 2001 From: spike Date: Tue, 8 Aug 2023 04:33:27 +0200 Subject: [PATCH 089/111] Update to 3.13.0 --- python-dns-lexicon.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 1185b83..25ee757 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/AnalogJ/lexicon -Version: 3.12.0 +Version: 3.13.0 %forgemeta %global pypi_name dns-lexicon @@ -16,7 +16,7 @@ Version: 3.12.0 %endif Name: python-%{pypi_name} -Release: 3%{?dist} +Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -240,6 +240,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Tue Aug 8 2023 Christian Schuermann 3.13.0-1 +- Update to 3.13.0 + * Fri Jul 21 2023 Fedora Release Engineering - 3.12.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index 8fd5dfa..ad23335 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lexicon-3.12.0.tar.gz) = 4ba799c6f7a01b8209f5274337258d0525efff366b297fff2fcff1d40c7ee58850fa8c3743bf9d29a1a082288e1f615cd94036a9cdc7be9f85e46f26fe3d7fbc +SHA512 (lexicon-3.13.0.tar.gz) = 582efefb93d9f122cf3f900ddc7cf615295855645f6d9621f14c11067e441eb67349adf40e5159b75e8c5703d1cfd874364d392ce2994feb89949d371b4b55be From 9079654b2f292d798750f54c5f5f791bd4e3c887 Mon Sep 17 00:00:00 2001 From: jonathanspw Date: Fri, 13 Oct 2023 10:59:20 -0500 Subject: [PATCH 090/111] update to 3.15.1 --- 0000-remove-shebang.patch | 9 --------- python-dns-lexicon.spec | 14 ++++++++------ sources | 2 +- 3 files changed, 9 insertions(+), 16 deletions(-) delete mode 100644 0000-remove-shebang.patch diff --git a/0000-remove-shebang.patch b/0000-remove-shebang.patch deleted file mode 100644 index fd58558..0000000 --- a/0000-remove-shebang.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff --git a/lexicon/cli.py b/lexicon/cli.py -index ed2f0ef..73e88ef 100644 ---- a/lexicon/cli.py -+++ b/lexicon/cli.py -@@ -1,4 +1,3 @@ --#!/usr/bin/env python - """Module for Lexicon command-line interface""" - import json - import logging diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 25ee757..fd994b6 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/AnalogJ/lexicon -Version: 3.13.0 +Version: 3.15.1 %forgemeta %global pypi_name dns-lexicon @@ -25,8 +25,6 @@ URL: %{forgeurl} Source0: %{forgesource} BuildArch: noarch -Patch0: 0000-remove-shebang.patch - BuildRequires: python3-devel # required to run the test suite @@ -156,7 +154,6 @@ dependencies necessary to use the Route 53 provider. %autosetup -n lexicon-%{version} -p1 # Remove bundled egg-info rm -rf %{pypi_name}.egg-info -rm setup.py %generate_buildrequires %if %{with extras} @@ -167,6 +164,8 @@ rm setup.py %build +# remove shebang +sed -i '1d' src/lexicon/_private/cli.py %pyproject_wheel %if %{with tests} @@ -182,7 +181,7 @@ rm setup.py # With tldextract 3.3.0+ we can use Fedora's public suffix list by running # tldextract --update --suffix_list_url "file:///usr/share/publicsuffix/public_suffix_list.dat" # prior to running the tests -TEST_SELECTOR="not AutoProviderTests and not NamecheapProviderTests and not NamecheapManagedProviderTests" +TEST_SELECTOR="not AutoProviderTests and not NamecheapProviderTests and not NamecheapManagedProviderTests and not Route53Provider and not AliyunProviderTests and not AuroraProviderTests and not Route53ProviderTests" # lexicon providers which do not work in Fedora due to missing dependencies: # - SoftLayerProviderTests @@ -194,7 +193,7 @@ TEST_SELECTOR+=" and not DDNSProviderTests and not DuckdnsProviderTests and not # Miro Hrončok, 2020-09-11: # > I am afraid the %%tox macro can only work with "static" deps declaration, # > not with arbitrary installers invoked as commands, sorry about that. -py.test-3 -v -k "${TEST_SELECTOR}" lexicon +%pytest -v -k "${TEST_SELECTOR}" %endif %install @@ -240,6 +239,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Fri Oct 13 2023 Jonathan Wright - 3.15.1-1 +- Update to 3.15.1 rhbz#2232054 + * Tue Aug 8 2023 Christian Schuermann 3.13.0-1 - Update to 3.13.0 diff --git a/sources b/sources index ad23335..631bf22 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lexicon-3.13.0.tar.gz) = 582efefb93d9f122cf3f900ddc7cf615295855645f6d9621f14c11067e441eb67349adf40e5159b75e8c5703d1cfd874364d392ce2994feb89949d371b4b55be +SHA512 (lexicon-3.15.1.tar.gz) = 406a88808e0200cdd8e510e4a99688b75e3333be306b209931bd3282d9cd80fca15cf0b50a537d208f4b41cc6022e8501de6fbe83e20b426a8dc28724cd92fb8 From c327bd5beecd8faf25658dd839df3cf9049cd318 Mon Sep 17 00:00:00 2001 From: Nick Bebout Date: Fri, 17 Nov 2023 13:24:40 -0600 Subject: [PATCH 091/111] Update to 3.17.0 - remove ddns and duckdns because apparently upstream removed them --- python-dns-lexicon.spec | 35 +++++------------------------------ sources | 2 +- 2 files changed, 6 insertions(+), 31 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index fd994b6..f93007d 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/AnalogJ/lexicon -Version: 3.15.1 +Version: 3.17.0 %forgemeta %global pypi_name dns-lexicon @@ -84,28 +84,6 @@ This is the Python 3 version of the package. -%package -n python3-%{pypi_name}+ddns -Summary: Meta-package for python3-%{pypi_name} and ddns provider -%{?python_provide:%python_provide python3-%{pypi_name}+ddns} -Requires: python3-%{pypi_name} = %{version}-%{release} - -%description -n python3-%{pypi_name}+ddns -This package installs no files. It requires python3-%{pypi_name} and all -dependencies necessary to use the ddns provider. - - - -%package -n python3-%{pypi_name}+duckdns -Summary: Meta-package for python3-%{pypi_name} and duckdns provider -%{?python_provide:%python_provide python3-%{pypi_name}+duckdns} -Requires: python3-%{pypi_name} = %{version}-%{release} - -%description -n python3-%{pypi_name}+duckdns -This package installs no files. It requires python3-%{pypi_name} and all -dependencies necessary to use the duckdns provider. - - - %package -n python3-%{pypi_name}+gransy Summary: Meta-package for python3-%{pypi_name} and gransy provider %{?python_provide:%python_provide python3-%{pypi_name}+gransy} @@ -157,7 +135,7 @@ rm -rf %{pypi_name}.egg-info %generate_buildrequires %if %{with extras} -%pyproject_buildrequires -r -t -e light -x ddns,duckdns,gransy,localzone,oci,route53 +%pyproject_buildrequires -r -t -e light -x gransy,localzone,oci,route53 %else %pyproject_buildrequires -r -t -e light %endif @@ -217,12 +195,6 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # {{{ %if %{with extras} -%files -n python3-%{pypi_name}+ddns -%{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}.dist-info} - -%files -n python3-%{pypi_name}+duckdns -%{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}.dist-info} - %files -n python3-%{pypi_name}+gransy %{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}.dist-info} @@ -239,6 +211,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Thu Nov 16 2023 Nick Bebout - 3.17.0-1 +- Update to 3.17.0 + * Fri Oct 13 2023 Jonathan Wright - 3.15.1-1 - Update to 3.15.1 rhbz#2232054 diff --git a/sources b/sources index 631bf22..31f2a59 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lexicon-3.15.1.tar.gz) = 406a88808e0200cdd8e510e4a99688b75e3333be306b209931bd3282d9cd80fca15cf0b50a537d208f4b41cc6022e8501de6fbe83e20b426a8dc28724cd92fb8 +SHA512 (lexicon-3.17.0.tar.gz) = 1bc182f5881d6acfac72b84331ba50da1219178d274c92e532ed11e73aa79696681d28a002cd1e23f48590953f48e50b62c2ef2db020a07ecf88547717508c0c From c072a10b22ea132e065cf28ad01475a8c7203fbb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 22 Jan 2024 00:54:37 +0000 Subject: [PATCH 092/111] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index f93007d..1811279 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -16,7 +16,7 @@ Version: 3.17.0 %endif Name: python-%{pypi_name} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -211,6 +211,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Mon Jan 22 2024 Fedora Release Engineering - 3.17.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Thu Nov 16 2023 Nick Bebout - 3.17.0-1 - Update to 3.17.0 From 76ecac728bd98e5555877263e4ddd26bea95b0aa Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jan 2024 03:41:47 +0000 Subject: [PATCH 093/111] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 1811279..689aec4 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -16,7 +16,7 @@ Version: 3.17.0 %endif Name: python-%{pypi_name} -Release: 2%{?dist} +Release: 3%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -211,6 +211,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Fri Jan 26 2024 Fedora Release Engineering - 3.17.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Mon Jan 22 2024 Fedora Release Engineering - 3.17.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From c3dde8dbb430b239dcee24eedfab7af460a023dc Mon Sep 17 00:00:00 2001 From: Jonathan Wright Date: Wed, 28 Feb 2024 23:05:16 -0600 Subject: [PATCH 094/111] update build version for epel9 --- disable-poetry-light.patch | 85 ++++++++++++++++++++++++++++++++++++++ python-dns-lexicon.spec | 12 +++++- 2 files changed, 95 insertions(+), 2 deletions(-) create mode 100644 disable-poetry-light.patch diff --git a/disable-poetry-light.patch b/disable-poetry-light.patch new file mode 100644 index 0000000..1b71fb8 --- /dev/null +++ b/disable-poetry-light.patch @@ -0,0 +1,85 @@ +diff -uNr lexicon-3.17.0/pyproject.toml lexicon-3.17.0.mod/pyproject.toml +--- lexicon-3.17.0/pyproject.toml 2023-11-06 16:21:46.000000000 -0600 ++++ lexicon-3.17.0.mod/pyproject.toml 2024-02-01 04:28:53.861285119 -0600 +@@ -61,32 +61,6 @@ + # Extra "full" list must contain all other extras + full = ["boto3", "localzone", "softlayer", "zeep", "oci"] + +-[tool.poetry.group.dev.dependencies] +-esbonio = "*" +-packaging = "*" +-pytest = "*" +-pytest-cov = "*" +-pytest-xdist = "*" +-vcrpy = "*" +-# We add flake8 conditionally to recent Python version to get modern versions +-# of flake8 cleaned of several issues. It just means that linting cannot be done +-# on the initial release of Python 3.8 (version 3.8.0). This is a decent constraint. +-flake8 = { version = "*", python = ">=3.8.1" } +-isort = "*" +-tox = ">=4" +-black = "*" +-mypy = "*" +-toml = "*" +-types-PyYAML = "*" +-types-pytz = "*" +-types-requests = "*" +-types-toml = "*" +- +-[tool.poetry.group.docs.dependencies] +-sphinx = "*" +-sphinx_rtd_theme = "*" +-toml = "*" +- + [tool.poetry.scripts] + lexicon = "lexicon._private.cli:main" + +diff -uNr lexicon-3.17.0/setup.cfg lexicon-3.17.0.mod/setup.cfg +--- lexicon-3.17.0/setup.cfg 2023-11-06 16:21:46.000000000 -0600 ++++ lexicon-3.17.0.mod/setup.cfg 2024-02-01 04:05:39.191101574 -0600 +@@ -5,45 +5,3 @@ + [tox:tox] + envlist = cover,lint,mypy + isolated_build = true +- +-# Standard env will run all test available for all providers. +-[testenv] +-allowlist_externals = poetry +-extras = +- full +-setenv = +- PYTEST_ADDOPTS = {env:PYTEST_ADDOPTS:--numprocesses auto} +- PYTHONHASHSEED = 0 +-commands_pre = +- poetry install --extras full --no-root --sync +-commands = +- poetry run pytest tests/ \ +- --junitxml=junit/test-results.xml --dist=loadfile +- +-# Cover env will run all test available for all providers with coverage enabled. +-[testenv:cover] +-commands = +- poetry run pytest tests/ \ +- --junitxml=junit/test-results.xml --dist=loadfile \ +- --cov=lexicon --cov-report=term-missing --cov-report=xml +- +-# Light env will run all tests except for providers with optional dependencies. +-[testenv:light] +-extras = +-commands_pre = +- poetry install --no-root --sync +-commands = +- poetry run pytest tests/ \ +- --junitxml=junit/test-results.xml --dist=loadfile \ +- --xfail-providers-with-missing-deps +- +-# Lint env will check for code quality and errors, and fails if it does not match the minimal requirements. +-[testenv:lint] +-commands = +- poetry run flake8 src tests +- +- +-# Mypy env will check for types in the Lexicon codebase. +-[testenv:mypy] +-commands = +- poetry run mypy src tests diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 689aec4..89b6f53 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -16,7 +16,7 @@ Version: 3.17.0 %endif Name: python-%{pypi_name} -Release: 3%{?dist} +Release: 4%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -27,6 +27,11 @@ BuildArch: noarch BuildRequires: python3-devel +# epel is missing full poetry and light packages needed for tests +%if 0%{?rhel >= 8} +#Patch: disable-poetry-light.patch +%endif + # required to run the test suite %if %{with tests} BuildRequires: python3-pytest @@ -137,7 +142,7 @@ rm -rf %{pypi_name}.egg-info %if %{with extras} %pyproject_buildrequires -r -t -e light -x gransy,localzone,oci,route53 %else -%pyproject_buildrequires -r -t -e light +%pyproject_buildrequires -r %endif @@ -211,6 +216,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Thu Feb 29 2024 Jonathan Wright - 3.17.0-4 +- Update spec for building on epel9 + * Fri Jan 26 2024 Fedora Release Engineering - 3.17.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From f6d9375c480e09cae1862a9fa61125f0694a45c1 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Thu, 27 Jun 2024 19:37:28 +0200 Subject: [PATCH 095/111] Rebuilt for Python 3.13 --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 89b6f53..4b4622b 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -16,7 +16,7 @@ Version: 3.17.0 %endif Name: python-%{pypi_name} -Release: 4%{?dist} +Release: 5%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -216,6 +216,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Thu Jun 27 2024 Python Maint - 3.17.0-5 +- Rebuilt for Python 3.13 + * Thu Feb 29 2024 Jonathan Wright - 3.17.0-4 - Update spec for building on epel9 From 11f7c31776fd09c09d26070deaaf69d5d759518b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jul 2024 11:10:38 +0000 Subject: [PATCH 096/111] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 4b4622b..c224e93 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -16,7 +16,7 @@ Version: 3.17.0 %endif Name: python-%{pypi_name} -Release: 5%{?dist} +Release: 6%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -216,6 +216,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Fri Jul 19 2024 Fedora Release Engineering - 3.17.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Thu Jun 27 2024 Python Maint - 3.17.0-5 - Rebuilt for Python 3.13 From d5eb57c3dede9e61c07717fae23f4d825603493b Mon Sep 17 00:00:00 2001 From: Ben Maconi Date: Sat, 23 Nov 2024 09:56:30 -0600 Subject: [PATCH 097/111] Updated to 3.18.0 --- sources | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources b/sources index 31f2a59..b93aa32 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lexicon-3.17.0.tar.gz) = 1bc182f5881d6acfac72b84331ba50da1219178d274c92e532ed11e73aa79696681d28a002cd1e23f48590953f48e50b62c2ef2db020a07ecf88547717508c0c +SHA512 (lexicon-3.18.0.tar.gz) = da2804caeef6cd96eb53f7414833757905afa269f328271fccbdb06d988fb46695a0cb917b8dbdfb66579b01cc98d07de8eb7e1cb132c47d49fe05e2ebe18127 From 7ff4c68fbe632900f3d0aae3ff449a0fe17b416b Mon Sep 17 00:00:00 2001 From: Ben Maconi Date: Sat, 23 Nov 2024 11:18:17 -0600 Subject: [PATCH 098/111] added global forgeversion --- python-dns-lexicon.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index c224e93..b12d638 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,7 @@ %global forgeurl https://github.com/AnalogJ/lexicon -Version: 3.17.0 +%global forgeversion 3.18.0 +Version: 3.18.0 %forgemeta %global pypi_name dns-lexicon @@ -16,7 +17,7 @@ Version: 3.17.0 %endif Name: python-%{pypi_name} -Release: 6%{?dist} +Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -216,6 +217,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Sat Nov 23 2024 Ben Maconi - 3.18.0-1 +- Updated to 3.18.0 + * Fri Jul 19 2024 Fedora Release Engineering - 3.17.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 5bd84d818f8a53846cd3263c447a3ee757f06493 Mon Sep 17 00:00:00 2001 From: Nick Bebout Date: Sat, 23 Nov 2024 11:33:21 -0600 Subject: [PATCH 099/111] Try fix by excluding GoDaddyProviderTests --- python-dns-lexicon.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index b12d638..078930d 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -165,7 +165,7 @@ sed -i '1d' src/lexicon/_private/cli.py # With tldextract 3.3.0+ we can use Fedora's public suffix list by running # tldextract --update --suffix_list_url "file:///usr/share/publicsuffix/public_suffix_list.dat" # prior to running the tests -TEST_SELECTOR="not AutoProviderTests and not NamecheapProviderTests and not NamecheapManagedProviderTests and not Route53Provider and not AliyunProviderTests and not AuroraProviderTests and not Route53ProviderTests" +TEST_SELECTOR="not AutoProviderTests and not NamecheapProviderTests and not NamecheapManagedProviderTests and not Route53Provider and not AliyunProviderTests and not AuroraProviderTests and not Route53ProviderTests and not GoDaddyProviderTests" # lexicon providers which do not work in Fedora due to missing dependencies: # - SoftLayerProviderTests From 8f77d4b3d532b4ed8bf15d03f6a93d669faea248 Mon Sep 17 00:00:00 2001 From: Nick Bebout Date: Sat, 23 Nov 2024 11:48:28 -0600 Subject: [PATCH 100/111] Disable tests for now --- python-dns-lexicon.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 078930d..38fa41f 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -16,6 +16,9 @@ Version: 3.18.0 %bcond_without extras %endif +# disable tests for now +%bcond_without tests + Name: python-%{pypi_name} Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way From bf63b51a3c948190fc79f60d87479516c9d5320e Mon Sep 17 00:00:00 2001 From: Nick Bebout Date: Sat, 23 Nov 2024 12:00:08 -0600 Subject: [PATCH 101/111] Disable tests more --- python-dns-lexicon.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 38fa41f..8fa6769 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -180,7 +180,8 @@ TEST_SELECTOR+=" and not DDNSProviderTests and not DuckdnsProviderTests and not # Miro Hrončok, 2020-09-11: # > I am afraid the %%tox macro can only work with "static" deps declaration, # > not with arbitrary installers invoked as commands, sorry about that. -%pytest -v -k "${TEST_SELECTOR}" +# %pytest -v -k "${TEST_SELECTOR}" +# disable tests because it keeps wanting to download the public suffix list %endif %install From 0b0ac66461e1dc0f3c22cf55b3a87c6270895bce Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 13:49:07 +0000 Subject: [PATCH 102/111] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 8fa6769..c93837a 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -20,7 +20,7 @@ Version: 3.18.0 %bcond_without tests Name: python-%{pypi_name} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -221,6 +221,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Sat Jan 18 2025 Fedora Release Engineering - 3.18.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Sat Nov 23 2024 Ben Maconi - 3.18.0-1 - Updated to 3.18.0 From 23bd76152a569093eb477cdbcd0192a75a0638c1 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Sat, 4 Jan 2025 09:49:20 +0100 Subject: [PATCH 103/111] update to 3.20.1 --- python-dns-lexicon.spec | 14 +++++++++----- sources | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index c93837a..91bbde6 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,14 +1,14 @@ -%global forgeurl https://github.com/AnalogJ/lexicon -%global forgeversion 3.18.0 -Version: 3.18.0 +%global forgeurl https://github.com/dns-lexicon/dns-lexicon +%global forgeversion 3.20.1 +Version: 3.20.1 %forgemeta %global pypi_name dns-lexicon %if 0%{?rhel} >= 8 # EPEL is currently missing dependencies used by the extras metapackages -# EPEL is currently missing dependancies used by the tests +# EPEL is currently missing dependencies used by the tests %bcond_with tests %bcond_with extras %else @@ -138,9 +138,10 @@ dependencies necessary to use the Route 53 provider. %prep -%autosetup -n lexicon-%{version} -p1 +%autosetup -n %{pypi_name}-%{version} -p1 # Remove bundled egg-info rm -rf %{pypi_name}.egg-info +rm -f uv.lock %generate_buildrequires %if %{with extras} @@ -221,6 +222,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Thu Jan 23 2025 Felix Schwarz - 3.20.1-1 +- update to 3.20.1 + * Sat Jan 18 2025 Fedora Release Engineering - 3.18.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild diff --git a/sources b/sources index b93aa32..305f6a1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lexicon-3.18.0.tar.gz) = da2804caeef6cd96eb53f7414833757905afa269f328271fccbdb06d988fb46695a0cb917b8dbdfb66579b01cc98d07de8eb7e1cb132c47d49fe05e2ebe18127 +SHA512 (dns-lexicon-3.20.1.tar.gz) = 98a29bc67596e58ada43373fd1dfa2a5c35512dd33924969df0d16c10cf2e53cf2bc564488c9f7a1b682b63a7959cd2073207a8d77435aa62a04f408024d85fd From 74a28a626206b7b9f4e7f651e90d59d61716c127 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Sun, 5 Jan 2025 16:42:19 +0100 Subject: [PATCH 104/111] re-enable (most) tests --- python-dns-lexicon-tox-config.patch | 14 ++++++++++++++ python-dns-lexicon.spec | 7 ++++--- 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 python-dns-lexicon-tox-config.patch diff --git a/python-dns-lexicon-tox-config.patch b/python-dns-lexicon-tox-config.patch new file mode 100644 index 0000000..dd22740 --- /dev/null +++ b/python-dns-lexicon-tox-config.patch @@ -0,0 +1,14 @@ +diff --git a/pyproject.toml b/pyproject.toml +index d17fecc..be0c6e6 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -126,8 +126,7 @@ extend-ignore = [ "E203", "E501" ] + envlist = [ "cover", "lint" , "mypy" ] + + [tool.tox.env_run_base] +-runner = "uv-venv-lock-runner" +-with_dev = true ++with_dev = false + uv_sync_flags = [ "--python={env_python}" ] # Fix until https://github.com/tox-dev/tox-uv/issues/110 is fixed + extras = [ "full" ] + setenv.PYTEST_ADDOPTS = "--numprocesses auto" diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 91bbde6..f9337bf 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -27,6 +27,7 @@ License: MIT URL: %{forgeurl} # pypi releases don't contain necessary data to run the tests Source0: %{forgesource} +Patch: python-dns-lexicon-tox-config.patch BuildArch: noarch BuildRequires: python3-devel @@ -40,6 +41,7 @@ BuildRequires: python3-devel %if %{with tests} BuildRequires: python3-pytest BuildRequires: python3-pytest-vcr +BuildRequires: python3-pytest-xdist %endif @@ -169,7 +171,7 @@ sed -i '1d' src/lexicon/_private/cli.py # With tldextract 3.3.0+ we can use Fedora's public suffix list by running # tldextract --update --suffix_list_url "file:///usr/share/publicsuffix/public_suffix_list.dat" # prior to running the tests -TEST_SELECTOR="not AutoProviderTests and not NamecheapProviderTests and not NamecheapManagedProviderTests and not Route53Provider and not AliyunProviderTests and not AuroraProviderTests and not Route53ProviderTests and not GoDaddyProviderTests" +TEST_SELECTOR="not AutoProviderTests and not NamecheapProviderTests and not NamecheapManagedProviderTests and not Route53Provider and not AliyunProviderTests and not AuroraProviderTests and not Route53ProviderTests and not GoDaddyProviderTests and not test_client and not test_library" # lexicon providers which do not work in Fedora due to missing dependencies: # - SoftLayerProviderTests @@ -181,8 +183,7 @@ TEST_SELECTOR+=" and not DDNSProviderTests and not DuckdnsProviderTests and not # Miro Hrončok, 2020-09-11: # > I am afraid the %%tox macro can only work with "static" deps declaration, # > not with arbitrary installers invoked as commands, sorry about that. -# %pytest -v -k "${TEST_SELECTOR}" -# disable tests because it keeps wanting to download the public suffix list +%pytest -x -v -k "${TEST_SELECTOR}" -n auto --dist=loadfile --xfail-providers-with-missing-deps tests/ %endif %install From 1a6298755927b707f2da0c719c7071092ff2e1cd Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Sun, 5 Jan 2025 17:04:01 +0100 Subject: [PATCH 105/111] rework %check so that most tests are run --- create-local-tld-cache.py | 38 +++++++++++++++++++++++++++++++++++ python-dns-lexicon.spec | 42 +++++++++++++++++++++------------------ 2 files changed, 61 insertions(+), 19 deletions(-) create mode 100644 create-local-tld-cache.py diff --git a/create-local-tld-cache.py b/create-local-tld-cache.py new file mode 100644 index 0000000..c57a6c6 --- /dev/null +++ b/create-local-tld-cache.py @@ -0,0 +1,38 @@ +#!/usr/bin/python3 + +from pathlib import Path +import json +import os +import subprocess +import sys + +if len(sys.argv) != 2: + sys.stderr.write('usage: %s \n' % sys.argv[0]) + +buildroot_sitelib_dir = sys.argv[1] +sys.path.insert(0, buildroot_sitelib_dir) + +from tldextract.cache import get_cache_dir, DiskCache + +if 'TLDEXTRACT_CACHE' not in os.environ: + raise ValueError('must set "TLDEXTRACT_CACHE" environment variable') + +local_cache = Path('/usr/share/publicsuffix/public_suffix_list.dat') +if not local_cache.exists(): + raise FileNotFoundError(local_cache) + +url_local_cache = f'file://{local_cache}' +subprocess.run(['/usr/bin/tldextract', '--update', f'--suffix_list_url={url_local_cache}'], check=True) + +cache = DiskCache(cache_dir=get_cache_dir()) +namespace = 'publicsuffix.org-tlds' +cache_with_local_data = cache._key_to_cachefile_path(namespace, {'urls': (url_local_cache,), 'fallback_to_snapshot': True}) +func = lambda **kwargs: json.loads(Path(cache_with_local_data).read_text()) + +kwargs = { + 'cache': cache, + 'urls': ('https://publicsuffix.org/list/public_suffix_list.dat', 'https://raw.githubusercontent.com/publicsuffix/list/master/public_suffix_list.dat'), + 'fallback_to_snapshot': True, +} +cache.run_and_cache(func, namespace=namespace, kwargs=kwargs, hashed_argnames=('urls', 'fallback_to_snapshot')) + diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index f9337bf..6fc6779 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -27,6 +27,7 @@ License: MIT URL: %{forgeurl} # pypi releases don't contain necessary data to run the tests Source0: %{forgesource} +Source1: create-local-tld-cache.py Patch: python-dns-lexicon-tox-config.patch BuildArch: noarch @@ -42,6 +43,8 @@ BuildRequires: python3-devel BuildRequires: python3-pytest BuildRequires: python3-pytest-vcr BuildRequires: python3-pytest-xdist +BuildRequires: publicsuffix-list +BuildRequires: python3-tldextract %endif @@ -160,30 +163,32 @@ sed -i '1d' src/lexicon/_private/cli.py %if %{with tests} %check -# The following tests use tldextract which tries to fetch -# https://raw.githubusercontent.com/publicsuffix/list/master/public_suffix_list.dat -# on first invocation +export TLDEXTRACT_CACHE=%{_builddir}/tldextract-cache + +# tldextract tries to fetch "public_suffix_list.dat" from the internet on first +# invocation. # (see https://github.com/john-kurkowski/tldextract/tree/master#note-about-caching) -# - AutoProviderTests -# - NamecheapProviderTests -# - NamecheapManagedProviderTests -# Disabling those until tldextract 3.3.0+ is available on Fedora. -# With tldextract 3.3.0+ we can use Fedora's public suffix list by running -# tldextract --update --suffix_list_url "file:///usr/share/publicsuffix/public_suffix_list.dat" -# prior to running the tests -TEST_SELECTOR="not AutoProviderTests and not NamecheapProviderTests and not NamecheapManagedProviderTests and not Route53Provider and not AliyunProviderTests and not AuroraProviderTests and not Route53ProviderTests and not GoDaddyProviderTests and not test_client and not test_library" +# The "publicsuffix-list" package provides that data however we need to use +# that to populate a local cache directory.Most of the work is done via: +# $ tldextract --update --suffix_list_url "file:///usr/share/publicsuffix/public_suffix_list.dat" +# +# However tldextract uses the "file://" url as cache key while the tests use +# "https://publicsuffix.org/list/public_suffix_list.dat". I did not find a way +# get tldextract to use the https url so a small Python script will handle that. +/usr/bin/python3 %{SOURCE1} %{buildroot}%{python3_sitelib} # lexicon providers which do not work in Fedora due to missing dependencies: # - SoftLayerProviderTests -TEST_SELECTOR+=" and not SoftLayerProviderTests" +TEST_SELECTOR="not SoftLayerProviderTests" + %if %{without extras} -TEST_SELECTOR+=" and not DDNSProviderTests and not DuckdnsProviderTests and not GransyProviderTests and not LocalzoneProviderTests and not OciProviderTests and not OciInstancePrincipalProviderTests and not Route53ProviderTests" +TEST_SELECTOR+=" and not GransyProviderTests and not LocalzoneProviderTests and not OciProviderTests and not OciInstancePrincipalProviderTests and not Route53ProviderTests" %endif -# The %%tox macro lacks features so we need to use pytest directly: -# Miro Hrončok, 2020-09-11: -# > I am afraid the %%tox macro can only work with "static" deps declaration, -# > not with arbitrary installers invoked as commands, sorry about that. -%pytest -x -v -k "${TEST_SELECTOR}" -n auto --dist=loadfile --xfail-providers-with-missing-deps tests/ + +# We do not use "--xfail-providers-with-missing-deps" because we want to detect +# missing dependencies unless we already know that a certain provider will not +# work. +%pytest -v -k "${TEST_SELECTOR}" -n auto --dist=loadfile tests/ %endif %install @@ -191,7 +196,6 @@ TEST_SELECTOR+=" and not DDNSProviderTests and not DuckdnsProviderTests and not install -pm 0755 %{buildroot}/%{_bindir}/lexicon %{buildroot}/%{_bindir}/lexicon-%{python3_version} cd %{buildroot}/%{_bindir} ln -s lexicon-%{python3_version} lexicon-3 -rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests %files -n python3-%{pypi_name} From 29a0225dc0d66e369deeb48a43b9d9c897240969 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Sat, 19 Apr 2025 11:39:28 +0200 Subject: [PATCH 106/111] update to 3.21.0 --- python-dns-lexicon-findall.patch | 44 +++++++++++++++++++++++++++++ python-dns-lexicon-tox-config.patch | 4 +-- python-dns-lexicon.spec | 11 ++++++-- sources | 2 +- 4 files changed, 55 insertions(+), 6 deletions(-) create mode 100644 python-dns-lexicon-findall.patch diff --git a/python-dns-lexicon-findall.patch b/python-dns-lexicon-findall.patch new file mode 100644 index 0000000..39f6497 --- /dev/null +++ b/python-dns-lexicon-findall.patch @@ -0,0 +1,44 @@ +diff --git a/src/lexicon/_private/providers/easyname.py b/src/lexicon/_private/providers/easyname.py +index 827b9cf..3e6dbb4 100644 +--- a/src/lexicon/_private/providers/easyname.py ++++ b/src/lexicon/_private/providers/easyname.py +@@ -273,7 +273,7 @@ class Provider(BaseProvider): + rec["priority"] = (columns[3].contents[1].string or "").strip() + rec["ttl"] = (columns[4].contents[1].string or "").strip() + rec["id"] = "" +- for a in columns[5].findAll( ++ for a in columns[5].find_all( + "a", class_="button button--transparent" + ): + rec["id"] = int(a["href"].rsplit("/", 1)[-1]) +@@ -367,7 +367,7 @@ class Provider(BaseProvider): + def _is_zone_tr(elm): + return elm.name.lower() == "tr" and (elm.has_attr("class")) + +- rows = dns_table.findAll(_is_zone_tr) ++ rows = dns_table.find_all(_is_zone_tr) + assert rows is not None and rows, "Could not find any DNS entries" + return rows + +diff --git a/src/lexicon/_private/providers/henet.py b/src/lexicon/_private/providers/henet.py +index aed38ec..28e5afa 100644 +--- a/src/lexicon/_private/providers/henet.py ++++ b/src/lexicon/_private/providers/henet.py +@@ -144,7 +144,7 @@ class Provider(BaseProvider): + def is_dns_tr_type(klass): + return klass and re.compile("dns_tr").search(klass) + +- records = html.findAll("tr", class_=is_dns_tr_type) ++ records = html.find_all("tr", class_=is_dns_tr_type) + + # If the tag couldn't be found, error, otherwise, return the value of the tag + if records is None or not records: +@@ -153,7 +153,7 @@ class Provider(BaseProvider): + + new_records = [] + for dns_tr in records: +- tds = dns_tr.findAll("td") ++ tds = dns_tr.find_all("td") + # Process HTML in the TR children to derive each object + rec = {} + rec["zone_id"] = tds[0].string diff --git a/python-dns-lexicon-tox-config.patch b/python-dns-lexicon-tox-config.patch index dd22740..039c798 100644 --- a/python-dns-lexicon-tox-config.patch +++ b/python-dns-lexicon-tox-config.patch @@ -1,5 +1,5 @@ diff --git a/pyproject.toml b/pyproject.toml -index d17fecc..be0c6e6 100644 +index 4122ff9..936bbdc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -126,8 +126,7 @@ extend-ignore = [ "E203", "E501" ] @@ -9,6 +9,6 @@ index d17fecc..be0c6e6 100644 -runner = "uv-venv-lock-runner" -with_dev = true +with_dev = false - uv_sync_flags = [ "--python={env_python}" ] # Fix until https://github.com/tox-dev/tox-uv/issues/110 is fixed extras = [ "full" ] setenv.PYTEST_ADDOPTS = "--numprocesses auto" + setenv.PYTHONHASHSEED = "0" diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 6fc6779..3767c2a 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,7 +1,7 @@ %global forgeurl https://github.com/dns-lexicon/dns-lexicon -%global forgeversion 3.20.1 -Version: 3.20.1 +%global forgeversion 3.21.0 +Version: %{forgeversion} %forgemeta %global pypi_name dns-lexicon @@ -20,7 +20,7 @@ Version: 3.20.1 %bcond_without tests Name: python-%{pypi_name} -Release: 2%{?dist} +Release: 1%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -29,6 +29,8 @@ URL: %{forgeurl} Source0: %{forgesource} Source1: create-local-tld-cache.py Patch: python-dns-lexicon-tox-config.patch +# submitted upstream as https://github.com/dns-lexicon/dns-lexicon/pull/29 +Patch2: python-dns-lexicon-findall.patch BuildArch: noarch BuildRequires: python3-devel @@ -227,6 +229,9 @@ ln -s lexicon-%{python3_version} lexicon-3 # }}} %changelog +* Sat Apr 19 2025 Felix Schwarz - 3.21.0-1 +- update to 3.21.0 + * Thu Jan 23 2025 Felix Schwarz - 3.20.1-1 - update to 3.20.1 diff --git a/sources b/sources index 305f6a1..cec2b9c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dns-lexicon-3.20.1.tar.gz) = 98a29bc67596e58ada43373fd1dfa2a5c35512dd33924969df0d16c10cf2e53cf2bc564488c9f7a1b682b63a7959cd2073207a8d77435aa62a04f408024d85fd +SHA512 (dns-lexicon-3.21.0.tar.gz) = 1b132fae2741d8cf505c0779724b5e0d518683226099c796f1b77b4ceb07e1fbecccb4d82869be090f2c379b3d17f19766857e49f83760d793a0934f520bc8ed From fb10e373de1b03511419fb3f890a0aa6de0ce876 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Mon, 28 Apr 2025 21:36:13 +0200 Subject: [PATCH 107/111] update to 3.21.1 --- python-dns-lexicon-findall.patch | 44 -------------------------------- python-dns-lexicon.spec | 7 ++--- sources | 2 +- 3 files changed, 5 insertions(+), 48 deletions(-) delete mode 100644 python-dns-lexicon-findall.patch diff --git a/python-dns-lexicon-findall.patch b/python-dns-lexicon-findall.patch deleted file mode 100644 index 39f6497..0000000 --- a/python-dns-lexicon-findall.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff --git a/src/lexicon/_private/providers/easyname.py b/src/lexicon/_private/providers/easyname.py -index 827b9cf..3e6dbb4 100644 ---- a/src/lexicon/_private/providers/easyname.py -+++ b/src/lexicon/_private/providers/easyname.py -@@ -273,7 +273,7 @@ class Provider(BaseProvider): - rec["priority"] = (columns[3].contents[1].string or "").strip() - rec["ttl"] = (columns[4].contents[1].string or "").strip() - rec["id"] = "" -- for a in columns[5].findAll( -+ for a in columns[5].find_all( - "a", class_="button button--transparent" - ): - rec["id"] = int(a["href"].rsplit("/", 1)[-1]) -@@ -367,7 +367,7 @@ class Provider(BaseProvider): - def _is_zone_tr(elm): - return elm.name.lower() == "tr" and (elm.has_attr("class")) - -- rows = dns_table.findAll(_is_zone_tr) -+ rows = dns_table.find_all(_is_zone_tr) - assert rows is not None and rows, "Could not find any DNS entries" - return rows - -diff --git a/src/lexicon/_private/providers/henet.py b/src/lexicon/_private/providers/henet.py -index aed38ec..28e5afa 100644 ---- a/src/lexicon/_private/providers/henet.py -+++ b/src/lexicon/_private/providers/henet.py -@@ -144,7 +144,7 @@ class Provider(BaseProvider): - def is_dns_tr_type(klass): - return klass and re.compile("dns_tr").search(klass) - -- records = html.findAll("tr", class_=is_dns_tr_type) -+ records = html.find_all("tr", class_=is_dns_tr_type) - - # If the tag couldn't be found, error, otherwise, return the value of the tag - if records is None or not records: -@@ -153,7 +153,7 @@ class Provider(BaseProvider): - - new_records = [] - for dns_tr in records: -- tds = dns_tr.findAll("td") -+ tds = dns_tr.find_all("td") - # Process HTML in the TR children to derive each object - rec = {} - rec["zone_id"] = tds[0].string diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 3767c2a..a282e72 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/dns-lexicon/dns-lexicon -%global forgeversion 3.21.0 +%global forgeversion 3.21.1 Version: %{forgeversion} %forgemeta @@ -29,8 +29,6 @@ URL: %{forgeurl} Source0: %{forgesource} Source1: create-local-tld-cache.py Patch: python-dns-lexicon-tox-config.patch -# submitted upstream as https://github.com/dns-lexicon/dns-lexicon/pull/29 -Patch2: python-dns-lexicon-findall.patch BuildArch: noarch BuildRequires: python3-devel @@ -229,6 +227,9 @@ ln -s lexicon-%{python3_version} lexicon-3 # }}} %changelog +* Mon Apr 28 2025 Felix Schwarz - 3.21.1-1 +- update to 3.21.1 + * Sat Apr 19 2025 Felix Schwarz - 3.21.0-1 - update to 3.21.0 diff --git a/sources b/sources index cec2b9c..490f57d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dns-lexicon-3.21.0.tar.gz) = 1b132fae2741d8cf505c0779724b5e0d518683226099c796f1b77b4ceb07e1fbecccb4d82869be090f2c379b3d17f19766857e49f83760d793a0934f520bc8ed +SHA512 (dns-lexicon-3.21.1.tar.gz) = 0f53001edf2425afe7b7c4315e974ee47c956b659964998b942943788711c57634eea2d7974e21005be7f0edf16800e6577c49c8789e34f2133c4f5be8ac7ac1 From 82f71c1257b29c45274d597f5d7ad7f7ed289411 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 6 Jun 2025 18:00:29 +0200 Subject: [PATCH 108/111] Rebuilt for Python 3.14 --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index a282e72..1b1056b 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -20,7 +20,7 @@ Version: %{forgeversion} %bcond_without tests Name: python-%{pypi_name} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -227,6 +227,9 @@ ln -s lexicon-%{python3_version} lexicon-3 # }}} %changelog +* Fri Jun 06 2025 Python Maint - 3.21.1-2 +- Rebuilt for Python 3.14 + * Mon Apr 28 2025 Felix Schwarz - 3.21.1-1 - update to 3.21.1 From 9de8403851af075b371c8426c8b35cea82a12eb1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 07:39:27 +0000 Subject: [PATCH 109/111] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 1b1056b..a82dbf2 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -20,7 +20,7 @@ Version: %{forgeversion} %bcond_without tests Name: python-%{pypi_name} -Release: 2%{?dist} +Release: 3%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -227,6 +227,9 @@ ln -s lexicon-%{python3_version} lexicon-3 # }}} %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 3.21.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Fri Jun 06 2025 Python Maint - 3.21.1-2 - Rebuilt for Python 3.14 From 66df8eba2b9b9b82ff987e60998fdb3a77cbad71 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 13:38:37 +0200 Subject: [PATCH 110/111] Rebuilt for Python 3.14.0rc2 bytecode --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index a82dbf2..cf4aa05 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -20,7 +20,7 @@ Version: %{forgeversion} %bcond_without tests Name: python-%{pypi_name} -Release: 3%{?dist} +Release: 4%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -227,6 +227,9 @@ ln -s lexicon-%{python3_version} lexicon-3 # }}} %changelog +* Fri Aug 15 2025 Python Maint - 3.21.1-4 +- Rebuilt for Python 3.14.0rc2 bytecode + * Fri Jul 25 2025 Fedora Release Engineering - 3.21.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 398bc5a3a12b98ee0a76774cf1b424a11f4d9d4f Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 13:11:50 +0200 Subject: [PATCH 111/111] Rebuilt for Python 3.14.0rc3 bytecode --- python-dns-lexicon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index cf4aa05..de3d1f0 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -20,7 +20,7 @@ Version: %{forgeversion} %bcond_without tests Name: python-%{pypi_name} -Release: 4%{?dist} +Release: 5%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -227,6 +227,9 @@ ln -s lexicon-%{python3_version} lexicon-3 # }}} %changelog +* Fri Sep 19 2025 Python Maint - 3.21.1-5 +- Rebuilt for Python 3.14.0rc3 bytecode + * Fri Aug 15 2025 Python Maint - 3.21.1-4 - Rebuilt for Python 3.14.0rc2 bytecode