mirror of
https://git.rockylinux.org/staging/src/rocky-release.git
synced 2024-11-21 21:51:24 +00:00
reduce CPE
This commit is contained in:
parent
909ece8efd
commit
420b21978b
@ -10,7 +10,7 @@
|
|||||||
%define distro_code Green Obsidian
|
%define distro_code Green Obsidian
|
||||||
%define major 8
|
%define major 8
|
||||||
%define minor 5
|
%define minor 5
|
||||||
%define rocky_rel 1
|
%define rocky_rel 2
|
||||||
%define upstream_rel %{major}.%{minor}
|
%define upstream_rel %{major}.%{minor}
|
||||||
%define rpm_license BSD-3-Clause
|
%define rpm_license BSD-3-Clause
|
||||||
|
|
||||||
@ -138,7 +138,7 @@ VERSION_ID="%{major}.%{minor}"
|
|||||||
PLATFORM_ID="platform:el%{major}"
|
PLATFORM_ID="platform:el%{major}"
|
||||||
PRETTY_NAME="%{distro_name} %{major}.%{minor} (%{distro_code})"
|
PRETTY_NAME="%{distro_name} %{major}.%{minor} (%{distro_code})"
|
||||||
ANSI_COLOR="0;32"
|
ANSI_COLOR="0;32"
|
||||||
CPE_NAME="cpe:/o:rocky:rocky:%{major}:GA"
|
CPE_NAME="cpe:/o:rocky:rocky:%{base_release_version}:GA"
|
||||||
HOME_URL="https://rockylinux.org/"
|
HOME_URL="https://rockylinux.org/"
|
||||||
BUG_REPORT_URL="https://bugs.rockylinux.org/"
|
BUG_REPORT_URL="https://bugs.rockylinux.org/"
|
||||||
ROCKY_SUPPORT_PRODUCT="%{distro_name}"
|
ROCKY_SUPPORT_PRODUCT="%{distro_name}"
|
||||||
@ -149,7 +149,7 @@ EOF
|
|||||||
ln -s ../usr/lib/os-release %{buildroot}%{_sysconfdir}/os-release
|
ln -s ../usr/lib/os-release %{buildroot}%{_sysconfdir}/os-release
|
||||||
|
|
||||||
# write cpe to /etc/system/release-cpe
|
# write cpe to /etc/system/release-cpe
|
||||||
echo "cpe:/o:rocky:rocky:%{major}.%{minor}:GA" > %{buildroot}%{_sysconfdir}/system-release-cpe
|
echo "cpe:/o:rocky:rocky:%{base_release_version}:GA" > %{buildroot}%{_sysconfdir}/system-release-cpe
|
||||||
|
|
||||||
# create /etc/issue and /etc/issue.net
|
# create /etc/issue and /etc/issue.net
|
||||||
echo '\S' > %{buildroot}%{_sysconfdir}/issue
|
echo '\S' > %{buildroot}%{_sysconfdir}/issue
|
||||||
@ -235,6 +235,9 @@ install -p -m 0644 %{SOURCE1226} %{buildroot}%{_sysconfdir}/yum.repos.d/
|
|||||||
%{_sysconfdir}/pki/rpm-gpg/
|
%{_sysconfdir}/pki/rpm-gpg/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Dec 11 2021 Louis Abel <label@rockylinux.org> - 8.5-2
|
||||||
|
- Fix CPE to match upstreamed Rocky data
|
||||||
|
|
||||||
* Tue Oct 05 2021 Louis Abel <label@rockylinux.org> - 8.5-1
|
* Tue Oct 05 2021 Louis Abel <label@rockylinux.org> - 8.5-1
|
||||||
- 8.5 prepatory release
|
- 8.5 prepatory release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user