|
Nick Bebout |
657ddbd |
%global pypi_name dns-lexicon
|
|
Nick Bebout |
657ddbd |
|
|
Nick Bebout |
4109e79 |
%if 0%{?rhel} && 0%{?rhel} <= 7
|
|
|
a5e4545 |
%global rhel7 1
|
|
Nick Bebout |
4109e79 |
%bcond_with python3
|
|
Nick Bebout |
4109e79 |
%else
|
|
Nick Bebout |
4109e79 |
%bcond_without python3
|
|
Nick Bebout |
4109e79 |
%endif
|
|
Nick Bebout |
4109e79 |
|
|
|
c41af87 |
%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8
|
|
|
125b3d7 |
%bcond_with python2
|
|
|
125b3d7 |
%else
|
|
|
125b3d7 |
%bcond_without python2
|
|
|
125b3d7 |
%endif
|
|
|
125b3d7 |
|
|
|
c41af87 |
%if 0%{?rhel} >= 8
|
|
|
c41af87 |
# EPEL8 is currently missing dependencies used by the extras metapackages
|
|
|
c41af87 |
%bcond_with extras
|
|
|
c41af87 |
%else
|
|
|
c41af87 |
%bcond_without extras
|
|
|
c41af87 |
%endif
|
|
|
c41af87 |
|
|
Nick Bebout |
657ddbd |
Name: python-%{pypi_name}
|
|
|
c388df9 |
Version: 3.3.4
|
|
|
bdbe509 |
Release: 2%{?dist}
|
|
Nick Bebout |
657ddbd |
Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way
|
|
Nick Bebout |
657ddbd |
|
|
Nick Bebout |
657ddbd |
License: MIT
|
|
Nick Bebout |
657ddbd |
URL: https://github.com/AnalogJ/lexicon
|
|
Nick Bebout |
657ddbd |
Source0: https://files.pythonhosted.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
Nick Bebout |
657ddbd |
BuildArch: noarch
|
|
|
2366c6d |
|
|
|
929d07f |
Patch0: 0000-remove-shebang.patch
|
|
|
929d07f |
|
|
|
a5e4545 |
%if 0%{?rhel7}
|
|
|
929d07f |
Patch1: 0001-fix-requirements.patch
|
|
|
929d07f |
%endif
|
|
|
2366c6d |
|
|
|
125b3d7 |
%if %{with python2}
|
|
Nick Bebout |
657ddbd |
BuildRequires: python2-devel
|
|
Nick Bebout |
657ddbd |
BuildRequires: python2-setuptools
|
|
|
b535777 |
BuildRequires: python2-cryptography
|
|
Nick Bebout |
657ddbd |
BuildRequires: python2-future
|
|
|
929d07f |
BuildRequires: python2-pyyaml
|
|
Nick Bebout |
657ddbd |
BuildRequires: python2-tldextract
|
|
Nick Bebout |
4109e79 |
|
|
|
a5e4545 |
%if 0%{?rhel7}
|
|
|
a5e4545 |
# EL7 has an unversioned name for this package
|
|
|
929d07f |
BuildRequires: pyOpenSSL
|
|
|
929d07f |
%else
|
|
|
929d07f |
BuildRequires: python2-pyOpenSSL
|
|
|
929d07f |
%endif
|
|
|
a5e4545 |
|
|
|
a5e4545 |
# Extras requirements
|
|
|
a5e4545 |
# {{{
|
|
|
c41af87 |
%if %{with extras}
|
|
|
a5e4545 |
%if 0%{?rhel7}
|
|
|
a5e4545 |
# EL7 has unversioned names for these packages
|
|
|
a5e4545 |
BuildRequires: python-beautifulsoup4
|
|
|
a5e4545 |
BuildRequires: python-boto3
|
|
|
a5e4545 |
BuildRequires: python-xmltodict
|
|
|
a5e4545 |
%else
|
|
|
a5e4545 |
BuildRequires: python2-beautifulsoup4
|
|
|
a5e4545 |
BuildRequires: python2-boto3
|
|
|
a5e4545 |
BuildRequires: python2-xmltodict
|
|
|
a5e4545 |
|
|
|
a5e4545 |
# EL7 doesn't have a current enough version of this package
|
|
|
a5e4545 |
BuildRequires: python2-dns
|
|
|
a5e4545 |
%endif
|
|
|
c41af87 |
%endif
|
|
|
a5e4545 |
# }}}
|
|
|
125b3d7 |
%endif
|
|
|
929d07f |
|
|
Nick Bebout |
4109e79 |
%if %{with python3}
|
|
Nick Bebout |
657ddbd |
BuildRequires: python3-devel
|
|
Nick Bebout |
657ddbd |
BuildRequires: python3-setuptools
|
|
|
b535777 |
BuildRequires: python3-cryptography
|
|
Nick Bebout |
657ddbd |
BuildRequires: python3-future
|
|
|
929d07f |
BuildRequires: python3-pyOpenSSL
|
|
Nick Bebout |
657ddbd |
BuildRequires: python3-tldextract
|
|
|
2740ab1 |
|
|
|
2740ab1 |
%if 0%{?fedora} && 0%{?fedora} <= 28
|
|
|
2740ab1 |
BuildRequires: python3-PyYAML
|
|
|
2740ab1 |
%else
|
|
|
2740ab1 |
BuildRequires: python3-pyyaml
|
|
|
2740ab1 |
%endif
|
|
|
2740ab1 |
|
|
|
a5e4545 |
# Extras requirements
|
|
|
a5e4545 |
# {{{
|
|
|
c41af87 |
%if %{with extras}
|
|
|
a5e4545 |
BuildRequires: python3-beautifulsoup4
|
|
|
a5e4545 |
BuildRequires: python3-boto3
|
|
|
a5e4545 |
BuildRequires: python3-dns
|
|
|
a5e4545 |
BuildRequires: python3-xmltodict
|
|
|
c41af87 |
%endif
|
|
|
a5e4545 |
# }}}
|
|
|
a5e4545 |
|
|
Nick Bebout |
4109e79 |
%endif
|
|
Nick Bebout |
657ddbd |
|
|
Nick Bebout |
657ddbd |
%description
|
|
|
4d33d4c |
Lexicon provides a way to manipulate DNS records on multiple DNS providers in a
|
|
|
4d33d4c |
standardized way. Lexicon has a CLI but it can also be used as a python
|
|
|
4d33d4c |
library.
|
|
Nick Bebout |
657ddbd |
|
|
|
125b3d7 |
%if %{with python2}
|
|
Nick Bebout |
657ddbd |
%package -n python2-%{pypi_name}
|
|
Nick Bebout |
657ddbd |
Summary: %{summary}
|
|
Nick Bebout |
657ddbd |
%{?python_provide:%python_provide python2-%{pypi_name}}
|
|
|
2366c6d |
|
|
|
b535777 |
Requires: python2-cryptography
|
|
Nick Bebout |
657ddbd |
Requires: python2-future
|
|
|
b535777 |
Requires: python2-requests
|
|
Nick Bebout |
657ddbd |
Requires: python2-setuptools
|
|
|
929d07f |
Requires: python2-pyyaml
|
|
|
b535777 |
Requires: python2-tldextract
|
|
Nick Bebout |
657ddbd |
|
|
|
a5e4545 |
%if 0%{?rhel7}
|
|
|
a5e4545 |
# EL7 has an unversioned name for this package
|
|
|
929d07f |
Requires: pyOpenSSL
|
|
|
929d07f |
%else
|
|
|
929d07f |
Requires: python2-pyOpenSSL
|
|
|
929d07f |
%endif
|
|
|
929d07f |
|
|
|
407a789 |
# Both packages install a Python module named lexicon
|
|
|
407a789 |
# TODO: Remove this once resolved upstream (see upstream #222)
|
|
|
a5e4545 |
%if 0%{?rhel7}
|
|
|
407a789 |
Conflicts: python-lexicon
|
|
|
407a789 |
%else
|
|
|
407a789 |
Conflicts: python2-lexicon
|
|
|
407a789 |
%endif
|
|
|
407a789 |
|
|
Nick Bebout |
657ddbd |
%description -n python2-%{pypi_name}
|
|
|
4d33d4c |
Lexicon provides a way to manipulate DNS records on multiple DNS providers in a
|
|
|
4d33d4c |
standardized way. Lexicon has a CLI but it can also be used as a python
|
|
|
4d33d4c |
library.
|
|
|
4d33d4c |
|
|
|
4d33d4c |
This is the Python 2 version of the package.
|
|
|
125b3d7 |
%endif
|
|
Nick Bebout |
657ddbd |
|
|
Nick Bebout |
4109e79 |
%if %{with python3}
|
|
Nick Bebout |
657ddbd |
%package -n python3-%{pypi_name}
|
|
Nick Bebout |
657ddbd |
Summary: %{summary}
|
|
Nick Bebout |
657ddbd |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
2366c6d |
|
|
|
b535777 |
Requires: python3-cryptography
|
|
Nick Bebout |
657ddbd |
Requires: python3-future
|
|
|
b535777 |
Requires: python3-requests
|
|
Nick Bebout |
657ddbd |
Requires: python3-setuptools
|
|
|
929d07f |
Requires: python3-pyOpenSSL
|
|
|
b535777 |
Requires: python3-tldextract
|
|
Nick Bebout |
657ddbd |
|
|
|
2740ab1 |
%if 0%{?fedora} && 0%{?fedora} <= 28
|
|
|
2740ab1 |
Requires: python3-PyYAML
|
|
|
2740ab1 |
%else
|
|
|
2740ab1 |
Requires: python3-pyyaml
|
|
|
2740ab1 |
%endif
|
|
|
2740ab1 |
|
|
|
407a789 |
# Both packages install a Python module named lexicon
|
|
|
407a789 |
# TODO: Remove this once resolved upstream (see upstream #222)
|
|
|
407a789 |
Conflicts: python3-lexicon
|
|
|
407a789 |
|
|
Nick Bebout |
657ddbd |
%description -n python3-%{pypi_name}
|
|
|
4d33d4c |
Lexicon provides a way to manipulate DNS records on multiple DNS providers in a
|
|
|
4d33d4c |
standardized way. Lexicon has a CLI but it can also be used as a python
|
|
|
4d33d4c |
library.
|
|
|
4d33d4c |
|
|
|
4d33d4c |
This is the Python 3 version of the package.
|
|
Nick Bebout |
4109e79 |
%endif
|
|
Nick Bebout |
657ddbd |
|
|
|
a5e4545 |
# Extras meta-packages
|
|
|
a5e4545 |
# {{{
|
|
|
c41af87 |
%if %{with extras}
|
|
|
a5e4545 |
|
|
|
a5e4545 |
%if %{with python2}
|
|
|
a5e4545 |
%package -n python2-%{pypi_name}+easyname
|
|
|
a5e4545 |
Summary: Meta-package for python2-%{pypi_name} and easyname provider
|
|
|
a5e4545 |
%{?python_provide:%python_provide python2-%{pypi_name}+easyname}
|
|
|
a5e4545 |
|
|
|
a5e4545 |
Requires: python2-%{pypi_name} = %{version}-%{release}
|
|
|
a5e4545 |
|
|
|
a5e4545 |
%if 0%{?rhel7}
|
|
|
a5e4545 |
# EL7 has an unversioned name for this package
|
|
|
a5e4545 |
Requires: python-beautifulsoup4
|
|
|
a5e4545 |
%else
|
|
|
a5e4545 |
Requires: python2-beautifulsoup4
|
|
|
a5e4545 |
%endif
|
|
|
a5e4545 |
|
|
|
a5e4545 |
%description -n python2-%{pypi_name}+easyname
|
|
|
a5e4545 |
This package installs no files. It requires python2-%{pypi_name} and all
|
|
|
a5e4545 |
dependencies necessary to use the easyname provider.
|
|
|
a5e4545 |
%endif
|
|
|
a5e4545 |
|
|
|
a5e4545 |
%if %{with python3}
|
|
|
a5e4545 |
%package -n python3-%{pypi_name}+easyname
|
|
|
a5e4545 |
Summary: Meta-package for python3-%{pypi_name} and easyname provider
|
|
|
a5e4545 |
%{?python_provide:%python_provide python3-%{pypi_name}+easyname}
|
|
|
a5e4545 |
|
|
|
a5e4545 |
Requires: python3-%{pypi_name} = %{version}-%{release}
|
|
|
a5e4545 |
Requires: python3-beautifulsoup4
|
|
|
a5e4545 |
|
|
|
a5e4545 |
%description -n python3-%{pypi_name}+easyname
|
|
|
a5e4545 |
This package installs no files. It requires python3-%{pypi_name} and all
|
|
|
a5e4545 |
dependencies necessary to use the easyname provider.
|
|
|
a5e4545 |
%endif
|
|
|
a5e4545 |
|
|
|
a5e4545 |
%if %{with python2}
|
|
|
d3c2798 |
%package -n python2-%{pypi_name}+gratisdns
|
|
|
d3c2798 |
Summary: Meta-package for python2-%{pypi_name} and gratisdns provider
|
|
|
d3c2798 |
%{?python_provide:%python_provide python2-%{pypi_name}+gratisdns}
|
|
|
d3c2798 |
|
|
|
d3c2798 |
Requires: python2-%{pypi_name} = %{version}-%{release}
|
|
|
d3c2798 |
|
|
|
d3c2798 |
%if 0%{?rhel7}
|
|
|
d3c2798 |
# EL7 has an unversioned name for this package
|
|
|
d3c2798 |
Requires: python-beautifulsoup4
|
|
|
d3c2798 |
%else
|
|
|
d3c2798 |
Requires: python2-beautifulsoup4
|
|
|
d3c2798 |
%endif
|
|
|
d3c2798 |
|
|
|
d3c2798 |
%description -n python2-%{pypi_name}+gratisdns
|
|
|
d3c2798 |
This package installs no files. It requires python2-%{pypi_name} and all
|
|
|
d3c2798 |
dependencies necessary to use the gratisdns provider.
|
|
|
d3c2798 |
%endif
|
|
|
d3c2798 |
|
|
|
d3c2798 |
%if %{with python3}
|
|
|
d3c2798 |
%package -n python3-%{pypi_name}+gratisdns
|
|
|
d3c2798 |
Summary: Meta-package for python3-%{pypi_name} and gratisdns provider
|
|
|
d3c2798 |
%{?python_provide:%python_provide python3-%{pypi_name}+gratisdns}
|
|
|
d3c2798 |
|
|
|
d3c2798 |
Requires: python3-%{pypi_name} = %{version}-%{release}
|
|
|
d3c2798 |
Requires: python3-beautifulsoup4
|
|
|
d3c2798 |
|
|
|
d3c2798 |
%description -n python3-%{pypi_name}+gratisdns
|
|
|
d3c2798 |
This package installs no files. It requires python3-%{pypi_name} and all
|
|
|
d3c2798 |
dependencies necessary to use the gratisdns provider.
|
|
|
d3c2798 |
%endif
|
|
|
d3c2798 |
|
|
|
d3c2798 |
%if %{with python2}
|
|
|
a5e4545 |
%package -n python2-%{pypi_name}+henet
|
|
|
a5e4545 |
Summary: Meta-package for python2-%{pypi_name} and Hurricane Electric provider
|
|
|
a5e4545 |
%{?python_provide:%python_provide python2-%{pypi_name}+henet}
|
|
|
a5e4545 |
|
|
|
a5e4545 |
Requires: python2-%{pypi_name} = %{version}-%{release}
|
|
|
a5e4545 |
|
|
|
a5e4545 |
%if 0%{?rhel7}
|
|
|
a5e4545 |
# EL7 has an unversioned name for this package
|
|
|
a5e4545 |
Requires: python-beautifulsoup4
|
|
|
a5e4545 |
%else
|
|
|
a5e4545 |
Requires: python2-beautifulsoup4
|
|
|
a5e4545 |
%endif
|
|
|
a5e4545 |
|
|
|
a5e4545 |
%description -n python2-%{pypi_name}+henet
|
|
|
a5e4545 |
This package installs no files. It requires python2-%{pypi_name} and all
|
|
|
a5e4545 |
dependencies necessary to use the Hurricane Electric provider.
|
|
|
a5e4545 |
%endif
|
|
|
a5e4545 |
|
|
|
a5e4545 |
%if %{with python3}
|
|
|
a5e4545 |
%package -n python3-%{pypi_name}+henet
|
|
|
a5e4545 |
Summary: Meta-package for python3-%{pypi_name} and Hurricane Electric provider
|
|
|
a5e4545 |
%{?python_provide:%python_provide python3-%{pypi_name}+henet}
|
|
|
a5e4545 |
|
|
|
a5e4545 |
Requires: python3-%{pypi_name} = %{version}-%{release}
|
|
|
a5e4545 |
Requires: python3-beautifulsoup4
|
|
|
a5e4545 |
|
|
|
a5e4545 |
%description -n python3-%{pypi_name}+henet
|
|
|
a5e4545 |
This package installs no files. It requires python3-%{pypi_name} and all
|
|
|
a5e4545 |
dependencies necessary to use the Hurricane Electric provider.
|
|
|
a5e4545 |
%endif
|
|
|
a5e4545 |
|
|
|
a5e4545 |
%if %{with python2}
|
|
|
a5e4545 |
%package -n python2-%{pypi_name}+plesk
|
|
|
a5e4545 |
Summary: Meta-package for python2-%{pypi_name} and Plesk provider
|
|
|
a5e4545 |
%{?python_provide:%python_provide python2-%{pypi_name}+plesk}
|
|
|
a5e4545 |
|
|
|
a5e4545 |
Requires: python2-%{pypi_name} = %{version}-%{release}
|
|
|
a5e4545 |
|
|
|
a5e4545 |
%if 0%{?rhel7}
|
|
|
a5e4545 |
# EL7 has an unversioned name for this package
|
|
|
a5e4545 |
Requires: python-xmltodict
|
|
|
a5e4545 |
%else
|
|
|
a5e4545 |
Requires: python2-xmltodict
|
|
|
a5e4545 |
%endif
|
|
|
a5e4545 |
|
|
|
a5e4545 |
%description -n python2-%{pypi_name}+plesk
|
|
|
a5e4545 |
This package installs no files. It requires python2-%{pypi_name} and all
|
|
|
a5e4545 |
dependencies necessary to use the Plesk provider.
|
|
|
a5e4545 |
%endif
|
|
|
a5e4545 |
|
|
|
a5e4545 |
%if %{with python3}
|
|
|
a5e4545 |
%package -n python3-%{pypi_name}+plesk
|
|
|
a5e4545 |
Summary: Meta-package for python3-%{pypi_name} and Plesk provider
|
|
|
a5e4545 |
%{?python_provide:%python_provide python3-%{pypi_name}+plesk}
|
|
|
a5e4545 |
|
|
|
a5e4545 |
Requires: python3-%{pypi_name} = %{version}-%{release}
|
|
|
a5e4545 |
Requires: python3-xmltodict
|
|
|
a5e4545 |
|
|
|
a5e4545 |
%description -n python3-%{pypi_name}+plesk
|
|
|
a5e4545 |
This package installs no files. It requires python3-%{pypi_name} and all
|
|
|
a5e4545 |
dependencies necessary to use the Plesk provider.
|
|
|
a5e4545 |
%endif
|
|
|
a5e4545 |
|
|
|
a5e4545 |
%if %{with python2}
|
|
|
a5e4545 |
%package -n python2-%{pypi_name}+route53
|
|
|
a5e4545 |
Summary: Meta-package for python2-%{pypi_name} and Route 53 provider
|
|
|
a5e4545 |
%{?python_provide:%python_provide python2-%{pypi_name}+route53}
|
|
|
a5e4545 |
|
|
|
a5e4545 |
Requires: python2-%{pypi_name} = %{version}-%{release}
|
|
|
a5e4545 |
|
|
|
a5e4545 |
%if 0%{?rhel7}
|
|
|
a5e4545 |
# EL7 has an unversioned name for this package
|
|
|
a5e4545 |
Requires: python-boto3
|
|
|
a5e4545 |
%else
|
|
|
a5e4545 |
Requires: python2-boto3
|
|
|
a5e4545 |
%endif
|
|
|
a5e4545 |
|
|
|
a5e4545 |
%description -n python2-%{pypi_name}+route53
|
|
|
a5e4545 |
This package installs no files. It requires python2-%{pypi_name} and all
|
|
|
a5e4545 |
dependencies necessary to use the Route 53 provider.
|
|
|
a5e4545 |
%endif
|
|
|
a5e4545 |
|
|
|
a5e4545 |
%if %{with python3}
|
|
|
a5e4545 |
%package -n python3-%{pypi_name}+route53
|
|
|
a5e4545 |
Summary: Meta-package for python3-%{pypi_name} and Route 53 provider
|
|
|
a5e4545 |
%{?python_provide:%python_provide python3-%{pypi_name}+route53}
|
|
|
a5e4545 |
|
|
|
a5e4545 |
Requires: python3-%{pypi_name} = %{version}-%{release}
|
|
|
a5e4545 |
Requires: python3-boto3
|
|
|
a5e4545 |
|
|
|
a5e4545 |
%description -n python3-%{pypi_name}+route53
|
|
|
a5e4545 |
This package installs no files. It requires python3-%{pypi_name} and all
|
|
|
a5e4545 |
dependencies necessary to use the Route 53 provider.
|
|
|
a5e4545 |
%endif
|
|
|
a5e4545 |
|
|
|
a5e4545 |
%if ! 0%{?rhel7}
|
|
|
a5e4545 |
# EL7 does not have the dependencies necessary for this meta-package
|
|
|
a5e4545 |
# {{{
|
|
|
a5e4545 |
|
|
|
a5e4545 |
%if %{with python2}
|
|
|
a5e4545 |
%package -n python2-%{pypi_name}+hetzner
|
|
|
a5e4545 |
Summary: Meta-package for python2-%{pypi_name} and Hetzner provider
|
|
|
a5e4545 |
%{?python_provide:%python_provide python2-%{pypi_name}+hetzner}
|
|
|
a5e4545 |
|
|
|
a5e4545 |
Requires: python2-%{pypi_name} = %{version}-%{release}
|
|
|
a5e4545 |
Requires: python2-beautifulsoup4
|
|
|
a5e4545 |
Requires: python2-dns
|
|
|
a5e4545 |
|
|
|
a5e4545 |
%description -n python2-%{pypi_name}+hetzner
|
|
|
a5e4545 |
This package installs no files. It requires python2-%{pypi_name} and all
|
|
|
a5e4545 |
dependencies necessary to use the Hetzner provider.
|
|
|
a5e4545 |
%endif
|
|
|
a5e4545 |
|
|
|
a5e4545 |
%if %{with python3}
|
|
|
a5e4545 |
%package -n python3-%{pypi_name}+hetzner
|
|
|
a5e4545 |
Summary: Meta-package for python3-%{pypi_name} and Hetzner provider
|
|
|
a5e4545 |
%{?python_provide:%python_provide python3-%{pypi_name}+hetzner}
|
|
|
a5e4545 |
|
|
|
a5e4545 |
Requires: python3-%{pypi_name} = %{version}-%{release}
|
|
|
a5e4545 |
Requires: python3-beautifulsoup4
|
|
|
a5e4545 |
Requires: python3-dns
|
|
|
a5e4545 |
|
|
|
a5e4545 |
%description -n python3-%{pypi_name}+hetzner
|
|
|
a5e4545 |
This package installs no files. It requires python3-%{pypi_name} and all
|
|
|
a5e4545 |
dependencies necessary to use the Hetzner provider.
|
|
|
a5e4545 |
%endif
|
|
|
a5e4545 |
# }}}
|
|
|
a5e4545 |
%endif
|
|
|
c41af87 |
|
|
|
c41af87 |
%endif
|
|
|
a5e4545 |
# }}}
|
|
|
a5e4545 |
|
|
Nick Bebout |
657ddbd |
%prep
|
|
|
2366c6d |
%autosetup -p1 -n %{pypi_name}-%{version}
|
|
Nick Bebout |
657ddbd |
# Remove bundled egg-info
|
|
Nick Bebout |
657ddbd |
rm -rf %{pypi_name}.egg-info
|
|
Nick Bebout |
657ddbd |
|
|
Nick Bebout |
657ddbd |
%build
|
|
|
125b3d7 |
%if %{with python2}
|
|
Nick Bebout |
657ddbd |
%py2_build
|
|
|
125b3d7 |
%endif
|
|
|
125b3d7 |
|
|
Nick Bebout |
4109e79 |
%if %{with python3}
|
|
Nick Bebout |
657ddbd |
%py3_build
|
|
Nick Bebout |
4109e79 |
%endif
|
|
Nick Bebout |
657ddbd |
|
|
Nick Bebout |
657ddbd |
%install
|
|
|
125b3d7 |
%if %{with python2}
|
|
|
25f330b |
%py2_install
|
|
|
4d33d4c |
install -pm 0755 %{buildroot}/%{_bindir}/lexicon %{buildroot}/%{_bindir}/lexicon-%{python2_version}
|
|
|
25f330b |
ln -s %{_bindir}/lexicon-%{python2_version} %{buildroot}/%{_bindir}/lexicon-2
|
|
|
125b3d7 |
%endif
|
|
|
25f330b |
|
|
Nick Bebout |
4109e79 |
%if %{with python3}
|
|
Nick Bebout |
657ddbd |
%py3_install
|
|
|
4d33d4c |
install -pm 0755 %{buildroot}/%{_bindir}/lexicon %{buildroot}/%{_bindir}/lexicon-%{python3_version}
|
|
Nick Bebout |
657ddbd |
ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3
|
|
Nick Bebout |
4109e79 |
%endif
|
|
Nick Bebout |
657ddbd |
|
|
|
125b3d7 |
%if %{with python2}
|
|
Nick Bebout |
657ddbd |
%files -n python2-%{pypi_name}
|
|
Nick Bebout |
657ddbd |
%license LICENSE
|
|
Nick Bebout |
657ddbd |
%doc README.md
|
|
|
25f330b |
%if ! %{with python3}
|
|
Nick Bebout |
657ddbd |
%{_bindir}/lexicon
|
|
|
25f330b |
%endif
|
|
Nick Bebout |
657ddbd |
%{_bindir}/lexicon-2
|
|
Nick Bebout |
657ddbd |
%{_bindir}/lexicon-%{python2_version}
|
|
Nick Bebout |
657ddbd |
%{python2_sitelib}/lexicon
|
|
Nick Bebout |
657ddbd |
%{python2_sitelib}/dns_lexicon-%{version}-py?.?.egg-info
|
|
|
a5e4545 |
|
|
|
a5e4545 |
# Extras meta-packages
|
|
|
a5e4545 |
# {{{
|
|
|
a5e4545 |
%files -n python2-%{pypi_name}+easyname
|
|
|
d3c2798 |
%files -n python2-%{pypi_name}+gratisdns
|
|
|
a5e4545 |
%files -n python2-%{pypi_name}+henet
|
|
|
a5e4545 |
%files -n python2-%{pypi_name}+plesk
|
|
|
a5e4545 |
%files -n python2-%{pypi_name}+route53
|
|
|
a5e4545 |
|
|
|
a5e4545 |
%if ! 0%{?rhel7}
|
|
|
a5e4545 |
# EL7 does not have the necessary dependencies for this meta-package
|
|
|
a5e4545 |
%files -n python2-%{pypi_name}+hetzner
|
|
|
a5e4545 |
%endif
|
|
|
a5e4545 |
# }}}
|
|
|
125b3d7 |
%endif
|
|
Nick Bebout |
657ddbd |
|
|
Nick Bebout |
4109e79 |
%if %{with python3}
|
|
Nick Bebout |
657ddbd |
%files -n python3-%{pypi_name}
|
|
Nick Bebout |
657ddbd |
%license LICENSE
|
|
Nick Bebout |
657ddbd |
%doc README.md
|
|
|
25f330b |
%{_bindir}/lexicon
|
|
Nick Bebout |
657ddbd |
%{_bindir}/lexicon-3
|
|
Nick Bebout |
657ddbd |
%{_bindir}/lexicon-%{python3_version}
|
|
Nick Bebout |
657ddbd |
%{python3_sitelib}/lexicon
|
|
Nick Bebout |
657ddbd |
%{python3_sitelib}/dns_lexicon-%{version}-py?.?.egg-info
|
|
|
a5e4545 |
|
|
|
a5e4545 |
# Extras meta-packages
|
|
|
a5e4545 |
# {{{
|
|
|
c41af87 |
%if %{with extras}
|
|
|
a5e4545 |
%files -n python3-%{pypi_name}+easyname
|
|
|
d3c2798 |
%files -n python3-%{pypi_name}+gratisdns
|
|
|
a5e4545 |
%files -n python3-%{pypi_name}+henet
|
|
|
a5e4545 |
%files -n python3-%{pypi_name}+hetzner
|
|
|
a5e4545 |
%files -n python3-%{pypi_name}+plesk
|
|
|
a5e4545 |
%files -n python3-%{pypi_name}+route53
|
|
|
c41af87 |
%endif
|
|
|
a5e4545 |
# }}}
|
|
Nick Bebout |
4109e79 |
%endif
|
|
Nick Bebout |
657ddbd |
|
|
Nick Bebout |
657ddbd |
%changelog
|
|
|
bdbe509 |
* Tue Oct 08 2019 Eli Young <elyscape@gmail.com> - 3.3.4-2
|
|
|
bdbe509 |
- Rebuild due to Koji issues
|
|
|
bdbe509 |
|
|
|
c388df9 |
* Mon Oct 07 2019 Eli Young <elyscape@gmail.com> - 3.3.4-1
|
|
|
c388df9 |
- Update to 3.3.4 (#1725208)
|
|
|
c41af87 |
- Support EPEL8 builds
|
|
|
c388df9 |
|
|
|
7121828 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.2.8-4
|
|
|
7121828 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
7121828 |
|
|
|
a08bace |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.2.8-3
|
|
|
a08bace |
- Rebuilt for Python 3.8
|
|
|
a08bace |
|
|
|
1493905 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.8-2
|
|
|
1493905 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
1493905 |
|
|
|
7ce3bb9 |
* Thu Jun 27 2019 Eli Young <elyscape@gmail.com> - 3.2.8-1
|
|
|
7ce3bb9 |
- Update to 3.2.8 (#1722190)
|
|
|
7ce3bb9 |
|
|
|
d3c2798 |
* Tue May 28 2019 Eli Young <elyscape@gmail.com> - 3.2.6-1
|
|
|
d3c2798 |
- Update to 3.2.6 (#1685778)
|
|
|
d3c2798 |
|
|
|
f15bc48 |
* Fri Feb 15 2019 Eli Young <elyscape@gmail.com> - 3.1.5-1
|
|
|
f15bc48 |
- Update to 3.1.5 (#1671162)
|
|
|
a5e4545 |
- Add meta-subpackages for specific providers
|
|
|
f15bc48 |
|
|
|
3089b76 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.6-2
|
|
|
3089b76 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
3089b76 |
|
|
|
2ac3612 |
* Fri Dec 14 2018 Eli Young <elyscape@gmail.com> - 3.0.6-1
|
|
|
2ac3612 |
- Update to 3.0.6
|
|
|
407a789 |
- Declare conflict with python-lexicon
|
|
|
125b3d7 |
- Remove Python 2 package in Fedora 30+
|
|
|
2ac3612 |
|
|
|
2740ab1 |
* Wed Nov 14 2018 Eli Young <elyscape@gmail.com> - 3.0.2-2
|
|
|
2740ab1 |
- Fix dependencies on Fedora 28
|
|
|
2740ab1 |
|
|
|
929d07f |
* Wed Nov 14 2018 Eli Young <elyscape@gmail.com> - 3.0.2-1
|
|
|
929d07f |
- Update to 3.0.2
|
|
|
929d07f |
|
|
|
1ce3f1b |
* Mon Oct 08 2018 Eli Young <elyscape@gmail.com> - 2.7.9-1
|
|
|
1ce3f1b |
- Update to 2.7.9 (#1637142)
|
|
|
1ce3f1b |
|
|
|
b535777 |
* Mon Aug 27 2018 Eli Young <elyscape@gmail.com> - 2.7.0-2
|
|
|
b535777 |
- Add dependency on python-cryptography (#1622418)
|
|
|
b535777 |
|
|
Nick Bebout |
4c1fcbd |
* Mon Jul 23 2018 Nick Bebout <nb@fedoraproject.org> - 2.7.0-1
|
|
Nick Bebout |
4c1fcbd |
- Update to 2.7.0
|
|
Nick Bebout |
4c1fcbd |
|
|
|
0a5ff54 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.5-2
|
|
|
0a5ff54 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
0a5ff54 |
|
|
|
6a8dd08 |
* Tue Jul 10 2018 Eli Young <elyscape@gmail.com> - 2.4.5-1
|
|
|
6a8dd08 |
- Update to 2.4.5 (#1599479)
|
|
|
6a8dd08 |
|
|
|
a4669ac |
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 2.4.4-3
|
|
|
a4669ac |
- Rebuilt for Python 3.7
|
|
|
a4669ac |
|
|
|
2366c6d |
* Tue Jun 26 2018 Eli Young <elyscape@gmail.com> - 2.4.4-2
|
|
|
2366c6d |
- Remove unnecessary shebang
|
|
|
2366c6d |
|
|
|
c265004 |
* Tue Jun 26 2018 Eli Young <elyscape@gmail.com> - 2.4.4-1
|
|
|
c265004 |
- Update to 2.4.4 (#1594777)
|
|
|
c265004 |
|
|
|
341f422 |
* Tue Jun 19 2018 Eli Young <elyscape@gmail.com> - 2.4.3-1
|
|
|
341f422 |
- Update to 2.4.3 (#1592158)
|
|
|
341f422 |
|
|
|
b7cefb2 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.4.0-2
|
|
|
b7cefb2 |
- Rebuilt for Python 3.7
|
|
|
b7cefb2 |
|
|
|
890d6e9 |
* Mon Jun 11 2018 Eli Young <elyscape@gmail.com> - 2.4.0-1
|
|
|
890d6e9 |
- Update to 2.4.0 (#1589596)
|
|
|
890d6e9 |
|
|
|
40411b5 |
* Tue May 29 2018 Eli Young <elyscape@gmail.com> - 2.3.0-1
|
|
|
40411b5 |
- Update to 2.3.0 (#1582799)
|
|
|
40411b5 |
|
|
|
59999db |
* Mon May 07 2018 Eli Young <elyscape@gmail.com> - 2.2.3-1
|
|
|
59999db |
- Update to 2.2.3 (#1575598)
|
|
|
59999db |
|
|
|
816cfbd |
* Thu May 03 2018 Eli Young <elyscape@gmail.com> - 2.2.2-1
|
|
|
816cfbd |
- Update to 2.2.2 (#1574265)
|
|
|
816cfbd |
|
|
|
97227dd |
* Sat Mar 24 2018 Eli Young <elyscape@gmail.com> - 2.2.1-1
|
|
|
97227dd |
- Update to 2.2.1
|
|
|
25f330b |
- Use Python 3 by default when available
|
|
|
97227dd |
|
|
Nick Bebout |
657ddbd |
* Mon Feb 19 2018 Nick Bebout <nb@fedoraproject.org> - 2.1.19-1
|
|
Nick Bebout |
657ddbd |
- Initial package.
|