Compare commits

...

5 Commits
a8-live ... a8

  1. 3
      90-default.preset
  2. 52
      almalinux-release.spec
  3. 28
      almalinux-sap.repo
  4. 28
      almalinux-saphana.repo

@ -194,3 +194,6 @@ enable dbus-daemon.service
# enable nfs-client.target
# https://bugzilla.redhat.com/show_bug.cgi?id=1967515
enable nfs-client.target
# https://bugzilla.redhat.com/show_bug.cgi?id=2106814
enable clevis-luks-askpass.path

@ -1,14 +1,14 @@
%define debug_package %{nil}
%define product_family AlmaLinux
%define release_name Sky Tiger
%define release_name Stone Smilodon
%define contentdir almalinux
%define infra_var stock
%define base_release_version 8
%define full_release_version 8.6
%define full_release_version 8.7
%define dist_release_version 8
%define upstream_rel_long 8.6-0.1
%define upstream_rel 8.6
%define almalinux_rel 0.1
%define upstream_rel_long 8.7-0.3
%define upstream_rel 8.7
%define almalinux_rel 3
%define dist .el%{dist_release_version}
# The anaconda scripts in %%{_libexecdir} can create false requirements
@ -49,9 +49,12 @@ 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
Source305: almalinux-rt.repo
Source306: almalinux-nfv.repo
Source310: almalinux-rt.repo
Source311: almalinux-nfv.repo
%description
%{product_family} release files
@ -86,6 +89,7 @@ VERSION_ID="%{full_release_version}"
PLATFORM_ID="platform:el%{base_release_version}"
PRETTY_NAME="%{product_family} %{full_release_version}%{?beta: %{beta}} (%{release_name})"
ANSI_COLOR="0;34"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:almalinux:almalinux:%{base_release_version}::baseos"
HOME_URL="https://almalinux.org/"
DOCUMENTATION_URL="https://wiki.almalinux.org/"
@ -93,7 +97,8 @@ BUG_REPORT_URL="https://bugs.almalinux.org/"
ALMALINUX_MANTISBT_PROJECT="AlmaLinux-%{base_release_version}"
ALMALINUX_MANTISBT_PROJECT_VERSION="%{full_release_version}"
REDHAT_SUPPORT_PRODUCT="%{product_family}"
REDHAT_SUPPORT_PRODUCT_VERSION="%{full_release_version}%{?beta: %{beta}}"
EOF
# Create the symlink for /etc/os-release
@ -119,16 +124,19 @@ 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 %{SOURCE305} %{buildroot}/etc/yum.repos.d
install -m 644 %{SOURCE306} %{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
@ -172,13 +180,15 @@ rm -rf %{buildroot}
##/etc/centos-release-upstream
/etc/almalinux-release
/etc/almalinux-release-upstream
/etc/dnf/
/etc/dnf/vars/*
/etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
%config(noreplace) /etc/yum.repos.d/almalinux.repo
%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
@ -189,13 +199,29 @@ rm -rf %{buildroot}
%config(noreplace) /etc/issue.net
/etc/rpm/macros.dist
%{_docdir}/redhat-release
%{_docdir}/almalinux-release/*
%{_docdir}/almalinux-release
%{_datadir}/redhat-release
%{_datadir}/almalinux-release/*
%{_datadir}/almalinux-release
%{_prefix}/lib/os-release
%{_prefix}/lib/systemd/system-preset/*
%changelog
* Sat Nov 19 2022 Andrew Lukoshko <alukoshko@almalinux.org> - 8.7-3
- Fixed ownership of dirs (albz#328)
* 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

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

@ -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
Loading…
Cancel
Save