fix(anki-qt5): fix usage of %patch (#1386) (#1390)

(cherry picked from commit af8cacd84b)

Co-authored-by: madomado <madonuko@outlook.com>
This commit is contained in:
Raboneko
2024-06-26 04:40:12 -07:00
committed by GitHub
parent c6c8214baa
commit ea868257a6
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
@@ -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
@@ -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