added patch to add %{_gnu} to %_target platform [release 4.14.2.1-12mamba;Thu Aug 01 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 17:29:06 +01:00
parent b3f450637d
commit 3b9ac4a353
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- rpm-4.14.2.1/platform.in.orig 2019-08-01 14:18:14.720000000 +0200
+++ rpm-4.14.2.1/platform.in 2019-08-01 14:18:26.733000000 +0200
@@ -8,7 +8,7 @@
%_vendor @RPMCANONVENDOR@
%_os @RPMCANONOS@
%_gnu @RPMRC_GNU@
-%_target_platform %{_target_cpu}-%{_vendor}-%{_target_os}
+%_target_platform %{_target_cpu}-%{_vendor}-%{_target_os}%{_gnu}
%optflags @RPMRC_OPTFLAGS@
%__isa_name @ISANAME@

View File

@ -17,7 +17,7 @@
Name: rpm
Epoch: 1
Version: 4.14.2.1
Release: 11mamba
Release: 12mamba
Summary: The RPM Package Manager (RPM) is a powerful package management system
Group: System/Management
Vendor: openmamba
@ -37,6 +37,7 @@ Patch7: rpm-4.14.2.1-remove_macro_expanded_in_comment_warning.patch
Patch8: rpm-4.14.2.1-arm-openamba-force-armv5t.patch
Patch9: rpm-4.14.2.1-increase_default_patch_fuzz.patch
Patch10: rpm-4.14.2.1-openmamba-buildroot.patch
Patch11: rpm-4.14.2.1-target-platform-gnu.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -129,6 +130,7 @@ This package should be installed if you want to develop Python programs that wil
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%build
#:<< _EOF
@ -270,6 +272,9 @@ _EOF
%{python27_sitearch}/rpm/*
%changelog
* Thu Aug 01 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.14.2.1-12mamba
- added patch to add %{_gnu} to %_target platform
* Wed Jul 24 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.14.2.1-11mamba
- x86_64: set libexecdir as libexec64; arm: force armv5t; set default_patch_fuzz to 1