From 231831374c24d9205411b32888ec4f02ebc61d24 Mon Sep 17 00:00:00 2001 From: chenguanglee Date: Fri, 22 Nov 2024 09:40:26 +0800 Subject: [PATCH] fix build warnings: %patch is deprecated --- kylin-calculator.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/kylin-calculator.spec b/kylin-calculator.spec index a686463..cf62cde 100644 --- a/kylin-calculator.spec +++ b/kylin-calculator.spec @@ -1,6 +1,6 @@ Name: kylin-calculator Version: 1.2.0.0 -Release: 2 +Release: 3 Summary: Calculator tool for UKUI License: LGPL-3.0-or-later and GPL-3.0-or-later URL: http://www.ukui.org @@ -38,9 +38,7 @@ modes, with simple to use, friendly interface and other advantages. %prep -%setup -q -%patch01 -p1 -%patch02 -p1 +%autosetup -n %{name}-%{version} -p1 %build %{qmake_qt5} %{_qt5_qmake_flags} CONFIG+=enable-by-default kylin-calculator.pro @@ -79,6 +77,12 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/kylin-user-guide/data/guide/kylin-calculator/* %changelog +* Fri Nov 22 2024 lichenguang - 1.2.0.0-3 +- Type:bugfix +- CVE: +- SUG:NA +- DESC: fix %patchN is deprecated (2 usages found), use %patch N (or %path -P N) + * Mon May 27 2024 houhongxun - 1.2.0.0-2 - Type:bugfix - CVE: -- Gitee