public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: Add bcond to build with merged sbin
@ 2026-11-23  9:35 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-11-23  9:35 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rpm
            Branch : pmatilai-v6
            Commit : 473e9f76ff1ab5886da69f3c231eab7055e64d8d
            Author : Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
            Date   : 2024-08-21T23:16:49+02:00
            Stats  : +8/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rpm/c/473e9f76ff1ab5886da69f3c231eab7055e64d8d?branch=pmatilai-v6

            Log:
            Add bcond to build with merged sbin

This should make testing easier. The filesystem rpm
has the same bcond.

---
diff --git a/rpm.spec b/rpm.spec
index 0403115..8c2a232 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -23,6 +23,9 @@
 # build with sequoia crypto?
 %bcond_without sequoia
 
+# https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin
+%bcond merged_sbin 0
+
 %define rpmhome /usr/lib/rpm
 
 %global rpmver 4.19.92
@@ -153,6 +156,11 @@ rpm-4.19.91-weak-user-group.patch
 rpm-4.7.1-geode-i686.patch
 0001-Fix-division-by-zero-in-elfdeps-RhBug-2299414.patch
 
+%if %{with merged_sbin}
+# Make %%_sbindir and %%_bindir the same
+rpm-4.19.1-unify-bindir-sbindir.patch
+%endif
+
 %description
 The RPM Package Manager (RPM) is a powerful command line driven
 package management system capable of installing, uninstalling,

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

only message in thread, other threads:[~2026-11-23  9:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23  9:35 [rpms/rpm] pmatilai-v6: Add bcond to build with merged sbin 

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