fix install warning

(cherry picked from commit 1a9fd661c3b7b650c1841b615aa485ace014e3f3)
This commit is contained in:
peijiankang 2023-05-30 10:38:23 +08:00 committed by openeuler-sync-bot
parent 38093ed5f4
commit b5c226f9ec

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