From 0ad961cfcec8b30ca3e4556cf898ec28fe36a607 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Thu, 22 May 2025 11:59:56 +0300 Subject: [PATCH] Initial release --- SOURCES/almalinux-testing.repo | 6 +++--- SPECS/almalinux-release-testing.spec | 12 ++++++++---- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/SOURCES/almalinux-testing.repo b/SOURCES/almalinux-testing.repo index d14e09d..50129a4 100644 --- a/SOURCES/almalinux-testing.repo +++ b/SOURCES/almalinux-testing.repo @@ -5,7 +5,7 @@ name=AlmaLinux $releasever - Testing baseurl=https://repo.almalinux.org/vault/$releasever/testing/$basearch/os/ gpgcheck=1 enabled=1 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-10 ## Sources [almalinux-testing-source] @@ -13,7 +13,7 @@ name=AlmaLinux $releasever - Testing Source baseurl=https://repo.almalinux.org/vault/$releasever/testing/Source/ gpgcheck=1 enabled=0 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-10 ## Debug [almalinux-testing-debuginfo] @@ -21,4 +21,4 @@ name=AlmaLinux $releasever - Testing debuginfo baseurl=https://repo.almalinux.org/vault/$releasever/testing/debug/$basearch/ gpgcheck=1 enabled=0 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-10 diff --git a/SPECS/almalinux-release-testing.spec b/SPECS/almalinux-release-testing.spec index 1405cbc..6c0bcce 100644 --- a/SPECS/almalinux-release-testing.spec +++ b/SPECS/almalinux-release-testing.spec @@ -1,14 +1,13 @@ Summary: AlmaLinux Testing repository configuration Name: almalinux-release-testing -Version: 9 +Version: 10 Release: 1%{?dist} License: GPLv2 URL: https://almalinux.org/ -BuildArch: noarch Source0: almalinux-testing.repo Requires: almalinux-gpg-keys -Provides: almalinux-release-testing = 9 +Provides: almalinux-release-testing = 10 %description DNF configuration for AlmaLinux Testing repo @@ -16,10 +15,15 @@ DNF configuration for AlmaLinux Testing repo %install install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/almalinux-testing.repo +%ifarch x86_64_v2 +sed -i "s/\$basearch/x86_64_v2/g" %{buildroot}%{_sysconfdir}/yum.repos.d/*.repo +sed -i '/^mirrorlist=/ s|$|?arch=x86_64_v2|g' %{buildroot}%{_sysconfdir}/yum.repos.d/*.repo +%endif + %files %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/yum.repos.d/almalinux-testing.repo %changelog -* Fri Jul 28 2023 Andrew Lukoshko - 9-1 +* Thu May 22 2025 Eduard Abdullin - 10-1 - Initial version