public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rsync] rawhide: Disable rebuilding manpages on RHEL
@ 2026-08-17 10:02 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-08-17 10:02 UTC (permalink / raw)
  To: git-commits

            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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-17 10:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-17 10:02 [rpms/rsync] rawhide: Disable rebuilding manpages on RHEL Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox