Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 1 | From 4ab6a4c5bbad65c3401016bb26b87214cdd0c59b Mon Sep 17 00:00:00 2001 |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
| 3 | Date: Mon, 27 Feb 2017 09:43:30 +0200 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 4 | Subject: [PATCH] Do not hardcode "lib/rpm" as the installation path for |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 5 | default configuration and macros. |
| 6 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 7 | Upstream-Status: Denied [https://github.com/rpm-software-management/rpm/pull/263] |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 8 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
| 9 | |
| 10 | --- |
| 11 | configure.ac | 2 +- |
| 12 | macros.in | 2 +- |
| 13 | rpm.am | 4 ++-- |
| 14 | 3 files changed, 4 insertions(+), 4 deletions(-) |
| 15 | |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame^] | 16 | Index: git/configure.ac |
| 17 | =================================================================== |
| 18 | --- git.orig/configure.ac |
| 19 | +++ git/configure.ac |
| 20 | @@ -942,7 +942,7 @@ else |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 21 | usrprefix=$prefix |
| 22 | fi |
| 23 | |
| 24 | -RPMCONFIGDIR="`echo ${usrprefix}/lib/rpm`" |
| 25 | +RPMCONFIGDIR="`echo ${libdir}/rpm`" |
| 26 | AC_SUBST(RPMCONFIGDIR) |
| 27 | |
| 28 | AC_SUBST(OBJDUMP) |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame^] | 29 | Index: git/macros.in |
| 30 | =================================================================== |
| 31 | --- git.orig/macros.in |
| 32 | +++ git/macros.in |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 33 | @@ -911,7 +911,7 @@ package or when debugging this package.\ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 34 | %_sharedstatedir %{_prefix}/com |
| 35 | %_localstatedir %{_prefix}/var |
| 36 | %_lib lib |
| 37 | -%_libdir %{_exec_prefix}/%{_lib} |
| 38 | +%_libdir @libdir@ |
| 39 | %_includedir %{_prefix}/include |
| 40 | %_infodir %{_datadir}/info |
| 41 | %_mandir %{_datadir}/man |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame^] | 42 | Index: git/rpm.am |
| 43 | =================================================================== |
| 44 | --- git.orig/rpm.am |
| 45 | +++ git/rpm.am |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 46 | @@ -1,10 +1,10 @@ |
| 47 | # Internal binaries |
| 48 | ## HACK: It probably should be $(libexecdir)/rpm or $(libdir)/rpm |
| 49 | -rpmlibexecdir = $(prefix)/lib/rpm |
| 50 | +rpmlibexecdir = $(libdir)/rpm |
| 51 | |
| 52 | # Host independent config files |
| 53 | ## HACK: it probably should be $(datadir)/rpm |
| 54 | -rpmconfigdir = $(prefix)/lib/rpm |
| 55 | +rpmconfigdir = $(libdir)/rpm |
| 56 | |
| 57 | # Libtool version (current-revision-age) for all our libraries |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 58 | rpm_version_info = 12:0:3 |