a10-beta-test #5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user