|
|
|
@ -1,14 +1,14 @@ |
|
|
|
|
%define debug_package %{nil} |
|
|
|
|
%define product_family AlmaLinux |
|
|
|
|
%define release_name Stone Smilodon |
|
|
|
|
%define release_name Sky Tiger |
|
|
|
|
%define contentdir almalinux |
|
|
|
|
%define infra_var stock |
|
|
|
|
%define base_release_version 8 |
|
|
|
|
%define full_release_version 8.7 |
|
|
|
|
%define full_release_version 8.6 |
|
|
|
|
%define dist_release_version 8 |
|
|
|
|
%define upstream_rel_long 8.7-0.3 |
|
|
|
|
%define upstream_rel 8.7 |
|
|
|
|
%define almalinux_rel 3 |
|
|
|
|
%define upstream_rel_long 8.6-0.1 |
|
|
|
|
%define upstream_rel 8.6 |
|
|
|
|
%define almalinux_rel 1 |
|
|
|
|
%define dist .el%{dist_release_version} |
|
|
|
|
|
|
|
|
|
# The anaconda scripts in %%{_libexecdir} can create false requirements |
|
|
|
@ -49,12 +49,9 @@ 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 |
|
|
|
|
Source305: almalinux-rt.repo |
|
|
|
|
Source306: almalinux-nfv.repo |
|
|
|
|
|
|
|
|
|
%description |
|
|
|
|
%{product_family} release files |
|
|
|
@ -89,7 +86,6 @@ 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/" |
|
|
|
@ -97,8 +93,7 @@ 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 |
|
|
|
@ -124,19 +119,16 @@ 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 |
|
|
|
|
install -m 644 %{SOURCE305} %{buildroot}/etc/yum.repos.d |
|
|
|
|
install -m 644 %{SOURCE306} %{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 |
|
|
|
@ -180,15 +172,13 @@ rm -rf %{buildroot} |
|
|
|
|
##/etc/centos-release-upstream |
|
|
|
|
/etc/almalinux-release |
|
|
|
|
/etc/almalinux-release-upstream |
|
|
|
|
/etc/dnf/vars/* |
|
|
|
|
/etc/dnf/ |
|
|
|
|
/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 |
|
|
|
@ -199,29 +189,13 @@ 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 |
|
|
|
|
|
|
|
|
|