From a5121d10bf665a76a41def845002eb774de4c01c Mon Sep 17 00:00:00 2001 From: eabdullin Date: Tue, 2 Jul 2024 14:29:55 +0300 Subject: [PATCH] add %{_sysconfdir}/almalinux-release --- SPECS/almalinux-release.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SPECS/almalinux-release.spec b/SPECS/almalinux-release.spec index e43d96c..c53045b 100644 --- a/SPECS/almalinux-release.spec +++ b/SPECS/almalinux-release.spec @@ -126,9 +126,9 @@ cp %{SOURCE201} ./docs # create /etc/system-release and /etc/redhat-release install -d -m 0755 %{buildroot}%{_sysconfdir} -echo "%{distro} release %{major}" > %{buildroot}%{_sysconfdir}/centos-release -ln -s centos-release %{buildroot}%{_sysconfdir}/system-release -ln -s centos-release %{buildroot}%{_sysconfdir}/redhat-release +echo "%{distro} release %{major}.%{minor}%{?beta: %{beta}} (%{release_name})" > %{buildroot}%{_sysconfdir}/almalinux-release +ln -s almalinux-release %{buildroot}%{_sysconfdir}/system-release +ln -s almalinux-release %{buildroot}%{_sysconfdir}/redhat-release # ------------------------------------------------------------------------- # Definitions for /etc/os-release and for macros in macros.dist. These