diff --git a/SPECS/sphere-release.spec b/SPECS/sphere-release.spec index b148aba..74e7ca0 100644 --- a/SPECS/sphere-release.spec +++ b/SPECS/sphere-release.spec @@ -6,7 +6,7 @@ Name: sphere-release Version: %{major}.%{minor} -Release: 1.11%{?dist} +Release: 1.12%{?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 - 9.2-1.12 +- Added new field MSVSPHERE_PRETTY_NAME + * Fri Sep 22 2023 Arkady L. Shane - 9.2-1.11 - Fix base urls in repo files