update to 0.43.1 [release 0.43.1-1mamba;Thu Jan 16 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 04:07:28 +01:00
parent d52ac13c2e
commit ebcb800094
2 changed files with 13 additions and 9 deletions

View File

@ -1,22 +1,23 @@
--- libdnf-0.31.0/libdnf/hy-util.cpp.orig 2019-07-13 13:40:25.132045332 +0200 diff -ru libdnf-0.43.1.orig/libdnf/hy-util.cpp libdnf-0.43.1/libdnf/hy-util.cpp
+++ libdnf-0.31.0/libdnf/hy-util.cpp 2019-07-13 13:41:53.216392596 +0200 --- libdnf-0.43.1.orig/libdnf/hy-util.cpp 2020-01-16 18:18:43.000000000 +0100
@@ -108,23 +108,6 @@ +++ libdnf-0.43.1/libdnf/hy-util.cpp 2020-01-16 18:21:06.663000000 +0100
@@ -101,23 +101,6 @@
if (uname(&un) < 0) if (uname(&un) < 0)
return DNF_ERROR_FAILED; return DNF_ERROR_FAILED;
- if (!strncmp(un.machine, "armv", 4)) { - if (!strncmp(un.machine, "armv", 4)) {
- /* un.machine is armvXE, where X is version number and E is - /* un.machine is armvXE, where X is version number and E is
- * endianness (b or l); we need to add modifiers such as - * endianness (b or l); we need to add modifiers such as
- * h (hardfloat), n (neon), c (crypto extensions) */ - * h (hardfloat), n (neon). Neon is a requirement of armv8 so
- * as far as rpm is concerned armv8l is the equivilent of armv7hnl
- * (or 7hnb) so we don't explicitly add 'n' for 8+ as it's expected. */
- char endian = un.machine[strlen(un.machine)-1]; - char endian = un.machine[strlen(un.machine)-1];
- char *modifier = un.machine + 5; - char *modifier = un.machine + 5;
- while(isdigit(*modifier)) /* keep armv7, armv8, armv9, armv10, armv100, ... */ - while(isdigit(*modifier)) /* keep armv7, armv8, armv9, armv10, armv100, ... */
- modifier++; - modifier++;
- if (getauxval(AT_HWCAP) & HWCAP_ARM_VFP) - if (getauxval(AT_HWCAP) & HWCAP_ARM_VFP)
- *modifier++ = 'h'; - *modifier++ = 'h';
- if (getauxval(AT_HWCAP2) & HWCAP2_AES) - if ((atoi(un.machine+4) == 7) && (getauxval(AT_HWCAP) & HWCAP_ARM_NEON))
- *modifier++ = 'c';
- if (getauxval(AT_HWCAP) & HWCAP_ARM_NEON)
- *modifier++ = 'n'; - *modifier++ = 'n';
- *modifier++ = endian; - *modifier++ = endian;
- *modifier = 0; - *modifier = 0;

View File

@ -1,5 +1,5 @@
Name: libdnf Name: libdnf
Version: 0.33.0 Version: 0.43.1
Release: 1mamba Release: 1mamba
Summary: Software management library Summary: Software management library
Group: System/Libraries Group: System/Libraries
@ -15,7 +15,7 @@ Patch2: libdnf-0.22.0-rpm5-2.patch
Patch3: libdnf-0.22.0-rpm5-additional.patch 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.43.1-arm-detect-arch-using-uname.patch
Patch7: libdnf-0.31.0-i586-default-basearch.patch Patch7: libdnf-0.31.0-i586-default-basearch.patch
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
@ -114,6 +114,9 @@ This package contains libraries and header files for developing applications tha
%doc README.md %doc README.md
%changelog %changelog
* Thu Jan 16 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.43.1-1mamba
- update to 0.43.1
* Fri Oct 25 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.33.0-1mamba * Fri Oct 25 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.33.0-1mamba
- update to 0.33.0 - update to 0.33.0