- Correct the transactional-update reboot method for KDE Desktop

- 20230126

OBS-URL: https://build.opensuse.org/package/show/devel:microos/plasma-branding-MicroOS?expand=0&rev=5
This commit is contained in:
Shawn Dunn 2023-02-10 18:45:31 +00:00 committed by Git OBS Bridge
parent febf980336
commit 1e61b1b612
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> 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 # spec file for package plasma-branding-MicroOS
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# Copyright (c) 2021 SUSE Software Solutions GmbH # Copyright (c) 2021 SUSE Software Solutions GmbH
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -26,12 +26,14 @@ Source2: mod-firstboot.desktop
Source3: mod-firstboot Source3: mod-firstboot
BuildArch: noarch BuildArch: noarch
BuildRequires: flatpak BuildRequires: flatpak
BuildRequires: transactional-update
Requires: flatpak Requires: flatpak
Requires: libqt5-qdbus Requires: libqt5-qdbus
Requires: kdialog Requires: kdialog
Requires: transactional-update
Requires: sound-theme-freedesktop Requires: sound-theme-freedesktop
Conflicts: gnome-branding-MicroOS Conflicts: gnome-branding-MicroOS
Version: 20210427 Version: 20230126
Release: 0 Release: 0
%description %description
@ -54,6 +56,12 @@ install -m0644 mod-firstboot.desktop %{buildroot}%{_sysconfdir}/skel/.config/aut
install -d %{buildroot}%{_bindir} install -d %{buildroot}%{_bindir}
install -m0755 mod-firstboot %{buildroot}%{_bindir}/mod-firstboot 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 %files
%license COPYING %license COPYING
%dir %{_prefix}/share/microos-desktop %dir %{_prefix}/share/microos-desktop