public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-dunamai] epel10.3: fix: fix man page generation
Date: Mon, 28 Sep 2026 12:58:33 GMT	[thread overview]
Message-ID: <179060031341.1.5737302872686033551.rpms-python-dunamai-ef64682444d0@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-dunamai
Branch : epel10.3
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=epel10.3

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
 

                 reply	other threads:[~2026-09-28 12:58 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=179060031341.1.5737302872686033551.rpms-python-dunamai-ef64682444d0@fedoraproject.org \
    --to=sanjay.ankur@gmail.com \
    --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