Added new field MSVSPHERE_PRETTY_NAME

i9-beta
Arkady L. Shane 1 year ago
parent f0f2de8c50
commit 34e8105aa9

@ -6,7 +6,7 @@
Name: sphere-release
Version: %{major}.%{minor}
Release: 0.1%{?dist}
Release: 0.2%{?dist}
Summary: %{distro} release files
License: GPLv2
URL: https://msvsphere-os.ru
@ -325,6 +325,14 @@ install -d -m 0755 %{buildroot}%{_prefix}/lib
for variant in %{release_name}; do
echo "%{distro} release %{major}.%{minor}%{?beta: %{beta}} (${variant})" > %{buildroot}%{_prefix}/lib/sphere-release.$variant
if [ "$variant" = "ARM" ]; then
ru_variant="АРМ"
elif [ "$variant" = "Server" ]; then
ru_variant="Сервер"
else
ru_variant=$variant
fi
cat > %{buildroot}%{_prefix}/lib/os-release.$variant << EOF
NAME="%{distro}"
VERSION="%{major}.%{minor}%{?beta: %{beta}} (${variant})"
@ -344,6 +352,7 @@ VENDOR_NAME="LLC NCSD"
MSVSPHERE_MANTISBT_PROJECT="%{distro}-%{major}"
MSVSPHERE_MANTISBT_PROJECT_VERSION="%{major}.%{minor}"
MSVSPHERE_PRETTY_NAME="МСВСфера %{major}.%{minor}%{?beta: %{beta}} ${ru_variant}"
REDHAT_SUPPORT_PRODUCT="%{distro}"
REDHAT_SUPPORT_PRODUCT_VERSION="%{major}.%{minor}%{?beta: %{beta}}"
EOF
@ -531,6 +540,9 @@ install -p -m 0644 %{SOURCE100} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/
%changelog
* Tue Oct 10 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 9.2-0.2
- Added new field MSVSPHERE_PRETTY_NAME
* Mon Oct 9 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 9.3-0.1
- Rebuilt for MSVSphere 9.3

Loading…
Cancel
Save