public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: Merge /usr/sbin and /usr/bin (2nd attempt)
@ 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 : af3e8bdd5b665804aff21a3a7bcc55c5c33dac07
            Author : Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
            Date   : 2025-01-12T13:26:29+01:00
            Stats  : +2/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rpm/c/af3e8bdd5b665804aff21a3a7bcc55c5c33dac07?branch=pmatilai-v6

            Log:
            Merge /usr/sbin and /usr/bin (2nd attempt)

https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin

The %_sbindir macro is changed to '/usr/bin', so both %_bindir and %_sbindir
specify the same location.

This package determines the paths in packages. When building rpms, what really
matters is the path specified in %files, which is specied by the %{_sbindir}
macro defined by rpm. Even if the buildroot has merged-sbin, if %_sbindir says
otherwise, package will use the unmerged path. For installation on disk, the
change in filesystem.rpm is also required.

---
diff --git a/rpm.spec b/rpm.spec
index e3cff4f..f927a65 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -22,13 +22,13 @@
 %bcond_without bdb_ro
 
 # https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin
-%bcond merged_sbin 0
+%bcond merged_sbin 1
 
 %define rpmhome /usr/lib/rpm
 
 %global rpmver 4.20.0
 #global snapver rc1
-%global baserelease 3
+%global baserelease 4
 %global sover 10
 
 %global srcver %{rpmver}%{?snapver:-%{snapver}}

^ 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: Merge /usr/sbin and /usr/bin (2nd attempt) 

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