!38 fix first install post script issue
From: @dou33 Reviewed-by: @pei-jiankang Signed-off-by: @pei-jiankang
This commit is contained in:
commit
62d00f3866
@ -1,7 +1,7 @@
|
||||
%define debug_package %{nil}
|
||||
Name: ukui-system-monitor
|
||||
Version: 2.0.10
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: A simple system monitor written in QT
|
||||
License: GPL-3+ GPL-2+
|
||||
URL: http://www.ukui.org
|
||||
@ -66,9 +66,9 @@ cp -r %{_builddir}/%{name}-%{version}/data/kylin-system-monitor %{buildroot}/usr
|
||||
|
||||
|
||||
%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
|
||||
@ -85,6 +85,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/ukui-system-monitor/translations/*
|
||||
|
||||
%changelog
|
||||
* Tue Apr 19 2022 douyan <douyan@kylimos.cn> - 2.0.10-4
|
||||
- fix first install post script issue
|
||||
|
||||
* Thu Apr 7 2022 pei-jiankang <peijiankang@kylinos.cn> - 2.0.10-3
|
||||
- modify version is pull
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user