Dominique Leuenberger 2023-02-12 18:13:57 +00:00 committed by Git OBS Bridge
commit a83de28cdc
2 changed files with 16 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 26 12:24:00 UTC 2023 - Syds Bearda <opensuse@syds.eu>
- Correct the transactional-update reboot method for KDE Desktop
- 20230126
-------------------------------------------------------------------
Thu Aug 4 17:25:55 UTC 2022 - Shawn Dunn <sfalken@cloverleaf-linux.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package plasma-branding-MicroOS
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2021 SUSE Software Solutions GmbH
#
# All modifications and additions to the file contributed by third parties
@ -26,12 +26,14 @@ Source2: mod-firstboot.desktop
Source3: mod-firstboot
BuildArch: noarch
BuildRequires: flatpak
BuildRequires: transactional-update
Requires: flatpak
Requires: libqt5-qdbus
Requires: kdialog
Requires: transactional-update
Requires: sound-theme-freedesktop
Conflicts: gnome-branding-MicroOS
Version: 20210427
Version: 20230126
Release: 0
%description
@ -54,6 +56,12 @@ install -m0644 mod-firstboot.desktop %{buildroot}%{_sysconfdir}/skel/.config/aut
install -d %{buildroot}%{_bindir}
install -m0755 mod-firstboot %{buildroot}%{_bindir}/mod-firstboot
%post
sed -i 's/^#REBOOT_METHOD=auto/REBOOT_METHOD=notify/' %{_prefix}%{_sysconfdir}/transactional-update.conf
%postun
sed -i 's/^REBOOT_METHOD=notify/#REBOOT_METHOD=auto/' %{_prefix}%{_sysconfdir}/transactional-update.conf
%files
%license COPYING
%dir %{_prefix}/share/microos-desktop