Use localized variable MSVSPHERE_PRETTY_NAME (INF-1259)

i8 changed/i8/initial-setup-0.3.81.7-1.el8.inferit.1
Arkady L. Shane 8 months ago
parent 20b974b100
commit e8670aed2e
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

@ -0,0 +1,25 @@
From f009f0e954df27d04b885bd8c41993070cb09984 Mon Sep 17 00:00:00 2001
From: tigro <tigro@msvsphere-os.ru>
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

@ -2,7 +2,7 @@ Summary: Initial system configuration utility
Name: initial-setup Name: initial-setup
URL: https://fedoraproject.org/wiki/InitialSetup URL: https://fedoraproject.org/wiki/InitialSetup
Version: 0.3.81.7 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 # This is a Red Hat maintained package which is specific to
# our distribution. # our distribution.
@ -14,6 +14,7 @@ Source0: %{name}-%{version}.tar.gz
# MSVSphere # MSVSphere
Patch100: 0001-initial-setup-msvsphere.patch Patch100: 0001-initial-setup-msvsphere.patch
Patch101: 0001-Use-localized-variable-MSVSPHERE_PRETTY_NAME.patch
%define debug_package %{nil} %define debug_package %{nil}
%define anacondaver 33.16.3.1-1 %define anacondaver 33.16.3.1-1
@ -115,6 +116,9 @@ rm -rf %{buildroot}
%{python3_sitelib}/initial_setup/gui/* %{python3_sitelib}/initial_setup/gui/*
%changelog %changelog
* Mon Apr 22 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.3.81.7-1.inferit.1
- Use localized variable MSVSPHERE_PRETTY_NAME (INF-1259)
* Thu Dec 21 2023 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 0.3.81.7-1.inferit * Thu Dec 21 2023 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 0.3.81.7-1.inferit
- Debrand for MSVSphere - Debrand for MSVSphere
- Rebuilt for MSVSphere 8.8 - Rebuilt for MSVSphere 8.8

Loading…
Cancel
Save