Use $releasever instead of %{rhel} in baseurl #1
@ -1,7 +1,7 @@
|
||||
Summary: ELevate project packages from the AlmaLinux Migration SIG repository
|
||||
Name: elevate-release
|
||||
Version: 1.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: ASL 2.0
|
||||
URL: https://wiki.almalinux.org/sigs/Migration
|
||||
Source0: RPM-GPG-KEY-ELevate
|
||||
@ -14,11 +14,11 @@ yum configuration for ELevate project packages from the AlmaLinux Migration SIG.
|
||||
|
||||
%prep
|
||||
cat <<EOF > ELevate.repo
|
||||
# ELevate project repo for el%{rhel}
|
||||
# ELevate project repo for el6/el7/el8/el9/el10
|
||||
|
||||
[elevate]
|
||||
name=ELevate
|
||||
baseurl=https://repo.almalinux.org/elevate/el%{rhel}/\$basearch/
|
||||
baseurl=https://repo.almalinux.org/elevate/el\$releasever/\$basearch/
|
||||
gpgcheck=1
|
||||
enabled=1
|
||||
priority=90
|
||||
@ -27,7 +27,7 @@ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ELevate
|
||||
## Sources
|
||||
[elevate-source]
|
||||
name=name=ELevate - Source
|
||||
baseurl=https://repo.almalinux.org/elevate/el%{rhel}/SRPMS/
|
||||
baseurl=https://repo.almalinux.org/elevate/el\$releasever/SRPMS/
|
||||
gpgcheck=1
|
||||
enabled=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ELevate
|
||||
@ -43,6 +43,9 @@ install -D -m 644 ELevate.repo %{buildroot}%{_sysconfdir}/yum.repos.d/ELevate.re
|
||||
%config(noreplace) %{_sysconfdir}/yum.repos.d/ELevate.repo
|
||||
|
||||
%changelog
|
||||
* Fri Oct 17 2025 Yuriy Kohut <ykohut@almalinux.org> - 1.0-3
|
||||
- Use $releasever instead of %{rhel} in baseurl
|
||||
|
||||
* Mon Mar 14 2023 Andrew Lukoshko <alukoshko@almalinux.org> - 1.0-2
|
||||
- Updated RPM-GPG-KEY-ELevate to match EL9 requirements
|
||||
- Added support for EL8
|
||||
|
||||
Loading…
Reference in New Issue
Block a user