From 71dc02c532c10ea06cb201c638f3fe10d41894aa Mon Sep 17 00:00:00 2001 From: madomado Date: Mon, 4 Dec 2023 20:48:52 +0800 Subject: [PATCH] Update anki-bin.spec Signed-off-by: madomado --- anda/apps/anki-bin/anki-bin.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/apps/anki-bin/anki-bin.spec b/anda/apps/anki-bin/anki-bin.spec index 2789a758ca..1fedba551e 100644 --- a/anda/apps/anki-bin/anki-bin.spec +++ b/anda/apps/anki-bin/anki-bin.spec @@ -36,7 +36,7 @@ install -Dm644 %{SOURCE4} "%{buildroot}/usr/share/pixmaps/anki.png" install -Dm644 %{SOURCE5} "%{buildroot}/%{_datadir}/licenses/%{name}/LICENSE" install -Dm644 %{SOURCE6} "%{buildroot}/%{_datadir}/doc/%{name}/README.md" -cp -r %buildroot{%_libdir}/python3*/site-packages/{_aqt,anki*,aqt*} . +cp -r %buildroot%_libdir/python3*/site-packages/{_aqt,anki*,aqt*} . rm -rf %buildroot{%_libdir,/usr/lib}/python3*/site-packages/* cp -r ./{_aqt,anki*,aqt*} %buildroot/usr/lib/python3*/site-packages/