diff --git a/0002-fix-missing-LIBAVCODEC_VERSION_INT-macro-error.patch b/0002-fix-missing-LIBAVCODEC_VERSION_INT-macro-error.patch deleted file mode 100644 index ae27b61..0000000 --- a/0002-fix-missing-LIBAVCODEC_VERSION_INT-macro-error.patch +++ /dev/null @@ -1,25 +0,0 @@ -From f31aa728dc433f457267f45f58618db3c2b34604 Mon Sep 17 00:00:00 2001 -From: chenguanglee -Date: Thu, 21 Nov 2024 11:16:04 +0800 -Subject: [PATCH] fix missing LIBAVCODEC_VERSION_INT macro error - ---- - src/common/my_av.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/common/my_av.h b/src/common/my_av.h -index 0957f37..7f9f9b8 100644 ---- a/src/common/my_av.h -+++ b/src/common/my_av.h -@@ -26,7 +26,7 @@ extern "C" { - #include - #include - #include --// #include -+#include - #include - #include - #include --- -2.43.0 - diff --git a/kylin-screenshot.spec b/kylin-screenshot.spec index 44c8b27..57c9e90 100644 --- a/kylin-screenshot.spec +++ b/kylin-screenshot.spec @@ -1,12 +1,11 @@ Name: kylin-screenshot Version: 1.0.5 -Release: 4 +Release: 3 Summary: a powerful screenshot and screen recording tool License: GPL-3+ URL: https://github.com/ubuntukylin Source0: %{name}-%{version}.tar.gz Patch01: 0001-fix-kylin-screenshot-not-work.patch -Patch02: 0002-fix-missing-LIBAVCODEC_VERSION_INT-macro-error.patch BuildRequires: qt5-qtx11extras-devel @@ -41,8 +40,7 @@ Suggests: ca-certificates, openssl %prep %setup -q -%patch -p1 01 -%patch -p1 02 +%patch01 -p1 %build %{qmake_qt5} %{_qt5_qmake_flags} CONFIG+=enable-by-default kylin-screenshot.pro @@ -93,9 +91,6 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/metainfo/kylinscreenshot.appdata.xml %changelog -* Thu Nov 21 2024 lichenguang - 1.0.5-4 -- fix missing LIBAVCODEC_VERSION_INT macro error - * Mon Feb 06 2023 peijiankang - 1.0.5-3 - add build debuginfo and debugsource