Add x86_64_v2 to RPM_ARCHES

This commit is contained in:
Eduard Abdullin 2025-10-08 15:15:54 +03:00 committed by eabdullin
parent 4853fa141c
commit 8818a7dae5
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,24 @@
From 50a37f6071f870bb7abfdffa0807d96528ebb10f Mon Sep 17 00:00:00 2001
From: soksanichenko <soksanichenko@almalinux.org>
Date: Fri, 13 Sep 2024 09:31:21 +0300
Subject: [PATCH] Add x86_64_v2 to RPM_ARCHES
---
productmd/common.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/productmd/common.py b/productmd/common.py
index 10e573d..4be8584 100644
--- a/productmd/common.py
+++ b/productmd/common.py
@@ -76,7 +76,7 @@ RPM_ARCHES = [
"armv6l", "armv7hl", "armv7hnl", "armv7l", "armv8hl", "armv8l", "athlon", "geode", "i386", "i486", "i586",
"i686", "ia32e", "ia64", "loongarch64", "mips", "mips64", "mips64el", "mipsel", "ppc", "ppc64",
"ppc64iseries", "ppc64le", "ppc64p7", "ppc64pseries", "riscv128", "riscv32", "riscv64", "s390", "s390x",
- "sh3", "sh4", "sh4a", "sparc", "sparc64", "sparc64v", "sparcv8", "sparcv9", "sparcv9v", "x86_64",
+ "sh3", "sh4", "sh4a", "sparc", "sparc64", "sparc64v", "sparcv8", "sparcv9", "sparcv9v", "x86_64", "x86_64_v2",
"src", "nosrc", "noarch",
]
--
2.39.3 (Apple Git-146)

View File

@ -1,12 +1,15 @@
Name: python-productmd
Version: 1.48
Release: 4%{?dist}
Release: 4%{?dist}.alma.1
Summary: Library providing parsers for metadata related to OS installation
License: LGPL-2.1-only
URL: https://github.com/release-engineering/productmd
Source: %{pypi_source productmd}
# AlmaLinux Patch
Patch: 0001-Add-x86_64_v2-to-RPM_ARCHES.patch
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-pytest
@ -43,6 +46,9 @@ Summary: %{summary}
%doc AUTHORS
%changelog
* Wed Oct 08 2025 Eduard Abdullin <eabdullin@almalinux.org> - 1.48-4.alma.1
- Add x86_64_v2 to RPM_ARCHES
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 1.48-4
- Rebuilt for Python 3.14.0rc3 bytecode