forked from pool/python-pyLibravatar
- Disable python2 build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyLibravatar?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
1fd35439e6
commit
77268b6d2b
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 23 07:27:30 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Disable python2 build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 8 13:16:58 UTC 2018 - jengelh@inai.de
|
Wed Aug 8 13:16:58 UTC 2018 - jengelh@inai.de
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pyLibravatar
|
# spec file for package python-pyLibravatar
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,31 +12,25 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%define skip_python2 1
|
||||||
Name: python-pyLibravatar
|
Name: python-pyLibravatar
|
||||||
Version: 1.7
|
Version: 1.7
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python module for Libravatar
|
Summary: Python module for Libravatar
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://launchpad.net/pylibravatar
|
URL: https://launchpad.net/pylibravatar
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pyLibravatar/pyLibravatar-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pyLibravatar/pyLibravatar-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module py3dns}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python2-pydns
|
Requires: python-py3dns
|
||||||
BuildRequires: python3-py3dns
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%ifpython2
|
|
||||||
Requires: python2-pydns
|
|
||||||
%endif
|
|
||||||
%ifpython3
|
|
||||||
Requires: python3-py3dns
|
|
||||||
%endif
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -54,6 +48,7 @@ avatar hosting service from within Python applications.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
%license README.txt
|
||||||
%doc README.txt Changelog.txt
|
%doc README.txt Changelog.txt
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user