public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-tftpy] rawhide: spec cleanup and speed up builds
@ 2026-06-13 21:44 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-06-13 21:44 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-tftpy
Branch : rawhide
Commit : bfd9f4f323de9b44b8c0f1842c7a85fe1bc8826b
Author : Filipe Rosset <filiperosset@fedoraproject.org>
Date : 2026-06-13T18:41:53-03:00
Stats : +4/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-tftpy/c/bfd9f4f323de9b44b8c0f1842c7a85fe1bc8826b?branch=rawhide
Log:
spec cleanup and speed up builds
Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>
---
diff --git a/python-tftpy.spec b/python-tftpy.spec
index ad10dea..652d0c0 100644
--- a/python-tftpy.spec
+++ b/python-tftpy.spec
@@ -41,7 +41,10 @@ Requires: python3-tftpy = %{version}-%{release}
%prep
%forgesetup
-%py3_shebang_fix %{python3} \
+# Disable verbose debug logging in tests to speed up build
+sed -i 's/logging.DEBUG/logging.WARNING/g' tests/test.py
+
+%py3_shebang_fix \
bin/tftpy_client.py \
bin/tftpy_server.py \
tests/nologs.py \
@@ -77,7 +80,6 @@ install -p -Dm755 bin/tftpy_server.py %{buildroot}%{_bindir}/tftpy_server
%files -n python3-tftpy -f %{pyproject_files}
%doc README.md
%doc ChangeLog.md
-%exclude %{python3_sitelib}/tftpy/tests/
%files -n python3-tftpy-cli
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-13 21:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-13 21:44 [rpms/python-tftpy] rawhide: spec cleanup and speed up builds Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox