Thanks for looking at this. I used the repository to install. The repo is available and enabled:
Code: Select all
$ dnf repoinfo filebot
Last metadata expiration check: 0:05:23 ago on Fri 03 Apr 2020 08:27:30 AM EDT.
Repo-id : filebot
Repo-name : filebot
Repo-status : enabled
Repo-revision : 1584805661
Repo-updated : Sat 21 Mar 2020 11:47:41 AM EDT
Repo-pkgs : 1
Repo-available-pkgs: 1
Repo-size : 25 M
Repo-baseurl : https://get.filebot.net/rpm/universal-jdk8/noarch
Repo-expire : 172,800 second(s) (last: Thu 02 Apr 2020 06:33:23 PM EDT)
Repo-filename : /etc/yum.repos.d/universal-jdk8.repo
Total packages: 1
Previously, the app worked. I have all the listed deps from the script installed:
Code: Select all
$ dnf list installed | grep -E "openjdk|jna|mediainfo|7zip"
java-1.8.0-openjdk.x86_64 1:1.8.0.242.b08-0.fc31 @updates
java-1.8.0-openjdk-headless.x86_64 1:1.8.0.242.b08-0.fc31 @updates
java-1.8.0-openjdk-openjfx.x86_64 1:1.8.0.242.b08-0.fc31 @updates
jna.x86_64 5.4.0-1.fc31 @fedora
libmediainfo.x86_64 19.09-1.fc31 @fedora
mediainfo.x86_64 19.09-1.fc31 @fedora
p7zip.x86_64 16.02-15.fc31 @fedora
p7zip-plugins.x86_64 16.02-15.fc31 @fedora
The symlinks that the
%post tries to create are not present, though the jna pacakge is installed:
Code: Select all
$ sudo find /usr/share/ -name *jna.jar*
/usr/share/java/jna.jar
$ sudo find /usr/lib/ -name *jna.jar*
/usr/lib/java/jna/jna.jar
/usr/lib/java/jna.jar
$ sudo find /usr/bin/ -name *filebot*
I do not have the source RPM, but looking at the scripts I think I would suggest moving the symlinks into the
%install section, rather than in
%post. The additional benefit is that you no longer need the
%preun either, because those symlinks are owned by the package. If it's uninstalled, they go with it.
Code: Select all
%install
mkdir -p %{buildroot}/usr/share/filebot
ln -sf /usr/share/filebot/bin/filebot.sh %{buildroot}/usr/bin/filebot
ln -sf /usr/lib/java/jna.jar %{buildroot}/usr/share/filebot/jar/jna.jar