[packages/rpm] Revert "Don't hardcode target cpu in _target_platform on x32. Release 16"
megabajt
megabajt at pld-linux.org
Sat Mar 28 16:49:34 CET 2015
commit 536baf4ee0e2609a2cd867ced7a7b37fb2c880c0
Author: Marcin Banasiak <marcin.banasiak at gmail.com>
Date: Sat Mar 28 16:45:38 2015 +0100
Revert "Don't hardcode target cpu in _target_platform on x32. Release 16"
This reverts commit 23d3e66f10520042b1d3695faeca5f13858909aa.
cpu-os-macros.a | 6 +++---
rpm.spec | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/rpm.spec b/rpm.spec
index 384382c..245db14 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -51,7 +51,7 @@ Summary(ru.UTF-8): Менеджер пакетов от RPM
Summary(uk.UTF-8): Менеджер пакетів від RPM
Name: rpm
Version: 5.4.15
-Release: 16
+Release: 15
License: LGPL v2.1
Group: Base
# http://rpm5.org/files/rpm/rpm-5.4/rpm-5.4.15-0.20140824.src.rpm
diff --git a/cpu-os-macros.a b/cpu-os-macros.a
index 1d9bb52..abeed44 100644
--- a/cpu-os-macros.a
+++ b/cpu-os-macros.a
@@ -632,7 +632,7 @@ k6-linux.macros/0 0 0 644 708 `
# Multilibs
%_multilibno 1
%_multilibpatt (/%{_lib}|/usr/%{_lib}(|/gconv)|/usr/local/%{_lib}|/usr/X11R6/%{_lib}|/opt/%{_lib})/[^/]*\\.([oa]|la|so[0-9.]*)$
-/668 0 0 0 644 1120 `
+/668 0 0 0 644 1091 `
# Per-platform rpm configuration file.
#==============================================================================
@@ -641,8 +641,7 @@ k6-linux.macros/0 0 0 644 708 `
%_arch x32
%_os linux
%_gnu -gnux32
-%_target_cpu x86_64
-%_target_platform %{_target_cpu}-%{_target_vendor}-%{_target_os}%{?_gnu}
+%_target_platform x86_64-%{_target_vendor}-%{_target_os}%{?_gnu}
%optflags %{?__common_cflags_with_ssp:%{__common_cflags_with_ssp} -fPIC}%{!?__common_cflags_with_ssp:-O2 -g} -mtune=generic -march=x86-64 %{!?nospecflags:%{?specflags_x32}}
#==============================================================================
@@ -663,6 +662,7 @@ k6-linux.macros/0 0 0 644 708 `
# ---- 0x1 - x86, 0x2 - x86_64 (rpm default), 0x4 - x32
%_prefer_color 0x4
+
/686 0 0 0 644 725 `
# Per-platform rpm configuration file.
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/eaa26f56e0b2b562fe4540611586bc867e801732
More information about the pld-cvs-commit
mailing list