From 5ddd3054e5b4a8bbb0582a8a1c1f68cfc126c6ab Mon Sep 17 00:00:00 2001 From: tanyulong2021 Date: Tue, 7 Feb 2023 09:25:13 +0800 Subject: [PATCH] correction the desktop file --- 0001-correction-the-desktop-file.patch | 37 ++++++++++++++++++++++++++ indicator-china-weather.spec | 7 ++++- 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 0001-correction-the-desktop-file.patch diff --git a/0001-correction-the-desktop-file.patch b/0001-correction-the-desktop-file.patch new file mode 100644 index 0000000..f8ecc6f --- /dev/null +++ b/0001-correction-the-desktop-file.patch @@ -0,0 +1,37 @@ +From c51c0b63ae60a63b4948ea832edaba965da3d1bd Mon Sep 17 00:00:00 2001 +From: tanyulong2021 +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 +-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 + diff --git a/indicator-china-weather.spec b/indicator-china-weather.spec index 2da1aa2..271471f 100644 --- a/indicator-china-weather.spec +++ b/indicator-china-weather.spec @@ -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 - 3.1.3-3 +- correction the desktop file + * Mon Feb 06 2023 peijiankang - 3.1.3-2 - add build debuginfo and debugsource