diff options
Diffstat (limited to 'rpm419.patch')
-rw-r--r-- | rpm419.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/rpm419.patch b/rpm419.patch new file mode 100644 index 0000000..ffea185 --- /dev/null +++ b/rpm419.patch @@ -0,0 +1,22 @@ +From eda4bcb75c3064d10b412a77e479f627e14a9a50 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Tue, 22 Aug 2023 12:37:23 +0200 +Subject: [PATCH] fix for RPM 4.19 which defines _root_prefix + +--- + rpm/macros.scl | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/rpm/macros.scl b/rpm/macros.scl +index 0d27a6b..a03172a 100644 +--- a/rpm/macros.scl ++++ b/rpm/macros.scl +@@ -39,7 +39,7 @@ package or when debugging this package. + + %scl_prefix() %{?scl:%(if [ "%1" = "%%1" ]; then echo "%{scl}-"; else echo "%1-"; fi)}%{!?scl:%{nil}} + +-%scl_package() %{expand:%{!?_root_prefix: ++%scl_package() %{expand:%{!?scl_name: + %global pkg_name %1 + %global scl_name %{scl} + %global scl_runtime %{scl}-runtime |