diff options
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.patch | 18 |
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 @@ | |||
1 | From 73d6841d9ef2a8ac7bd63f9645a3efe8038dfdd4 Mon Sep 17 00:00:00 2001 | 1 | From 651310691a8a41ab3a766545c53b69e6e0c4f88d Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Mon, 27 Feb 2017 09:43:30 +0200 | 3 | Date: Mon, 27 Feb 2017 09:43:30 +0200 |
4 | Subject: [PATCH] Do not hardcode "lib/rpm" as the installation path for | 4 | Subject: [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 | ||
14 | diff --git a/CMakeLists.txt b/CMakeLists.txt | 14 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
15 | index 7808115c1..4a383ceba 100644 | 15 | index 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: | ||
27 | diff --git a/macros.in b/macros.in | 27 | diff --git a/macros.in b/macros.in |
28 | index b49ffaad4..3acbe78f6 100644 | 28 | index 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} |