public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-dunamai] epel9: fix: fix man page generation
@ 2026-09-28 17:21 Ankur Sinha
0 siblings, 0 replies; only message in thread
From: Ankur Sinha @ 2026-09-28 17:21 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-dunamai
Branch : epel9
Commit : ef64682444d011b638a8c0cee9a795be43949dcf
Author : Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur@gmail.com>
Date : 2023-05-15T11:50:04+01:00
Stats : +2/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-dunamai/c/ef64682444d011b638a8c0cee9a795be43949dcf?branch=epel9
Log:
fix: fix man page generation
---
diff --git a/python-dunamai.spec b/python-dunamai.spec
index cc9302a..ce8301e 100644
--- a/python-dunamai.spec
+++ b/python-dunamai.spec
@@ -63,7 +63,8 @@ BuildRequires: help2man
for binary in "dunamai" "dunamai check" "dunamai from" "dunamai from any" "dunamai from bazaar" "dunamai from darcs" "dunamai from fossil" "dunamai from git" "dunamai from mercurial" "dunamai from pijul" "dunamai from subversion"
do
echo "Generating man page for ${binary// /-/}"
- PATH="$PATH:%{buildroot}/%{_bindir}/" help2man --no-info --no-discard-stderr --output="${binary// /-}.1" "${binary}"
+ PYTHONPATH="$PYTHONPATH:%{buildroot}/%{python3_sitelib}/" PATH="$PATH:%{buildroot}/%{_bindir}/" help2man --no-info --no-discard-stderr --name="${binary}" --version-string="${binary} %{version}" --output="${binary// /-}.1" "${binary}"
+ cat "${binary// /-}.1"
install -t '%{buildroot}%{_mandir}/man1' -p -m 0644 -D "${binary// /-}.1"
done
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-28 17:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-28 17:21 [rpms/python-dunamai] epel9: fix: fix man page generation Ankur Sinha
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox