readd -gnu suffix to _host macro [release 4.19.1.1-5mamba;Tue Jun 04 2024]

This commit is contained in:
Silvan Calarco 2024-06-05 10:42:55 +02:00
parent e6823a422c
commit b18a273c67
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- rpm-4.19.1.1/CMakeLists.txt.orig 2024-06-04 11:31:41.748966777 +0200
+++ rpm-4.19.1.1/CMakeLists.txt 2024-06-04 11:32:16.700043817 +0200
@@ -143,7 +143,7 @@
set(host_cpu ${CMAKE_HOST_SYSTEM_PROCESSOR})
string(TOLOWER ${CMAKE_HOST_SYSTEM_NAME} host_os)
set(host_vendor ${RPM_VENDOR})
- set(host ${host_cpu}-${host_vendor}-${host_os})
+ set(host ${host_cpu}-${host_vendor}-${host_os}-gnu)
set(RPMCANONVENDOR ${host_vendor})
set(RPMCANONOS ${host_os})

View File

@ -17,7 +17,7 @@
Name: rpm
Epoch: 1
Version: 4.19.1.1
Release: 4mamba
Release: 5mamba
Summary: The RPM Package Manager (RPM) is a powerful package management system
Group: System/Management
Vendor: openmamba
@ -47,6 +47,7 @@ Patch15: rpm-4.18.0-allow-disabling-rmbuild.patch
Patch16: rpm-4.19.1.1-i586-add-sse-sse2-build-flags.patch
Patch17: rpm-4.19.1.1-i586-only-force-i586-host-cpu.patch
Patch18: rpm-4.19.1.1-disable-specpartsdir.patch
Patch19: rpm-4.19.1.1-host-readd-gnu-suffix.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -148,6 +149,7 @@ This package should be installed if you want to develop Python programs that wil
%patch 17 -p1
%endif
%patch 18 -p1
%patch 19 -p1
%build
#:<< _EOF
@ -300,6 +302,9 @@ rm -f %{buildroot}%{_libdir}/librpm*.la
%{python3_sitearch}/rpm/*
%changelog
* Tue Jun 04 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.1.1-5mamba
- readd -gnu suffix to _host macro
* Sat May 25 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.1.1-4mamba
- fix setting _libexec as /usr/libexec64 also on new x86_64_v[1-4] platforms