Set release name to Lion Cub
This commit is contained in:
parent
0158674bdc
commit
305a8c3445
@ -4,13 +4,14 @@
|
|||||||
%bcond_without beta
|
%bcond_without beta
|
||||||
|
|
||||||
%global distro AlmaLinux Kitten
|
%global distro AlmaLinux Kitten
|
||||||
|
%define release_name Lion Cub
|
||||||
%global major 10
|
%global major 10
|
||||||
%global minor 0
|
%global minor 0
|
||||||
# %%global eol_date 2035-06-01
|
# %%global eol_date 2035-06-01
|
||||||
|
|
||||||
Name: almalinux-kitten-release
|
Name: almalinux-kitten-release
|
||||||
Version: %{major}.%{minor}
|
Version: %{major}.%{minor}
|
||||||
Release: 0.18%{?dist}.2
|
Release: 0.19%{?dist}
|
||||||
Summary: %{distro} release files
|
Summary: %{distro} release files
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
URL: https://almalinux.org
|
URL: https://almalinux.org
|
||||||
@ -109,7 +110,7 @@ cp %{SOURCE201} ./docs
|
|||||||
|
|
||||||
# create /etc/system-release and /etc/redhat-release
|
# create /etc/system-release and /etc/redhat-release
|
||||||
install -d -m 0755 %{buildroot}%{_sysconfdir}
|
install -d -m 0755 %{buildroot}%{_sysconfdir}
|
||||||
echo "%{distro} release %{major}" > %{buildroot}%{_sysconfdir}/almalinux-release
|
echo "%{distro} release %{major} (%{release_name})" > %{buildroot}%{_sysconfdir}/almalinux-release
|
||||||
ln -s almalinux-release %{buildroot}%{_sysconfdir}/system-release
|
ln -s almalinux-release %{buildroot}%{_sysconfdir}/system-release
|
||||||
ln -s almalinux-release %{buildroot}%{_sysconfdir}/redhat-release
|
ln -s almalinux-release %{buildroot}%{_sysconfdir}/redhat-release
|
||||||
|
|
||||||
@ -141,12 +142,12 @@ ln -s almalinux-release %{buildroot}%{_sysconfdir}/redhat-release
|
|||||||
install -d -m 0755 %{buildroot}%{_prefix}/lib
|
install -d -m 0755 %{buildroot}%{_prefix}/lib
|
||||||
cat > %{buildroot}%{_prefix}/lib/os-release << EOF
|
cat > %{buildroot}%{_prefix}/lib/os-release << EOF
|
||||||
NAME="%{dist_name}"
|
NAME="%{dist_name}"
|
||||||
VERSION="%{major}"
|
VERSION="%{major} (%{release_name})"
|
||||||
ID="almalinux"
|
ID="almalinux"
|
||||||
ID_LIKE="rhel centos fedora"
|
ID_LIKE="rhel centos fedora"
|
||||||
VERSION_ID="%{major}"
|
VERSION_ID="%{major}"
|
||||||
PLATFORM_ID="platform:el%{major}"
|
PLATFORM_ID="platform:el%{major}"
|
||||||
PRETTY_NAME="%{distro} %{major}"
|
PRETTY_NAME="%{distro} %{major} (%{release_name})"
|
||||||
ANSI_COLOR="0;34"
|
ANSI_COLOR="0;34"
|
||||||
LOGO="fedora-logo-icon"
|
LOGO="fedora-logo-icon"
|
||||||
CPE_NAME="cpe:/o:almalinux:almalinux:%{major}::baseos"
|
CPE_NAME="cpe:/o:almalinux:almalinux:%{major}::baseos"
|
||||||
@ -372,6 +373,9 @@ echo '%%x86_64_v2 1' >> %{buildroot}%{_sysconfdir}/rpm/macros.x86_64_v2
|
|||||||
%{_sysconfdir}/pki/rpm-gpg
|
%{_sysconfdir}/pki/rpm-gpg
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 30 2024 Eduard Abdullin <eabdullin@almalinux.org> - 10.0-0.19
|
||||||
|
- Set release name to Lion Cub
|
||||||
|
|
||||||
* Thu Sep 19 2024 Eduard Abdullin <eabdullin@almalinux.org> - 10.0-0.18.2
|
* Thu Sep 19 2024 Eduard Abdullin <eabdullin@almalinux.org> - 10.0-0.18.2
|
||||||
- Use x86_64_v2 instead of $basearch in repo files.
|
- Use x86_64_v2 instead of $basearch in repo files.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user