public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Add bcond to build with merged sbin
Date: Mon, 23 Nov 2026 09:35:38 GMT	[thread overview]
Message-ID: <179542653842.1.378630457488493284.rpms-rpm-473e9f76ff1a@fedoraproject.org> (raw)

            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,

                 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=179542653842.1.378630457488493284.rpms-rpm-473e9f76ff1a@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