From a1ba031d7c36cd05804f0cab7820ccb184ff3705 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Fri, 13 Sep 2024 09:33:21 +0300 Subject: [PATCH] - Add x86_64_v2 to RPM_ARCHES --- .gitignore | 1 + 0001-Add-x86_64_v2-to-RPM_ARCHES.patch | 24 ++++++++++++++++++++++++ python-productmd.spec | 8 +++++++- 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 0001-Add-x86_64_v2-to-RPM_ARCHES.patch diff --git a/.gitignore b/.gitignore index db5f8d3..2a43911 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +productmd-1.38 /productmd-1.0.tar.bz2 /productmd-1.0.tar.gz /productmd-1.1.tar.gz diff --git a/0001-Add-x86_64_v2-to-RPM_ARCHES.patch b/0001-Add-x86_64_v2-to-RPM_ARCHES.patch new file mode 100644 index 0000000..4e45bbf --- /dev/null +++ b/0001-Add-x86_64_v2-to-RPM_ARCHES.patch @@ -0,0 +1,24 @@ +From 50a37f6071f870bb7abfdffa0807d96528ebb10f Mon Sep 17 00:00:00 2001 +From: soksanichenko +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 +@@ -70,7 +70,7 @@ RPM_ARCHES = [ + "alphaev7", "alphapca56", "amd64", "arm64", "armhfp", "armv5tejl", "armv5tel", "armv6hl", "armv6l", "armv7hl", + "armv7hnl", "armv7l", "athlon", "geode", "i386", "i486", "i586", "i686", "ia32e", "ia64", "ppc", "ppc64", + "ppc64iseries", "ppc64le", "ppc64p7", "ppc64pseries", "s390", "s390x", "sh3", "sh4", "sh4a", +- "sparc", "sparc64", "sparc64v", "sparcv8", "sparcv9", "sparcv9v", "x86_64", ++ "sparc", "sparc64", "sparc64v", "sparcv8", "sparcv9", "sparcv9v", "x86_64", "x86_64_v2", + "src", "nosrc", "noarch", + ] + +-- +2.39.3 (Apple Git-146) diff --git a/python-productmd.spec b/python-productmd.spec index a9498ac..fd14920 100644 --- a/python-productmd.spec +++ b/python-productmd.spec @@ -9,13 +9,16 @@ Name: python-%{srcname} Version: 1.38 -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 Source0: https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz +# AlmaLinux patches +Patch1000: 0001-Add-x86_64_v2-to-RPM_ARCHES.patch + BuildArch: noarch %global _description \ @@ -102,6 +105,9 @@ Requires: python%{python3_pkgversion}-six %endif %changelog +* Fri Sep 13 2024 Eduard Abdullin - 1.38-4.alma.1 +- Add x86_64_v2 to RPM_ARCHES + * Mon Jun 24 2024 Troy Dawson - 1.38-4 - Bump release for June 2024 mass rebuild