public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Merge /usr/sbin and /usr/bin (2nd attempt)
Date: Mon, 23 Nov 2026 09:35:45 GMT	[thread overview]
Message-ID: <179542654590.1.14227461121237620273.rpms-rpm-af3e8bdd5b66@fedoraproject.org> (raw)

            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}}

                 reply	other threads:[~2026-11-23  9:35 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=179542654590.1.14227461121237620273.rpms-rpm-af3e8bdd5b66@fedoraproject.org \
    --to=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