From 5241867d8d0a23a2a08f82008cd90c25972cf4fe Mon Sep 17 00:00:00 2001 From: dou33 Date: Tue, 19 Apr 2022 13:50:20 +0800 Subject: [PATCH] fix first install post script issue --- ukui-system-monitor.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/ukui-system-monitor.spec b/ukui-system-monitor.spec index 0844e91..efebdfa 100644 --- a/ukui-system-monitor.spec +++ b/ukui-system-monitor.spec @@ -1,7 +1,7 @@ %define debug_package %{nil} Name: ukui-system-monitor Version: 1.0.1 -Release: 3 +Release: 4 Summary: A simple system monitor written in QT License: GPL-3+ GPL-2+ URL: http://www.ukui.org @@ -56,9 +56,9 @@ pushd qmake-build popd %post -setcap "cap_net_admin,cap_net_raw+ep" /usr/bin/ukui-system-monitor -set -e -glib-compile-schemas /usr/share/glib-2.0/schemas/ +setcap "cap_net_admin,cap_net_raw+ep" /usr/bin/ukui-system-monitor &> /dev/null || : +set -e &> /dev/null || : +glib-compile-schemas /usr/share/glib-2.0/schemas/ &> /dev/null || : %clean rm -rf $RPM_BUILD_ROOT @@ -71,6 +71,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/glib-2.0/schemas/org.ukui.system-monitor.menu.gschema.xml %changelog +* Tue Apr 19 2022 douyan - 1.0.1-4 +- fix first install post script issue + * Wed Sep 1 2021 douyan - 1.0.1-3 - hide idle rate