public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-authheaders] epel10: Update to 0.15.2
@ 2026-11-04 22:02 Michel Alexandre Salim
0 siblings, 0 replies; only message in thread
From: Michel Alexandre Salim @ 2026-11-04 22:02 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-authheaders
Branch : epel10
Commit : 74b99cacb3523867bae08fe836fd1e1ca24fe0ac
Author : Michel Alexandre Salim <salimma@fedoraproject.org>
Date : 2023-03-28T15:40:18-05:00
Stats : +29/-19 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-authheaders/c/74b99cacb3523867bae08fe836fd1e1ca24fe0ac?branch=epel10
Log:
Update to 0.15.2
Convert to SPDX
Convert to new Python guidelines
Enable tests
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
index b4607ed..b539263 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/authheaders-0.13.0.tar.gz
+/authheaders-0.15.2.tar.gz
diff --git a/python-authheaders.spec b/python-authheaders.spec
index eab0b98..a0e5828 100644
--- a/python-authheaders.spec
+++ b/python-authheaders.spec
@@ -2,22 +2,17 @@
%global pypi_name authheaders
Name: python-%{pypi_name}
-Version: 0.13.0
-Release: 8%{?dist}
+Version: 0.15.2
+Release: 1%{?dist}
Summary: A library wrapping email authentication header verification and generation
# Licensing described in LICENSE file
-License: MIT and zlib and ZPLv2.1
+License: MIT and ZPL-2.1
URL: https://github.com/ValiMail/authentication-headers
Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python3-devel
-BuildRequires: python3dist(authres) >= 1.0.1
-BuildRequires: python3dist(dkimpy) >= 0.7.1
-BuildRequires: python3dist(dnspython)
-BuildRequires: python3dist(publicsuffix2)
-BuildRequires: python3dist(setuptools)
%description
%{summary}.
@@ -33,26 +28,40 @@ Requires: publicsuffix-list
%prep
%autosetup -n %{pypi_name}-%{version}
-# Remove bundled egg-info
-rm -rf %{pypi_name}.egg-info
# Remove bundled publicsuffix data
rm -f %{pypi_name}/public_suffix_list.txt
+# Use public suffix data from installed RPM
+ln -s %{_datadir}/publicsuffix/public_suffix_list.dat %{pypi_name}/public_suffix_list.txt
+
+%generate_buildrequires
+%pyproject_buildrequires
%build
-%py3_build
+%pyproject_wheel
%install
-%py3_install
-# Use public suffix data from installed RPM
-ln -sr %{buildroot}%{_datadir}/publicsuffix/public_suffix_list.dat %{buildroot}%{python3_sitelib}/%{pypi_name}/public_suffix_list.txt
+%pyproject_install
+%pyproject_save_files %{pypi_name}
-%files -n python3-%{pypi_name}
-%doc README.md
+# Re-link so this is a relative path
+ln -srf %{buildroot}%{_datadir}/publicsuffix/public_suffix_list.dat %{buildroot}%{python3_sitelib}/%{pypi_name}/public_suffix_list.txt
+
+%check
+%pyproject_check_import %{pypi_name}
+PYTHONPATH=. %{__python3} %{pypi_name}/test/test_authentication.py -v
+
+%files -n python3-%{pypi_name} -f %{pyproject_files}
+%doc README.md CHANGES
%license COPYING
-%{python3_sitelib}/%{pypi_name}/
-%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
+%{_bindir}/dmarc-policy-find
%changelog
+* Mon Mar 27 2023 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.15.2-1
+- Update to 0.15.2
+- Convert to SPDX
+- Convert to new Python guidelines
+- Run tests
+
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
diff --git a/sources b/sources
index 4d8dff3..8191671 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (authheaders-0.13.0.tar.gz) = dfaccd9dedea8bebc22b831c481c733590e11a3483e42b45f0b6329bdaa98eec0644faf8da8b92c56c2d48a43eec9c52f8ea9a3c67ae841c46a7085cf0572177
+SHA512 (authheaders-0.15.2.tar.gz) = 487bb7d7128e98fa673c0fd0038ce1c3042a5b49fc7a6ddb896b464543ffa9fa8112b80259c4d0bbb5f02f2d077dd8d75c478b55b5c0229c538416460e215c2c
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-04 22:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-04 22:02 [rpms/python-authheaders] epel10: Update to 0.15.2 Michel Alexandre Salim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox