forked from pool/python-tldextract
Accepting request 869865 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/869865 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tldextract?expand=0&rev=12
This commit is contained in:
@@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 4 20:10:10 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Fix python-rpm-macros singlespec glitches:
|
||||||
|
* The versions go inside python_module
|
||||||
|
* The obsoletion of the old python2 package did not work with
|
||||||
|
the python_subpackages rewrite
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Nov 28 20:13:57 UTC 2020 - Mia Herkt <mia@0x0.st>
|
Sat Nov 28 20:13:57 UTC 2020 - Mia Herkt <mia@0x0.st>
|
||||||
|
|
||||||
|
@@ -16,8 +16,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define skip_python2 1
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%define skip_python2 1
|
||||||
|
%define oldpython python
|
||||||
Name: python-tldextract
|
Name: python-tldextract
|
||||||
Version: 3.1.0
|
Version: 3.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -27,16 +28,17 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/john-kurkowski/tldextract
|
URL: https://github.com/john-kurkowski/tldextract
|
||||||
Source: https://files.pythonhosted.org/packages/source/t/tldextract/tldextract-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/t/tldextract/tldextract-%{version}.tar.gz
|
||||||
Source1: %{name}-rpmlintrc
|
Source1: %{name}-rpmlintrc
|
||||||
### BEGIN test requirements
|
BuildRequires: %{python_module filelock >= 3.0.8}
|
||||||
BuildRequires: %{python_module filelock} >= 3.0.8
|
BuildRequires: %{python_module idna >= 2.1.0}
|
||||||
BuildRequires: %{python_module pytest-mock}
|
BuildRequires: %{python_module requests-file >= 1.4}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module requests >= 2.1.0}
|
||||||
BuildRequires: %{python_module requests-file} >= 1.4
|
|
||||||
BuildRequires: %{python_module requests} >= 2.1.0
|
|
||||||
BuildRequires: %{python_module responses}
|
|
||||||
### END test requirements
|
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
### SECTION test requirements
|
||||||
|
BuildRequires: %{python_module pytest-mock}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module responses}
|
||||||
|
### /SECTION test requirements
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-filelock >= 3.0.8
|
Requires: python-filelock >= 3.0.8
|
||||||
@@ -46,7 +48,7 @@ Requires: python-requests-file >= 1.4
|
|||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
Obsoletes: python-tldextract <= 2.0.1
|
Obsoletes: %{oldpython}-tldextract <= 2.0.1
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user