public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pysnmp] epel9: Build for EPEL10
@ 2026-07-08  3:12 Federico Pellegrin
  0 siblings, 0 replies; only message in thread
From: Federico Pellegrin @ 2026-07-08  3:12 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/pysnmp
Branch : epel9
Commit : a07a22d24feaa64a577ec0defa58c967d93515ab
Author : Federico Pellegrin <fede@evolware.org>
Date   : 2025-08-23T06:12:47+02:00
Stats  : +19/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/pysnmp/c/a07a22d24feaa64a577ec0defa58c967d93515ab?branch=epel9

Log:
Build for EPEL10

---
diff --git a/license_toml_as_table_pre_pep_639.patch b/license_toml_as_table_pre_pep_639.patch
new file mode 100644
index 0000000..8897d11
--- /dev/null
+++ b/license_toml_as_table_pre_pep_639.patch
@@ -0,0 +1,12 @@
+diff -ruN a/pyproject.toml b/pyproject.toml
+--- a/pyproject.toml	2025-06-19 08:20:58.000000000 +0200
++++ b/pyproject.toml	2025-08-23 06:07:25.328546878 +0200
+@@ -6,7 +6,7 @@
+     {name = "Ilya Etingof", email = "etingof@gmail.com"},
+     {name = "LeXtudio Inc.", email = "support@lextudio.com"}
+ ]
+-license = "BSD-2-Clause"
++license = { text="BSD-2-Clause" }
+ readme = "README.md"
+ requires-python = ">=3.9"
+ classifiers = [

diff --git a/pysnmp.spec b/pysnmp.spec
index 3d561ac..7cb8ae9 100644
--- a/pysnmp.spec
+++ b/pysnmp.spec
@@ -1,12 +1,15 @@
 Name:           pysnmp
 Version:        7.1.21
-Release:        3%{?dist}
+Release:        4%{?dist}
 
 Summary:        An SNMP engine written in Python
 
 License:        BSD-2-Clause
 URL:            https://pysnmp.com/
 Source0:        https://github.com/lextudio/pysnmp/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# The package uses the newer license definition in toml (as string, not table)
+# which seems to annoy tooling on EPEL10
+Patch1:         license_toml_as_table_pre_pep_639.patch
 BuildArch:      noarch
 
 Requires:       net-snmp
@@ -53,6 +56,9 @@ networking.
 %license LICENSE.rst
 
 %changelog
+* Sat Aug 23 2025 Federico Pellegrin <fede@evolware.org> - 7.1.21-4
+- Rebuilt for EPEL10
+
 * Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 7.1.21-3
 - Rebuilt for Python 3.14.0rc2 bytecode
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-08  3:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-08  3:12 [rpms/pysnmp] epel9: Build for EPEL10 Federico Pellegrin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox