public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-glyphsLib] f44: Simplify help2man invocation with %py3_test_envvars
@ 2026-08-02  9:09 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-08-02  9:09 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-glyphsLib
            Branch : f44
            Commit : 82c0538e81dbab957c3751610a33619482e9f767
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-08-02T09:34:23+01:00
            Stats  : +3/-7 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-glyphsLib/c/82c0538e81dbab957c3751610a33619482e9f767?branch=f44

            Log:
            Simplify help2man invocation with %py3_test_envvars

[skip changelog]

---
diff --git a/python-glyphsLib.spec b/python-glyphsLib.spec
index cd1002c..0ac99a7 100644
--- a/python-glyphsLib.spec
+++ b/python-glyphsLib.spec
@@ -89,13 +89,9 @@ for bin in glyphs2ufo ufo2glyphs
 do
   # We do this in %%install rather than in %%build because we need to use the
   # script entry point that was generated during installation.
-  env PYTHONPATH='%{buildroot}%{python3_sitelib}' \
-      PYTHONDONTWRITEBYTECODE=1 \
-      help2man \
-          --no-info \
-          --name '%{summary}' \
-          --output="%{buildroot}%{_mandir}/man1/${bin}.1" \
-          "%{buildroot}%{_bindir}/${bin}"
+  %{py3_test_envvars} help2man --no-info --name='%{summary}' \
+      --output="%{buildroot}%{_mandir}/man1/${bin}.1" \
+      "%{buildroot}%{_bindir}/${bin}"
 done
 
 # Mark GlyphData license files in-place rather than installing duplicates.

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

only message in thread, other threads:[~2026-08-02  9:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-02  9:09 [rpms/python-glyphsLib] f44: Simplify help2man invocation with %py3_test_envvars 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