diff --git a/SOURCES/0001-Use-localized-variable-MSVSPHERE_PRETTY_NAME.patch b/SOURCES/0001-Use-localized-variable-MSVSPHERE_PRETTY_NAME.patch new file mode 100644 index 0000000..d44119a --- /dev/null +++ b/SOURCES/0001-Use-localized-variable-MSVSPHERE_PRETTY_NAME.patch @@ -0,0 +1,25 @@ +From f009f0e954df27d04b885bd8c41993070cb09984 Mon Sep 17 00:00:00 2001 +From: tigro +Date: Mon, 22 Apr 2024 12:54:01 +0300 +Subject: [PATCH] Use localized variable MSVSPHERE_PRETTY_NAME + +--- + initial_setup/product.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/initial_setup/product.py b/initial_setup/product.py +index d19b5f5..5a1fb06 100644 +--- a/initial_setup/product.py ++++ b/initial_setup/product.py +@@ -26,7 +26,7 @@ def product_title(): + (key, _eq, value) = line.strip().partition("=") + if not key or not _eq or not value: + continue +- if key == "PRETTY_NAME": ++ if key == "MSVSPHERE_PRETTY_NAME": + return value.strip('"') + except IOError: + log.exception("failed to check the release string file") +-- +2.44.0 + diff --git a/SPECS/initial-setup.spec b/SPECS/initial-setup.spec index ab1de32..f4334a1 100644 --- a/SPECS/initial-setup.spec +++ b/SPECS/initial-setup.spec @@ -2,7 +2,7 @@ Summary: Initial system configuration utility Name: initial-setup URL: https://fedoraproject.org/wiki/InitialSetup Version: 0.3.81.7 -Release: 1%{?dist}.inferit +Release: 1%{?dist}.inferit.1 # This is a Red Hat maintained package which is specific to # our distribution. @@ -14,6 +14,7 @@ Source0: %{name}-%{version}.tar.gz # MSVSphere Patch100: 0001-initial-setup-msvsphere.patch +Patch101: 0001-Use-localized-variable-MSVSPHERE_PRETTY_NAME.patch %define debug_package %{nil} %define anacondaver 33.16.3.1-1 @@ -115,6 +116,9 @@ rm -rf %{buildroot} %{python3_sitelib}/initial_setup/gui/* %changelog +* Mon Apr 22 2024 Arkady L. Shane - 0.3.81.7-1.inferit.1 +- Use localized variable MSVSPHERE_PRETTY_NAME (INF-1259) + * Thu Dec 21 2023 Sergey Cherevko - 0.3.81.7-1.inferit - Debrand for MSVSphere - Rebuilt for MSVSphere 8.8