correction the desktop file
This commit is contained in:
parent
b181db8097
commit
5ddd3054e5
37
0001-correction-the-desktop-file.patch
Normal file
37
0001-correction-the-desktop-file.patch
Normal file
@ -0,0 +1,37 @@
|
||||
From c51c0b63ae60a63b4948ea832edaba965da3d1bd Mon Sep 17 00:00:00 2001
|
||||
From: tanyulong2021 <tanyulong@kylinos.cn>
|
||||
Date: Tue, 7 Feb 2023 09:18:30 +0800
|
||||
Subject: [PATCH] correction the desktop file
|
||||
|
||||
---
|
||||
debian/control | 2 +-
|
||||
indicator-china-weather.desktop | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/debian/control b/debian/control
|
||||
index 8d0e1c7..34ca1d9 100644
|
||||
--- a/debian/control
|
||||
+++ b/debian/control
|
||||
@@ -2,7 +2,7 @@ Source: indicator-china-weather
|
||||
Section: utils
|
||||
Priority: optional
|
||||
Maintainer: lixiang <lixiang@kylinos.cn>
|
||||
-Build-Depends: debhelper-compat (=12),
|
||||
+Build-Depends: debhelper-compat (>=9),
|
||||
qtbase5-dev,
|
||||
qt5-qmake,
|
||||
qtchooser,
|
||||
diff --git a/indicator-china-weather.desktop b/indicator-china-weather.desktop
|
||||
index 8a77f48..b374c40 100644
|
||||
--- a/indicator-china-weather.desktop
|
||||
+++ b/indicator-china-weather.desktop
|
||||
@@ -13,5 +13,5 @@ Icon=indicator-china-weather
|
||||
Terminal=false
|
||||
Type=Application
|
||||
X-GNOME-Autostart-Delay=10
|
||||
-Categories=System;Utility;
|
||||
+Categories=System Settings Security;
|
||||
X-UKUI-AutoRestart=true;
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -1,10 +1,11 @@
|
||||
Name: indicator-china-weather
|
||||
Version: 3.1.3
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: The weather data are from the heweather API s6 version.
|
||||
License: GPL-3.0+
|
||||
URL: https://github.com/UbuntuKylin/indicator-china-weather
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Patch0: 0001-correction-the-desktop-file.patch
|
||||
|
||||
BuildRequires: qtchooser
|
||||
BuildRequires: qt5-qtx11extras-devel
|
||||
@ -29,6 +30,7 @@ BuildRequires: GeoIP-devel
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%{qmake_qt5} %{_qt5_qmake_flags} CONFIG+=enable-by-default indicator-china-weather.pro
|
||||
@ -60,6 +62,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/man/man1/indicator-china-weather.1.gz
|
||||
|
||||
%changelog
|
||||
* Tue Feb 07 2023 tanyulong <tanyulong@kylinos.cn> - 3.1.3-3
|
||||
- correction the desktop file
|
||||
|
||||
* Mon Feb 06 2023 peijiankang <peijiankang@kylinos.cn> - 3.1.3-2
|
||||
- add build debuginfo and debugsource
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user