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

            A new commit has been pushed.

            Repo   : rpms/pgcli
            Branch : f44
            Commit : f710139e4b66803d0536849e8f0485941ebb4fce
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-06-03T12:30:02+01:00
            Stats  : +1/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/pgcli/c/f710139e4b66803d0536849e8f0485941ebb4fce?branch=f44

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

[skip changelog]

---
diff --git a/pgcli.spec b/pgcli.spec
index 88250d6..c58fef5 100644
--- a/pgcli.spec
+++ b/pgcli.spec
@@ -40,9 +40,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:31 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:31 [rpms/pgcli] f44: 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