public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-helpdev] rawhide: Use %py3_test_envvars with help2man
@ 2026-06-06  9:07 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-06-06  9:07 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-helpdev
Branch : rawhide
Commit : 3af7ba9f38573356cee4d1fa91582cc682ac1ff6
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-06-06T10:06:08+01:00
Stats  : +2/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-helpdev/c/3af7ba9f38573356cee4d1fa91582cc682ac1ff6?branch=rawhide

Log:
Use %py3_test_envvars with help2man

---
diff --git a/python-helpdev.spec b/python-helpdev.spec
index 7060c3f..7cfbe0f 100644
--- a/python-helpdev.spec
+++ b/python-helpdev.spec
@@ -64,9 +64,8 @@ Obsoletes:      python-helpdev-doc < 0.7.1-23
 # Generating the man page in %%install allows us to use the installed entry
 # point; horrible hacks would be required to do this in %%build.
 install --directory '%{buildroot}%{_mandir}/man1'
-PYTHONPATH='%{buildroot}%{python3_sitelib}' help2man \
-    --no-info --output='%{buildroot}%{_mandir}/man1/helpdev.1' \
-    '%{buildroot}%{_bindir}/helpdev'
+%{py3_test_envvars} help2man --no-info \
+    --output='%{buildroot}%{_mandir}/man1/helpdev.1' helpdev
 
 
 %check -a

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

only message in thread, other threads:[~2026-06-06  9:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-06  9:07 [rpms/python-helpdev] rawhide: Use %py3_test_envvars with help2man Benjamin A. Beasley

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