summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch')
-rw-r--r--meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch18
1 files changed, 9 insertions, 9 deletions
diff --git a/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch b/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
index b571a0ae8c..6a44f4f22d 100644
--- a/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
+++ b/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
@@ -1,4 +1,4 @@
1From 73d6841d9ef2a8ac7bd63f9645a3efe8038dfdd4 Mon Sep 17 00:00:00 2001 1From 651310691a8a41ab3a766545c53b69e6e0c4f88d Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Mon, 27 Feb 2017 09:43:30 +0200 3Date: Mon, 27 Feb 2017 09:43:30 +0200
4Subject: [PATCH] Do not hardcode "lib/rpm" as the installation path for 4Subject: [PATCH] Do not hardcode "lib/rpm" as the installation path for
@@ -12,24 +12,24 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
12 2 files changed, 2 insertions(+), 2 deletions(-) 12 2 files changed, 2 insertions(+), 2 deletions(-)
13 13
14diff --git a/CMakeLists.txt b/CMakeLists.txt 14diff --git a/CMakeLists.txt b/CMakeLists.txt
15index 7808115c1..4a383ceba 100644 15index de0b578a6..9a3aba071 100644
16--- a/CMakeLists.txt 16--- a/CMakeLists.txt
17+++ b/CMakeLists.txt 17+++ b/CMakeLists.txt
18@@ -33,7 +33,7 @@ option(WITH_IMAEVM "Build with IMA support" OFF) 18@@ -41,7 +41,7 @@ option(WITH_LIBELF "Build with libelf support" ON)
19 option(WITH_FAPOLICYD "Build with fapolicyd support" ON) 19 option(WITH_LIBLZMA "Build with liblzma support" ON)
20 option(WITH_READLINE "Build with readline support" ON) 20 option(WITH_DOXYGEN "Build API docs with doxygen" OFF)
21 21
22-set(RPM_CONFIGDIR "${CMAKE_INSTALL_PREFIX}/lib/rpm" CACHE PATH "rpm home") 22-set(RPM_CONFIGDIR "${CMAKE_INSTALL_PREFIX}/lib/rpm" CACHE PATH "rpm home")
23+set(RPM_CONFIGDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/rpm" CACHE PATH "rpm home") 23+set(RPM_CONFIGDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/rpm" CACHE PATH "rpm home")
24 set(RPM_MACROSDIR "${RPM_CONFIGDIR}/macros.d")
24 set(RPM_VENDOR "vendor" CACHE STRING "rpm vendor string") 25 set(RPM_VENDOR "vendor" CACHE STRING "rpm vendor string")
25 26
26 # Emulate libtool versioning. Before a public release:
27diff --git a/macros.in b/macros.in 27diff --git a/macros.in b/macros.in
28index b49ffaad4..3acbe78f6 100644 28index 4d3e8afdc..66e31320f 100644
29--- a/macros.in 29--- a/macros.in
30+++ b/macros.in 30+++ b/macros.in
31@@ -969,7 +969,7 @@ Supplements: (%{name} = %{version}-%{release} and langpacks-%{1})\ 31@@ -964,7 +964,7 @@ Supplements: (%{name} = %{version}-%{release} and langpacks-%{1})\
32 %_sharedstatedir %{_prefix}/com 32 %_sharedstatedir %{_var}/lib
33 %_localstatedir %{_prefix}/var 33 %_localstatedir %{_prefix}/var
34 %_lib lib 34 %_lib lib
35-%_libdir %{_exec_prefix}/%{_lib} 35-%_libdir %{_exec_prefix}/%{_lib}