From ae119f3c3062921c55b9f903beb5c15378afb03c Mon Sep 17 00:00:00 2001 From: madomado Date: Wed, 26 Jun 2024 01:11:19 +0800 Subject: [PATCH] fix(anki-qt5): fix usage of %patch (#1386) (cherry picked from commit af8cacd84bd475bc654275458e84b68c8927fa6c) --- anda/apps/anki-qt5/anki-qt5.spec | 2 +- anda/langs/python/protobuf/python3-protobuf.spec | 2 +- anda/lib/libindicator/terra-libindicator.spec | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 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 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