|
|
|
@ -1,19 +1,16 @@
|
|
|
|
|
%define debug_package %{nil}
|
|
|
|
|
%define product_family AlmaLinux
|
|
|
|
|
%define variant_titlecase Server
|
|
|
|
|
%define variant_lowercase server
|
|
|
|
|
%define release_name Electric Cheetah
|
|
|
|
|
%define release_name Sapphire Caracal
|
|
|
|
|
%define contentdir almalinux
|
|
|
|
|
%define infra_var stock
|
|
|
|
|
%define base_release_version 8
|
|
|
|
|
%define full_release_version 8.4
|
|
|
|
|
%define full_release_version 8.8
|
|
|
|
|
%define dist_release_version 8
|
|
|
|
|
%define upstream_rel_long 8.4-0.6
|
|
|
|
|
%define upstream_rel 8.4
|
|
|
|
|
%define almalinux_rel 3
|
|
|
|
|
%define upstream_rel_long 8.8-0.5
|
|
|
|
|
%define upstream_rel 8.8
|
|
|
|
|
%define almalinux_rel 0.6
|
|
|
|
|
%define dist .el%{dist_release_version}
|
|
|
|
|
|
|
|
|
|
# define beta Beta
|
|
|
|
|
#define beta Beta
|
|
|
|
|
|
|
|
|
|
# The anaconda scripts in %%{_libexecdir} can create false requirements
|
|
|
|
|
%global __requires_exclude_from %{_libexecdir}
|
|
|
|
@ -51,6 +48,14 @@ Source201: GPL
|
|
|
|
|
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
|
|
|
|
|
Source310: almalinux-rt.repo
|
|
|
|
|
Source311: almalinux-nfv.repo
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%{product_family} release files
|
|
|
|
@ -85,21 +90,23 @@ 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"
|
|
|
|
|
CPE_NAME="cpe:/o:almalinux:almalinux:%{full_release_version}:%{?beta:%(echo %{beta} | tr [A-Z] [a-z])}%{?!beta:GA}"
|
|
|
|
|
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/"
|
|
|
|
|
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
|
|
|
|
|
ln -s ../usr/lib/os-release %{buildroot}%{_sysconfdir}/os-release
|
|
|
|
|
|
|
|
|
|
# write cpe to /etc/system-release-cpe
|
|
|
|
|
echo "cpe:/o:almalinux:almalinux:%{full_release_version}:%{?beta:%{beta}}%{?!beta:ga}" | tr [A-Z] [a-z] > %{buildroot}/etc/system-release-cpe
|
|
|
|
|
echo "cpe:/o:almalinux:almalinux:%{base_release_version}::baseos" | tr [A-Z] [a-z] > %{buildroot}/etc/system-release-cpe
|
|
|
|
|
|
|
|
|
|
# create /etc/issue and /etc/issue.net
|
|
|
|
|
echo '\S' > %{buildroot}/etc/issue
|
|
|
|
@ -116,10 +123,21 @@ mkdir -p -m 755 %{buildroot}/etc/yum.repos.d
|
|
|
|
|
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 %{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
|
|
|
|
@ -163,24 +181,64 @@ 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
|
|
|
|
|
%endif
|
|
|
|
|
%config(noreplace) /etc/os-release
|
|
|
|
|
%config /etc/system-release-cpe
|
|
|
|
|
%config(noreplace) /etc/issue
|
|
|
|
|
%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
|
|
|
|
|
* Wed Mar 29 2023 Andrew Lukoshko <alukoshko@almalinux.org> - 8.8-0.5
|
|
|
|
|
- 8.8 beta release
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
* Thu Mar 31 2022 Andrew Lukoshko <alukoshko@almalinux.org> - 8.6-0.0
|
|
|
|
|
- 8.6 beta release
|
|
|
|
|
- Add RT and NFV repos for x86_64
|
|
|
|
|
|
|
|
|
|
* Tue Dec 28 2021 Andrew Lukoshko <alukoshko@almalinux.org> - 8.5-1.1
|
|
|
|
|
- Add RS repo
|
|
|
|
|
|
|
|
|
|
* Thu Oct 07 2021 Andrew Lukoshko <alukoshko@almalinux.org> - 8.5-1
|
|
|
|
|
- 8.5 beta release
|
|
|
|
|
|
|
|
|
|
* Thu Jul 29 2021 Andrew Lukoshko <alukoshko@almalinux.org> - 8.4-3
|
|
|
|
|
- disable fastestmirror dnf plugin for all repos
|
|
|
|
|
|
|
|
|
|