public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rsync] rawhide: Disable rebuilding manpages on RHEL
Date: Mon, 17 Aug 2026 10:02:30 GMT	[thread overview]
Message-ID: <178696095041.1.2688487001577044352.rpms-rsync-740bf72ebc0c@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rsync
            Branch : rawhide
            Commit : 740bf72ebc0c0d6167c5c8b9acf7ae487df6a94c
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-08-06T16:18:54-04:00
            Stats  : +13/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rsync/c/740bf72ebc0c0d6167c5c8b9acf7ae487df6a94c?branch=rawhide

            Log:
            Disable rebuilding manpages on RHEL

The manpages are already prebuilt in the source tarball, the build just
wants to rebuild them by default.  As this requires cmakegfm, skipping that
on RHEL saves an otherwise unused dependency.

---
diff --git a/rsync.spec b/rsync.spec
index ef20a21..dd47bbb 100644
--- a/rsync.spec
+++ b/rsync.spec
@@ -1,9 +1,12 @@
+# prebuilt manpages are included in source tarball; rebuilding requires cmarkgfm
+%bcond markdown %{undefined rhel}
+
 %global _hardened_build 1
 
 Summary: A program for synchronizing files over a network
 Name: rsync
 Version: 3.4.4
-Release: 3%{?dist}
+Release: 4%{?dist}
 URL: https://rsync.samba.org/
 
 Source0: https://download.samba.org/pub/rsync/src/rsync-%{version}%{?prerelease}.tar.gz
@@ -26,7 +29,9 @@ BuildRequires: openssl-devel
 BuildRequires: libzstd-devel
 BuildRequires: git-core
 BuildRequires: automake
+%if %{with markdown}
 BuildRequires: python3-cmarkgfm
+%endif
 %if %{undefined rhel}
 BuildRequires: xxhash-devel
 %endif
@@ -79,6 +84,10 @@ may be used to setup a restricted rsync users via ssh logins.
   --enable-ipv6 \
   --with-rrsync
 
+%if %{without markdown}
+touch *.1 *.5
+%endif
+
 %{make_build}
 
 %check
@@ -124,6 +133,9 @@ install -D -m644 %{SOURCE6} $RPM_BUILD_ROOT/%{_unitdir}/rsyncd@.service
 %systemd_postun_with_restart rsyncd.service
 
 %changelog
+* Thu Aug 06 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 3.4.4-4
+- Disable rebuilding manpages on RHEL
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.4-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

                 reply	other threads:[~2026-08-17 10:02 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=178696095041.1.2688487001577044352.rpms-rsync-740bf72ebc0c@fedoraproject.org \
    --to=yselkowi@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