[packages/rpm/32_on_64: 2/3] search for macros in target dependent paths
draenog
draenog at pld-linux.org
Tue Aug 27 22:23:41 CEST 2013
commit d2795eeb5cc37755be149fe0436c0b395b111ea7
Author: Kacper Kornet <draenog at pld-linux.org>
Date: Tue Aug 27 17:27:46 2013 +0100
search for macros in target dependent paths
When adbd48158b261b replaced macrofiles list to have proper order of
loading, it also hardcoded in it the architecture on which rpm was
build. Reverse that part of the change so the search paths for macros
depend again on --target argument.
rpm.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rpm.spec b/rpm.spec
index 30d490b..0c5bd3a 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -43,7 +43,7 @@ Summary(ru.UTF-8): Менеджер пакетов от RPM
Summary(uk.UTF-8): Менеджер пакетів від RPM
Name: rpm
Version: 5.4.12
-Release: 2
+Release: 2.1
License: LGPL v2.1
Group: Base
# http://rpm5.org/files/rpm/rpm-5.4/rpm-5.4.12-0.20130725.src.rpm
@@ -1008,7 +1008,7 @@ sed -i \
--with-keyutils=%{?with_keyutils:external}%{!?with_keyutils:no} \
--with-uuid=%{_libdir}:%{_includedir}/ossp-uuid \
--without-path-versioned \
- --with-path-macros='%{_rpmlibdir}/macros:%{_rpmlibdir}/%{_target}/macros:%{_rpmlibdir}/macros.d/pld:%{_rpmlibdir}/macros.build:%{_sysconfdir}/rpm/macros.*:%{_sysconfdir}/rpm/macros:%{_sysconfdir}/rpm/%{_target}/macros:%{_sysconfdir}/rpm/macros.d/*.macros:~/etc/.rpmmacros:~/.rpmmacros' \
+ --with-path-macros='%{_rpmlibdir}/macros:%{_rpmlibdir}/%%{_target}/macros:%{_rpmlibdir}/macros.d/pld:%{_rpmlibdir}/macros.build:%{_sysconfdir}/rpm/macros.*:%{_sysconfdir}/rpm/macros:%{_sysconfdir}/rpm/%%{_target}/macros:%{_sysconfdir}/rpm/macros.d/*.macros:~/etc/.rpmmacros:~/.rpmmacros' \
--with-bugreport="http://bugs.pld-linux.org/" \
--with-vendor=pld
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/5f5af126f5abb791a3c57f12fb3aac94be04ca35
More information about the pld-cvs-commit
mailing list