x86: patched to set i586 instead of i386 as detected base arch [release 0.31.0-3mamba;Fri Aug 16 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 04:07:28 +01:00
parent 13b37f631f
commit 0453c336d7
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- libdnf-0.31.0/libdnf/dnf-context.cpp.orig 2019-08-16 17:48:41.400301341 +0200
+++ libdnf-0.31.0/libdnf/dnf-context.cpp 2019-08-16 17:48:56.728370461 +0200
@@ -84,7 +84,7 @@
"alphaev68", "alphaev7", "alphapca56", NULL } },
{ "arm", { "armv5tejl", "armv5tel", "armv5tl", "armv6l", "armv7l", "armv8l", NULL } },
{ "armhfp", { "armv7hl", "armv7hnl", "armv8hl", "armv8hnl", "armv8hcnl", NULL } },
- { "i386", { "i386", "athlon", "geode", "i386",
+ { "i586", { "i386", "athlon", "geode", "i386",
"i486", "i586", "i686", NULL } },
{ "ia64", { "ia64", NULL } },
{ "mips", { "mips", NULL } },

View File

@ -1,6 +1,6 @@
Name: libdnf Name: libdnf
Version: 0.31.0 Version: 0.31.0
Release: 2mamba Release: 3mamba
Summary: Software management library Summary: Software management library
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -16,6 +16,7 @@ Patch3: libdnf-0.22.0-rpm5-additional.patch
Patch4: libdnf-0.31.0-x86_64-disable_inferior_arch_check.patch Patch4: libdnf-0.31.0-x86_64-disable_inferior_arch_check.patch
Patch5: libdnf-0.31.0-openmamba-kernel-packages.patch Patch5: libdnf-0.31.0-openmamba-kernel-packages.patch
Patch6: libdnf-0.31.0-arm-detect-arch-using-uname.patch Patch6: libdnf-0.31.0-arm-detect-arch-using-uname.patch
Patch7: libdnf-0.31.0-i586-default-basearch.patch
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -71,6 +72,7 @@ This package contains libraries and header files for developing applications tha
%endif %endif
%patch5 -p1 %patch5 -p1
%patch6 -p1 %patch6 -p1
%patch7 -p1
%build %build
%cmake -d build %cmake -d build
@ -112,6 +114,9 @@ This package contains libraries and header files for developing applications tha
%doc README.md %doc README.md
%changelog %changelog
* Fri Aug 16 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.31.0-3mamba
- x86: patched to set i586 instead of i386 as detected base arch
* Sun Jun 23 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.31.0-2mamba * Sun Jun 23 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.31.0-2mamba
- added patches for x86_64 cohexistance with x86 packages and for openmamba kernel packages names - added patches for x86_64 cohexistance with x86 packages and for openmamba kernel packages names