mirror of
https://git.rockylinux.org/staging/src/rocky-release.git
synced 2024-12-22 08:38:31 +00:00
update to -34
This commit is contained in:
parent
4f8f0db103
commit
8c2ca12c5c
@ -10,7 +10,7 @@
|
||||
%define distro_code Green Obsidian
|
||||
%define major 8
|
||||
%define minor 4
|
||||
%define rocky_rel 33
|
||||
%define rocky_rel 34
|
||||
%define upstream_rel %{major}.%{minor}
|
||||
%define rpm_license BSD-3-Clause
|
||||
|
||||
@ -39,6 +39,8 @@ Provides: rocky-release(upstream) = %{upstream_rel}
|
||||
Provides: redhat-release = %{version}-%{release}
|
||||
Provides: system-release = %{version}-%{release}
|
||||
Provides: system-release(releasever) = %{major}
|
||||
Provides: centos-release = %{version}-%{release}
|
||||
Provides: centos-release(upstream) = %{upstream_rel}
|
||||
|
||||
## Required by libdnf
|
||||
Provides: base-module(platform:el%{major})
|
||||
@ -46,6 +48,7 @@ Provides: base-module(platform:el%{major})
|
||||
## This makes lorax/pungi/anaconda happy
|
||||
Provides: rocky-release-eula
|
||||
Provides: redhat-release-eula
|
||||
Provides: centos-release-eula
|
||||
|
||||
# What are our requirements?
|
||||
Requires: rocky-repos(%{major})
|
||||
@ -120,6 +123,7 @@ echo "%{distro_name} release %{version} (%{distro_code})" > %{buildroot}%{_sysco
|
||||
echo "Derived from Red Hat Enterprise Linux %{version}" > %{buildroot}%{_sysconfdir}/rocky-release-upstream
|
||||
ln -s rocky-release %{buildroot}%{_sysconfdir}/system-release
|
||||
ln -s rocky-release %{buildroot}%{_sysconfdir}/redhat-release
|
||||
ln -s rocky-release %{buildroot}%{_sysconfdir}/centos-release
|
||||
mkdir -p %{buildroot}%{_mandir}/man1
|
||||
install -p -m 0644 %{SOURCE1300} %{buildroot}%{_mandir}/man1/
|
||||
|
||||
@ -129,7 +133,7 @@ cat > %{buildroot}%{_prefix}/lib/os-release << EOF
|
||||
NAME="%{distro_name}"
|
||||
VERSION="%{major}.%{minor} (%{distro_code})"
|
||||
ID="rocky"
|
||||
ID_LIKE="rhel fedora centos"
|
||||
ID_LIKE="rhel centos fedora"
|
||||
VERSION_ID="%{major}.%{minor}"
|
||||
PLATFORM_ID="platform:el%{major}"
|
||||
PRETTY_NAME="%{distro_name} %{major}.%{minor} (%{distro_code})"
|
||||
@ -205,6 +209,7 @@ install -p -m 0644 %{SOURCE1226} %{buildroot}%{_sysconfdir}/yum.repos.d/
|
||||
%license LICENSE
|
||||
%doc Contributors COMMUNITY-CHARTER
|
||||
%{_sysconfdir}/redhat-release
|
||||
%{_sysconfdir}/centos-release
|
||||
%{_sysconfdir}/system-release
|
||||
%{_sysconfdir}/rocky-release
|
||||
%{_sysconfdir}/rocky-release-upstream
|
||||
@ -228,6 +233,9 @@ install -p -m 0644 %{SOURCE1226} %{buildroot}%{_sysconfdir}/yum.repos.d/
|
||||
%{_sysconfdir}/pki/rpm-gpg/
|
||||
|
||||
%changelog
|
||||
* Mon Sep 13 2021 Louis Abel <label@rockylinux.org> - 8.4-34
|
||||
- Add missing CentOS provides and symlinks
|
||||
|
||||
* Thu Sep 09 2021 Louis Abel <label@rockylinux.org> - 8.4-33
|
||||
- Add centos as an id_like to allow current and future SIGs that rely on CentOS
|
||||
to work properly.
|
||||
|
Loading…
Reference in New Issue
Block a user