public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-glyphsLib] f43: Simplify help2man invocation with %py3_test_envvars
Date: Sun, 02 Aug 2026 09:39:46 GMT	[thread overview]
Message-ID: <178566358653.1.13942000599576864526.rpms-python-glyphsLib-82c0538e81db@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-glyphsLib
            Branch : f43
            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=f43

            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.

                 reply	other threads:[~2026-08-02  9:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178566358653.1.13942000599576864526.rpms-python-glyphsLib-82c0538e81db@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox