Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package suse-prime for openSUSE:Factory 
checked in at 2022-11-30 16:33:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/suse-prime (Old)
 and      /work/SRC/openSUSE:Factory/.suse-prime.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "suse-prime"

Wed Nov 30 16:33:17 2022 rev:39 rq:1039126 version:0.8.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/suse-prime/suse-prime.changes    2022-10-24 
11:13:32.071251557 +0200
+++ /work/SRC/openSUSE:Factory/.suse-prime.new.1597/suse-prime.changes  
2022-11-30 16:33:18.547538632 +0100
@@ -1,0 +2,7 @@
+Wed Nov 30 13:53:46 UTC 2022 - Stefan Dirsch <sndir...@suse.com>
+
+- SUSEPrime-0.8.10
+  * prime-select.sh: fix kdeglobals path (github issue#91)
+- require sudo command/package (github issue#91)
+
+-------------------------------------------------------------------

Old:
----
  SUSEPrime-0.8.9.tar.gz

New:
----
  SUSEPrime-0.8.10.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ suse-prime.spec ++++++
--- /var/tmp/diff_new_pack.skolH5/_old  2022-11-30 16:33:19.223542217 +0100
+++ /var/tmp/diff_new_pack.skolH5/_new  2022-11-30 16:33:19.227542239 +0100
@@ -23,7 +23,7 @@
 %global modprobe_d_files 09-nvidia-modprobe-bbswitch-G04.conf 
09-nvidia-modprobe-pm-G05.conf
 
 Name:           suse-prime
-Version:        0.8.9
+Version:        0.8.10
 Release:        0
 Summary:        GPU (nvidia/intel) selection for NVIDIA optimus laptops with 
bbswitch support
 License:        SUSE-Public-Domain
@@ -37,6 +37,8 @@
 Provides:       suse-prime-bbswitch = %{version}
 BuildRequires:  pkgconfig(systemd)
 BuildArch:      noarch
+Requires:       coreutils
+Requires:       sudo
 %{?systemd_ordering}
 
 %description

++++++ SUSEPrime-0.8.9.tar.gz -> SUSEPrime-0.8.10.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/SUSEPrime-0.8.9/prime-select.sh 
new/SUSEPrime-0.8.10/prime-select.sh
--- old/SUSEPrime-0.8.9/prime-select.sh 2022-10-23 22:48:54.000000000 +0200
+++ new/SUSEPrime-0.8.10/prime-select.sh        2022-11-30 14:27:51.000000000 
+0100
@@ -220,7 +220,7 @@
 
     panel_name=${1}
 
-    kdeglobals="$(sudo -u $user -i eval 'echo -n $HOME')/.config/kdeglobals"
+    kdeglobals="$(sudo -u $user /usr/bin/printenv HOME)/.config/kdeglobals"
 
     if [ -f $kdeglobals ]; then
         sudo -u $user sed -i -r 
"s/(ScreenScaleFactors=)$panel_nvidia|$panel_intel|$panel_intel2/\1$panel_name/"
 "$kdeglobals"

Reply via email to