Browse Source

CentOS Build fails since it has no Recommends: tag

Signed-off-by: Thomas Büttner <thomas@tartaros.tech>
Thomas Büttner 6 years ago
parent
commit
a968913e9f
2 changed files with 2 additions and 1 deletions
  1. 1 0
      rpm-package/README.md
  2. 1 1
      rpm-package/jellyfin.spec

+ 1 - 0
rpm-package/README.md

@@ -21,6 +21,7 @@ Use `install -D -m 0600 -o root -g root /usr/share/jellyfin/jellyfin-sudoers /et
 Finally uncomment JELLYFIN_RESTART_OPT in /etc/sysconfig/jellyfin and restart the service.
 
 ## Database patching
+You may need to install sqlite since CentOS has no `Recommends:` with `yum install sqlite`.
 To fix the paths in the emby database for a migration to jellyfin run the script:
 ```shell
 /usr/share/jellyfin/update-db-paths.sh <path-to-library.db> <path-to-emby-data> <path-to-jellyfin-data>

+ 1 - 1
rpm-package/jellyfin.spec

@@ -33,7 +33,7 @@ BuildRequires:  dotnet-sdk-2.2
 Requires:       ffmpeg
 
 # For the update-db-paths.sh script to fix emby paths to jellyfin
-Recommends:     sqlite
+%{?fedora:Recommends: sqlite}
 
 # Fedora has openssl1.1 which is incompatible with dotnet 
 %{?fedora:Requires: compat-openssl10}