public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-publicsuffix2] epel10: switch to modern python packaging macros (resolves rhbz#2378011)
Date: Fri, 30 Oct 2026 22:47:24 GMT [thread overview]
Message-ID: <179340044477.1.10651889879038273782.rpms-python-publicsuffix2-b187c82a3d2f@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-publicsuffix2
Branch : epel10
Commit : b187c82a3d2ff88224ba3660f41c749e9b0fe10f
Author : Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
Date : 2025-07-21T19:18:28+02:00
Stats : +13/-9 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-publicsuffix2/c/b187c82a3d2ff88224ba3660f41c749e9b0fe10f?branch=epel10
Log:
switch to modern python packaging macros (resolves rhbz#2378011)
---
diff --git a/python-publicsuffix2.spec b/python-publicsuffix2.spec
index 4bd6a45..91d814b 100644
--- a/python-publicsuffix2.spec
+++ b/python-publicsuffix2.spec
@@ -15,7 +15,7 @@ need to import publicsuffix2 instead.
Name: python-%{pypi_name}
Version: 2.20191221
-Release: 17%{?dist}
+Release: 18%{?dist}
Summary: Get a public suffix for a domain name using the Public Suffix List
License: MIT
URL: https://github.com/nexb/python-publicsuffix2
@@ -28,31 +28,35 @@ BuildArch: noarch
%package -n python3-%{pypi_name}
Summary: %{summary}
BuildRequires: python3-devel
-BuildRequires: python3-setuptools
-BuildRequires: python3-requests
Requires: publicsuffix-list
%description -n python3-%{pypi_name}
%{desc}
%prep
-%setup -q -n %{pypi_name}-%{version}
+%autosetup -p1 -n %{pypi_name}-%{version}
rm -r src/%{pypi_name}.egg-info
+%generate_buildrequires
+%pyproject_buildrequires
+
%build
-%py3_build
+%pyproject_wheel
%install
-%py3_install
+%pyproject_install
+%pyproject_save_files -L %{pypi_name}
rm %{buildroot}%{python3_sitelib}/%{pypi_name}/public_suffix_list.dat
ln -s ../../../../share/publicsuffix/public_suffix_list.dat %{buildroot}%{python3_sitelib}/%{pypi_name}
-%files -n python3-%{pypi_name}
+%files -n python3-%{pypi_name} -f %{pyproject_files}
+%license %{pypi_name}.LICENSE
%doc README.rst
-%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
-%{python3_sitelib}/%{pypi_name}
%changelog
+* Mon Jul 21 2025 Dominik Mierzejewski <dominik@greysector.net> 2.20191221-18
+- switch to modern python packaging macros (resolves rhbz#2378011)
+
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 2.20191221-17
- Rebuilt for Python 3.14
reply other threads:[~2026-10-30 22:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179340044477.1.10651889879038273782.rpms-python-publicsuffix2-b187c82a3d2f@fedoraproject.org \
--to=dominik@greysector.net \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox