- Add x86_64_v2 to RPM_ARCHES

This commit is contained in:
eabdullin 2024-09-13 09:33:21 +03:00
parent 461fc8e143
commit a1ba031d7c
3 changed files with 32 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
productmd-1.38
/productmd-1.0.tar.bz2 /productmd-1.0.tar.bz2
/productmd-1.0.tar.gz /productmd-1.0.tar.gz
/productmd-1.1.tar.gz /productmd-1.1.tar.gz

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
@@ -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)

View File

@ -9,13 +9,16 @@
Name: python-%{srcname} Name: python-%{srcname}
Version: 1.38 Version: 1.38
Release: 4%{?dist} Release: 4%{?dist}.alma.1
Summary: Library providing parsers for metadata related to OS installation Summary: Library providing parsers for metadata related to OS installation
License: LGPL-2.1-only License: LGPL-2.1-only
URL: https://github.com/release-engineering/productmd URL: https://github.com/release-engineering/productmd
Source0: https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz 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 BuildArch: noarch
%global _description \ %global _description \
@ -102,6 +105,9 @@ Requires: python%{python3_pkgversion}-six
%endif %endif
%changelog %changelog
* Fri Sep 13 2024 Eduard Abdullin <eabdullin@almalinux.org> - 1.38-4.alma.1
- Add x86_64_v2 to RPM_ARCHES
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.38-4 * Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.38-4
- Bump release for June 2024 mass rebuild - Bump release for June 2024 mass rebuild