Update for 8.7

This commit is contained in:
eabdullin 2022-11-10 14:47:33 +03:00
commit 5a5d890e03
4 changed files with 97 additions and 18 deletions

View File

@ -1,27 +1,27 @@
# almalinux-nfv.repo
[nfv]
name=AlmaLinux 8.7-beta - Real Time for NFV
mirrorlist=https://mirrors.almalinux.org/mirrorlist/8.7-beta/nfv
# baseurl=https://repo.almalinux.org/almalinux/8.7-beta/NFV/$basearch/os/
name=AlmaLinux $releasever - Real Time for NFV
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/nfv
# baseurl=https://repo.almalinux.org/almalinux/$releasever/NFV/$basearch/os/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
## Sources
[nfv-source]
name=AlmaLinux 8.7-beta - Real Time for NFV Sources
mirrorlist=https://mirrors.almalinux.org/mirrorlist/8.7-beta/nfv-source
# baseurl=https://repo.almalinux.org/vault/8.7-beta/NFV/Source/
name=AlmaLinux $releasever - Real Time for NFV Sources
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/nfv-source
# baseurl=https://repo.almalinux.org/vault/$releasever/NFV/Source/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
## Debuginfo
[nfv-debuginfo]
name=AlmaLinux 8.7-beta - Real Time for NFV Debuginfo
mirrorlist=https://mirrors.almalinux.org/mirrorlist/8.7-beta/nfv-debuginfo
# baseurl=https://repo.almalinux.org/vault/8.7-beta/NFV/debug/$basearch/
name=AlmaLinux $releasever - Real Time for NFV Debuginfo
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/nfv-debuginfo
# baseurl=https://repo.almalinux.org/vault/$releasever/NFV/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux

View File

@ -6,9 +6,9 @@
%define base_release_version 8
%define full_release_version 8.7
%define dist_release_version 8
%define upstream_rel_long 8.7-0.2
%define upstream_rel_long 8.7-0.3
%define upstream_rel 8.7
%define almalinux_rel 0.2.1
%define almalinux_rel 2
%define dist .el%{dist_release_version}
%define beta Beta
@ -19,7 +19,7 @@
Name: almalinux-release
Epoch: 2
Version: %{upstream_rel}
Release: %{almalinux_rel}%{?dist}
Release: %{almalinux_rel}%{?dist}.1
Summary: %{product_family} release file
Group: System Environment/Base
License: GPLv2
@ -51,10 +51,13 @@ Source300: almalinux.repo
Source301: almalinux-ha.repo
Source302: almalinux-powertools.repo
Source303: almalinux-resilientstorage.repo
Source304: almalinux-plus.repo
Source305: almalinux-sap.repo
Source306: almalinux-saphana.repo
# Only for x86_64
Source304: almalinux-rt.repo
Source305: almalinux-nfv.repo
Source310: almalinux-rt.repo
Source311: almalinux-nfv.repo
%description
%{product_family} release files
@ -123,16 +126,20 @@ install -m 644 %{SOURCE300} %{buildroot}/etc/yum.repos.d
install -m 644 %{SOURCE301} %{buildroot}/etc/yum.repos.d
install -m 644 %{SOURCE302} %{buildroot}/etc/yum.repos.d
install -m 644 %{SOURCE303} %{buildroot}/etc/yum.repos.d
install -m 644 %{SOURCE304} %{buildroot}/etc/yum.repos.d
install -m 644 %{SOURCE305} %{buildroot}/etc/yum.repos.d
install -m 644 %{SOURCE306} %{buildroot}/etc/yum.repos.d
# RT and NFV are only for x86_64
%ifarch x86_64
install -m 644 %{SOURCE304} %{buildroot}/etc/yum.repos.d
install -m 644 %{SOURCE305} %{buildroot}/etc/yum.repos.d
install -m 644 %{SOURCE310} %{buildroot}/etc/yum.repos.d
install -m 644 %{SOURCE311} %{buildroot}/etc/yum.repos.d
%endif
mkdir -p -m 755 %{buildroot}/etc/dnf/vars
echo "%{infra_var}" > %{buildroot}/etc/dnf/vars/infra
echo "%{contentdir}" >%{buildroot}/etc/dnf/vars/contentdir
echo "%{base_release_version}-stream" > %{buildroot}/etc/dnf/vars/stream
# set up the dist tag macros
install -d -m 755 %{buildroot}/etc/rpm
@ -182,6 +189,9 @@ rm -rf %{buildroot}
%config(noreplace) /etc/yum.repos.d/almalinux-ha.repo
%config(noreplace) /etc/yum.repos.d/almalinux-powertools.repo
%config(noreplace) /etc/yum.repos.d/almalinux-resilientstorage.repo
%config(noreplace) /etc/yum.repos.d/almalinux-plus.repo
%config(noreplace) /etc/yum.repos.d/almalinux-sap.repo
%config(noreplace) /etc/yum.repos.d/almalinux-saphana.repo
%ifarch x86_64
%config(noreplace) /etc/yum.repos.d/almalinux-rt.repo
%config(noreplace) /etc/yum.repos.d/almalinux-nfv.repo
@ -199,8 +209,21 @@ rm -rf %{buildroot}
%{_prefix}/lib/systemd/system-preset/*
%changelog
* Fri Oct 07 2022 Andrew Lukoshko <alukoshko@almalinux.org> - 8.7-0.2
- 8.7 beta release
* Wed Nov 09 2022 Andrew Lukoshko <alukoshko@almalinux.org> - 8.7-2
- Add stream dnf variable for CentOS SIG repos compatibility
* Mon Nov 07 2022 Andrew Lukoshko <alukoshko@almalinux.org> - 8.7-1
- 8.7 stable release
- Add SAP and SAPHANA repos
* Wed Jun 22 2022 Andrew Lukoshko <alukoshko@almalinux.org> - 8.6-2
- Add more compatibility variables to /etc/os-release
* Thu May 19 2022 Andrew Lukoshko <alukoshko@almalinux.org> - 8.6-1
- Bump release
* Tue May 10 2022 Andrew Lukoshko <alukoshko@almalinux.org> - 8.6-0.1
- 8.6 stable release
* Thu Mar 31 2022 Andrew Lukoshko <alukoshko@almalinux.org> - 8.6-0.0
- 8.6 beta release

28
almalinux-sap.repo Normal file
View File

@ -0,0 +1,28 @@
# almalinux-sap.repo
[sap]
name=AlmaLinux $releasever - SAP
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/sap
# baseurl=https://repo.almalinux.org/almalinux/$releasever/SAP/$basearch/os/
enabled=0
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
## Sources
[sap-source]
name=AlmaLinux $releasever - SAP Sources
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/sap-source
# baseurl=https://repo.almalinux.org/vault/$releasever/SAP/Source/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
## Debuginfo
[sap-debuginfo]
name=AlmaLinux $releasever - SAP Debuginfo
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/sap-debuginfo
# baseurl=https://repo.almalinux.org/vault/$releasever/SAP/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux

28
almalinux-saphana.repo Normal file
View File

@ -0,0 +1,28 @@
# almalinux-saphana.repo
[saphana]
name=AlmaLinux $releasever - SAP HANA
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/saphana
# baseurl=https://repo.almalinux.org/almalinux/$releasever/SAPHANA/$basearch/os/
enabled=0
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
## Sources
[saphana-source]
name=AlmaLinux $releasever - SAP HANA Sources
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/saphana-source
# baseurl=https://repo.almalinux.org/vault/$releasever/SAPHANA/Source/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
## Debuginfo
[saphana-debuginfo]
name=AlmaLinux $releasever - SAP HANA Debuginfo
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/saphana-debuginfo
# baseurl=https://repo.almalinux.org/vault/$releasever/SAPHANA/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux