public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: Make %_sbindir point to %_bindir
@ 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 : 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
 

^ 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: Make %_sbindir point to %_bindir 

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