!4 [sync] PR-2: fix install warning

From: @openeuler-sync-bot 
Reviewed-by: @peijiankang 
Signed-off-by: @peijiankang
This commit is contained in:
openeuler-ci-bot 2023-05-30 02:59:54 +00:00 committed by Gitee
commit 9897a9b767
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: kylin-weather
Version: 3.1.2
Release: 1
Release: 2
Summary: Indicator that displays China weather information
License: GPL-3.0+
URL: https://gitee.com/openkylin/kylin-weather
@ -46,7 +46,7 @@ popd
rm -rf $RPM_BUILD_ROOT
%post
glib-compile-schemas /usr/share/glib-2.0/schemas
glib-compile-schemas /usr/share/glib-2.0/schemas &> /dev/null ||:
indicatorPath="/etc/xdg/autostart/indicator-china-weather.desktop"
if [ ! -d "$indicatorPath" ]; then
rm -f "$indicatorPath"
@ -62,6 +62,9 @@ fi
%{_datadir}/kylin-user-guide/*
%changelog
* Tue May 30 2023 peijiankang <peijiankang@kylinos.cn> - 3.1.2-2
- fix install warining
* Mon Jan 30 2023 peijiankang <peijiankang@kylinos.cn> - 3.1.2-1
- Init Package for openEuler