From 55ab7f93c14933a6c3c796b2bb48e65e11febd60 Mon Sep 17 00:00:00 2001 From: madonuko Date: Tue, 25 Jun 2024 10:25:53 +0800 Subject: [PATCH 1/4] fix(anki-qt5): fix usage of %patch --- anda/apps/anki-qt5/anki-qt5.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/apps/anki-qt5/anki-qt5.spec b/anda/apps/anki-qt5/anki-qt5.spec index 049a7b995e..65f9cbc920 100644 --- a/anda/apps/anki-qt5/anki-qt5.spec +++ b/anda/apps/anki-qt5/anki-qt5.spec @@ -22,7 +22,7 @@ Anki is based on a theory called spaced repetition. %prep git clone https://github.com/ankitects/anki . git checkout %version -%patch1 -p1 +%patch 1 -p1 # See https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=anki-qt5 From cf720100c2d4538a4db8f0c772f9ba1de2b1a188 Mon Sep 17 00:00:00 2001 From: madonuko Date: Tue, 25 Jun 2024 10:29:34 +0800 Subject: [PATCH 2/4] fix(libindicator,openh264): fix usage of %patch --- anda/lib/libindicator/terra-libindicator.spec | 2 +- anda/lib/openh264/openh264.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/anda/lib/libindicator/terra-libindicator.spec b/anda/lib/libindicator/terra-libindicator.spec index 669f39e316..611037c11a 100644 --- a/anda/lib/libindicator/terra-libindicator.spec +++ b/anda/lib/libindicator/terra-libindicator.spec @@ -57,7 +57,7 @@ developing applications that use %{name}-gtk3. %prep %setup -q -c -%patch1 -p1 -b .orig +%patch 1 -p1 -b .orig # Remove all IDO references # This is only needed for tools/indicator-loader.c sed -i '6d' ./Makefile.am diff --git a/anda/lib/openh264/openh264.spec b/anda/lib/openh264/openh264.spec index 55ba818ffe..d4deebe0dc 100644 --- a/anda/lib/openh264/openh264.spec +++ b/anda/lib/openh264/openh264.spec @@ -77,7 +77,7 @@ mv gmp-api-%{commit1} gmp-api # Extract gst-plugins-bad-free archive tar -xf %{S:2} pushd gst-plugins-bad-%{gst_version} -%patch2 -p1 +%patch 2 -p1 popd From bdff9885f892f4f683f196b209f989250091e58a Mon Sep 17 00:00:00 2001 From: madomado Date: Tue, 25 Jun 2024 10:31:07 +0800 Subject: [PATCH 3/4] revert fix for openh264 to avoid conflict from #1385 Signed-off-by: madomado --- anda/lib/openh264/openh264.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/lib/openh264/openh264.spec b/anda/lib/openh264/openh264.spec index d4deebe0dc..55ba818ffe 100644 --- a/anda/lib/openh264/openh264.spec +++ b/anda/lib/openh264/openh264.spec @@ -77,7 +77,7 @@ mv gmp-api-%{commit1} gmp-api # Extract gst-plugins-bad-free archive tar -xf %{S:2} pushd gst-plugins-bad-%{gst_version} -%patch 2 -p1 +%patch2 -p1 popd From 00c0cd23acafaca5d91cd6119a7f5d3f70e08e76 Mon Sep 17 00:00:00 2001 From: madonuko Date: Tue, 25 Jun 2024 10:35:39 +0800 Subject: [PATCH 4/4] chore(python3-protobuf): bump rel -> fix requires --- anda/langs/python/protobuf/python3-protobuf.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/langs/python/protobuf/python3-protobuf.spec b/anda/langs/python/protobuf/python3-protobuf.spec index 55cc824ced..c9523248de 100644 --- a/anda/langs/python/protobuf/python3-protobuf.spec +++ b/anda/langs/python/protobuf/python3-protobuf.spec @@ -3,7 +3,7 @@ Name: python-%{pypi_name} Version: 5.27.1 -Release: 1%?dist +Release: 2%?dist Summary: Protocol Buffers License: BSD-3-Clause