public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pgcli] f43: Use %py3_test_envvars to set up the environment for help2man
@ 2026-06-03 11:41 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-06-03 11:41 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/pgcli
            Branch : f43
            Commit : 5217c19d63afb6a57469c575e5f75f76535bf9f9
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-06-03T10:34:33+01:00
            Stats  : +1/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/pgcli/c/5217c19d63afb6a57469c575e5f75f76535bf9f9?branch=f43

            Log:
            Use %py3_test_envvars to set up the environment for help2man

[skip changelog]

---
diff --git a/pgcli.spec b/pgcli.spec
index 9c2b7dd..a1d6286 100644
--- a/pgcli.spec
+++ b/pgcli.spec
@@ -43,9 +43,7 @@ CLI for Postgres Database. With auto-completion and syntax highlighting
 # We must do this in %%install rather than in %%build in order to use the
 # generated entry point:
 install -d '%{buildroot}%{_mandir}/man1'
-PYTHONPATH='%{buildroot}%{python3_sitelib}' \
-    PYTHONDONTWRITEBYTECODE=1 \
-    help2man --no-info --version-string='%{version}' \
+%{py3_test_envvars} help2man --no-info --version-string='%{version}' \
         --output='%{buildroot}%{_mandir}/man1/pgcli.1' \
         %{buildroot}%{_bindir}/pgcli
 

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

only message in thread, other threads:[~2026-06-03 11:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-03 11:41 [rpms/pgcli] f43: Use %py3_test_envvars to set up the environment for 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