mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-22 07:48:52 -05:00
Use the jna.jar from the system repository to make sure the version matches the corresponding libjnidispatch.so native library
This commit is contained in:
parent
33e03e39b9
commit
7c47f330ab
@ -9,7 +9,7 @@ BuildArch: noarch
|
||||
Requires: java-1.8.0-openjdk
|
||||
Requires: java-1.8.0-openjdk-openjfx
|
||||
Requires: jna
|
||||
Requires: libmediainfo
|
||||
Requires: mediainfo
|
||||
Requires: p7zip
|
||||
Requires: p7zip-plugins
|
||||
|
||||
@ -28,8 +28,9 @@ cp -rvf %{src}/usr %{buildroot}
|
||||
|
||||
%post
|
||||
ln -sf /usr/share/filebot/bin/filebot.sh /usr/bin/filebot
|
||||
ln -sf /usr/lib/java/jna.jar /usr/share/filebot/jar/jna.jar
|
||||
|
||||
|
||||
%postun
|
||||
%preun
|
||||
rm -f /usr/bin/filebot
|
||||
|
||||
rm -f /usr/share/filebot/jar/jna.jar
|
||||
|
Loading…
Reference in New Issue
Block a user