public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Make %_sbindir point to %_bindir
Date: Mon, 23 Nov 2026 09:35:35 GMT [thread overview]
Message-ID: <179542653500.1.12035595377576473775.rpms-rpm-b131f34f2190@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : b131f34f21905cf4864b2e71c9d12f61b4bb15d6
Author : Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Date : 2024-07-09T12:29:18+02:00
Stats : +30/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/b131f34f21905cf4864b2e71c9d12f61b4bb15d6?branch=pmatilai-v6
Log:
Make %_sbindir point to %_bindir
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin
---
diff --git a/rpm-4.19.1-unify-bindir-sbindir.patch b/rpm-4.19.1-unify-bindir-sbindir.patch
new file mode 100644
index 0000000..5057ea4
--- /dev/null
+++ b/rpm-4.19.1-unify-bindir-sbindir.patch
@@ -0,0 +1,23 @@
+From 4278af9dc666548cb43c66645ee6be08b408337f Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
+Date: Mon, 15 Jan 2024 18:36:42 +0100
+Subject: [PATCH] Configure %_sbindir to be the same as %_bindir
+
+https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 5b63069a96..b50355c8a8 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -75,7 +75,7 @@ function(makemacros)
+ set(prefix ${CMAKE_INSTALL_PREFIX})
+ set(exec_prefix "\${prefix}")
+ set(bindir "\${exec_prefix}/${CMAKE_INSTALL_BINDIR}")
+- set(sbindir "\${exec_prefix}/${CMAKE_INSTALL_SBINDIR}")
++ set(sbindir "\${exec_prefix}/${CMAKE_INSTALL_BINDIR}")
+ set(libexecdir "\${exec_prefix}/${CMAKE_INSTALL_LIBEXECDIR}")
+ set(datarootdir "\${prefix}/${CMAKE_INSTALL_DATAROOTDIR}")
+ set(datadir "\${datarootdir}")
diff --git a/rpm.spec b/rpm.spec
index 2c78319..7385565 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -27,7 +27,7 @@
%global rpmver 4.19.92
#global snapver rc1
-%global baserelease 2
+%global baserelease 3
%global sover 10
%global srcver %{rpmver}%{?snapver:-%{snapver}}
@@ -137,8 +137,10 @@ rpm-4.17.x-rpm_dbpath.patch
rpm-4.18.x-siteconfig.patch
# In current Fedora, man-pages pkg owns all the localized man directories
rpm-4.9.90-no-man-dirs.patch
-# Disable new user/group handling
+# Make %%_sbindir and %%_bindir the same
+rpm-4.19.1-unify-bindir-sbindir.patch
+# Disable new user/group handling
rpm-4.18.92-disable-sysusers.patch
rpm-4.19.91-weak-user-group.patch
@@ -650,6 +652,9 @@ fi
%doc %{_defaultdocdir}/rpm/API/
%changelog
+* Tue Jul 9 2024 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 4.19.92-3
+- Apply patch to set %%_sbindir the same as %%_bindir
+
* Thu Jul 04 2024 Peter Robinson <pbrobinson@fedoraproject.org> - 4.19.92-2
- Rebuild for ima-evm-utils 1.6
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=179542653500.1.12035595377576473775.rpms-rpm-b131f34f2190@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