forked from pool/python-tld
- update to version 0.7.10:
* more documentation files included * included license file * update tld data OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
9b062c63d2
commit
2ba92d60d7
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-tld
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -13,20 +13,21 @@
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-tld
|
||||
Version: 0.7.9
|
||||
Version: 0.7.10
|
||||
Release: 0
|
||||
License: MPL-1.1 or GPL-2.0 or LGPL-2.1
|
||||
Summary: Extract the top level domain (TLD) from the URL given
|
||||
Url: https://github.com/barseghyanartur/tld
|
||||
License: MPL-1.1 OR GPL-2.0-only OR LGPL-2.1-only
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/barseghyanartur/tld
|
||||
Source: https://files.pythonhosted.org/packages/source/t/tld/tld-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module six >= 1.9}
|
||||
# /SECTION
|
||||
@@ -56,7 +57,8 @@ sed -i '1s/^#!.*/#!\/usr\/bin\/python3/' src/tld/bin/update-tld-names
|
||||
%python_exec setup.py test
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%doc README.rst CHANGELOG.rst docs/
|
||||
%license LICENSE_GPL2.0.txt LICENSE_LGPL_2.1.txt
|
||||
%python3_only %{_bindir}/update-tld-names
|
||||
%{python_sitelib}/*
|
||||
|
||||
|
Reference in New Issue
Block a user