public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schorm <mschorm@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/man-pages] rawhide: Switch from 'make install' to 'make install-man'
Date: Sat, 31 Oct 2026 08:19:33 GMT [thread overview]
Message-ID: <179343477340.1.8475473506760740096.rpms-man-pages-767ceb6cafab@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/man-pages
Branch : rawhide
Commit : 767ceb6cafabf053bd8a8d25b979800048d93f0a
Author : Michal Schorm <mschorm@redhat.com>
Date : 2026-07-28T21:12:48+02:00
Stats : +2/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/man-pages/c/767ceb6cafabf053bd8a8d25b979800048d93f0a?branch=rawhide
Log:
Switch from 'make install' to 'make install-man'
Use the 'install-man' target instead of 'install' to skip installing
project-internal binaries ('diffman-git', 'mansect', 'pdfman',
'sortman') entirely. This is cleaner than installing everything and
removing the binaries afterward, and avoids having to track new
upstream utilities in future rebases.
The man1 pages for these utilities are still installed by the
'install-man' target, so they still need explicit removal.
Co-Authored-By: Claude AI <noreply@anthropic.com>
---
diff --git a/man-pages.spec b/man-pages.spec
index d307263..90ec611 100644
--- a/man-pages.spec
+++ b/man-pages.spec
@@ -86,17 +86,13 @@ rm man3/crypt{,_r}.3
# nothing to build
%install
-make -R install prefix=/usr DESTDIR=$RPM_BUILD_ROOT
+make -R install-man prefix=/usr DESTDIR=$RPM_BUILD_ROOT
# Per <https://bugzilla.redhat.com/show_bug.cgi?id=2404910>, man(7)
# is provided by groff-base.
rm %{buildroot}%{_mandir}/man7/man.7
-# Remove binaries we don't use and their man pages.
-rm %{buildroot}%{_bindir}/diffman-git
-rm %{buildroot}%{_bindir}/mansect
-rm %{buildroot}%{_bindir}/pdfman
-rm %{buildroot}%{_bindir}/sortman
+# Remove man pages for project-internal utilities not shipped in the package.
rm %{buildroot}%{_mandir}/man1/mansect.1
rm %{buildroot}%{_mandir}/man1/diffman-git.1
rm %{buildroot}%{_mandir}/man1/pdfman.1
reply other threads:[~2026-10-31 8:19 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=179343477340.1.8475473506760740096.rpms-man-pages-767ceb6cafab@fedoraproject.org \
--to=mschorm@redhat.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