public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-tpm2-pytss] rawhide: Drop redundant BuildRequires for python3-wheel
@ 2026-06-29 15:59
0 siblings, 0 replies; only message in thread
From: @ 2026-06-29 15:59 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-tpm2-pytss
Branch : rawhide
Commit : f42c3ec950b53e0eb7df59903c0c6f128473d1f6
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2026-06-29T13:52:34+02:00
Stats : +40/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-tpm2-pytss/c/f42c3ec950b53e0eb7df59903c0c6f128473d1f6?branch=rawhide
Log:
Drop redundant BuildRequires for python3-wheel
---
diff --git a/3107f615.patch b/3107f615.patch
new file mode 100644
index 0000000..dc60c8c
--- /dev/null
+++ b/3107f615.patch
@@ -0,0 +1,33 @@
+From 3107f61574c27bb914549d6ce32d23d6320cd9f8 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
+Date: Thu, 24 Jul 2025 00:21:32 +0200
+Subject: [PATCH] Do not require wheel for building
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+ - current version of setuptools (70.1+) does not need wheel at all
+ - older versions of setuptools would fetch wheel when building wheels (but not sdists)
+
+----
+
+I was asked to include the Signed-off-by line, even thought here is no
+clear indication what it is for.
+The assumption is that it is for https://developercertificate.org/
+
+Signed-off-by: Miro Hrončok <miro@hroncok.cz>
+---
+ pyproject.toml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index f0c3071d..918bbadf 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools>=44", "wheel", "setuptools_scm[toml]>=3.4.3", "pycparser", "pkgconfig"]
++requires = ["setuptools>=44", "setuptools_scm[toml]>=3.4.3", "pycparser", "pkgconfig"]
+ build-backend = "setuptools.build_meta"
+
+ [tool.setuptools_scm]
diff --git a/python-tpm2-pytss.spec b/python-tpm2-pytss.spec
index 67e18c7..28b66f7 100644
--- a/python-tpm2-pytss.spec
+++ b/python-tpm2-pytss.spec
@@ -3,7 +3,7 @@
Name: python-%{pypi_name}
Version: 2.3.0
-Release: 12%{?dist}
+Release: 13%{?dist}
Summary: TPM 2.0 TSS Bindings for Python
License: BSD-2-Clause
@@ -23,6 +23,9 @@ Patch4: %{name}-copy-dunder.patch
Patch5: %{name}-cryptography47.patch
# crypto: fix deprection warnings (backport)
Patch6: %{name}-cryptography-decrepit.patch
+# Drop redundant BuildRequires for python3-wheel
+# https://github.com/fedora-eln/eln/issues/284
+Patch7: https://github.com/tpm2-software/tpm2-pytss/commit/3107f615.patch
BuildRequires: python3-devel
BuildRequires: python3-pytest
@@ -88,6 +91,9 @@ export OPENSSL_ENABLE_SHA1_SIGNATURES=1
%changelog
+* Mon Jun 29 2026 Miro Hrončok <mhroncok@redhat.com> - 2.3.0-13
+- Drop redundant BuildRequires for python3-wheel
+
* Mon Jun 08 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 2.3.0-12
- Fix build with latest python-cryptography
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-29 15:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-29 15:59 [rpms/python-tpm2-pytss] rawhide: Drop redundant BuildRequires for python3-wheel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox