Skip to content

Commit

Permalink
Update anki-bin.spec
Browse files Browse the repository at this point in the history
Signed-off-by: madomado <[email protected]>
  • Loading branch information
madonuko authored Dec 4, 2023
1 parent e123f25 commit f6943e6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion anda/apps/anki-bin/anki-bin.spec
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ 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"

rm -rf %buildroot%_libdir/python3*/site-packages/google/*
cp -r %buildroot%_libdir/python3*/site-packages/{_aqt,anki*,aqt*} .
rm -rf %buildroot%_libdir/python3*/site-packages/*
cp -r ./{_aqt,anki*,aqt*} %buildroot%_libdir/python3*/site-packages/

%fdupes %buildroot%_libdir/python*/site-packages/_aqt/data/

Expand Down

0 comments on commit f6943e6

Please sign in to comment.