From 8e96b8091e3d46c137b3bec672cf53dff6dfd606876959251a19bff7f2f0d7d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sun, 12 Apr 2020 08:53:19 +0000 Subject: [PATCH] - Format bit with spec-cleaner OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-publicsuffix2?expand=0&rev=2 --- python-publicsuffix2.changes | 5 +++++ python-publicsuffix2.spec | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/python-publicsuffix2.changes b/python-publicsuffix2.changes index 3f6ddc8..2a7a24d 100644 --- a/python-publicsuffix2.changes +++ b/python-publicsuffix2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Apr 12 08:53:08 UTC 2020 - Tomáš Chvátal + +- Format bit with spec-cleaner + ------------------------------------------------------------------- Tue Jan 21 12:35:36 PM UTC 2020 - John Vandenberg diff --git a/python-publicsuffix2.spec b/python-publicsuffix2.spec index 150364a..ab3f427 100644 --- a/python-publicsuffix2.spec +++ b/python-publicsuffix2.spec @@ -1,7 +1,7 @@ # # spec file for package python-publicsuffix2 # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,24 +12,23 @@ # license that conforms to the Open Source Definition (Version 1.9) # 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-%{**}} Name: python-publicsuffix2 Version: 2.20191221 Release: 0 -License: MIT and MPL-2.0 (FIXME:No SPDX) Summary: Get a public suffix for a domain name using the Public Suffix List -Url: https://github.com/nexb/python-publicsuffix2 -Group: Development/Languages/Python +License: MIT AND MPL-2.0 +URL: https://github.com/nexb/python-publicsuffix2 Source: https://files.pythonhosted.org/packages/source/p/publicsuffix2/publicsuffix2-%{version}.tar.gz -BuildRequires: python-rpm-macros -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module requests >= 2.7.0} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description @@ -47,6 +46,7 @@ Forked from and using the same API as the publicsuffix package. %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} +%license publicsuffix2.LICENSE %doc CHANGELOG.rst README.rst %{python_sitelib}/*