17
0

Compare commits

2 Commits

2 changed files with 12 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 3 12:36:27 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jun 18 16:00:05 UTC 2023 - Andreas Schneider <asn@cryptomilk.org> Sun Jun 18 16:00:05 UTC 2023 - Andreas Schneider <asn@cryptomilk.org>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-publicsuffix2 # spec file for package python-publicsuffix2
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2025 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
@@ -24,8 +24,10 @@ Summary: Get a public suffix for a domain name using the Public Suffix Li
License: MIT AND MPL-2.0 License: MIT AND MPL-2.0
URL: https://github.com/nexb/python-publicsuffix2 URL: https://github.com/nexb/python-publicsuffix2
Source: https://files.pythonhosted.org/packages/source/p/publicsuffix2/publicsuffix2-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/publicsuffix2/publicsuffix2-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module requests >= 2.7.0} BuildRequires: %{python_module requests >= 2.7.0}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
@@ -39,15 +41,16 @@ Forked from and using the same API as the publicsuffix package.
%setup -q -n publicsuffix2-%{version} %setup -q -n publicsuffix2-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files} %files %{python_files}
%license publicsuffix2.LICENSE %license publicsuffix2.LICENSE
%doc CHANGELOG.rst README.rst %doc CHANGELOG.rst README.rst
%{python_sitelib}/* %{python_sitelib}/publicsuffix2
%{python_sitelib}/publicsuffix2-%{version}*-info
%changelog %changelog