aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Büttner <thomas@tartaros.tech>2019-01-05 11:22:03 +0100
committerThomas Büttner <thomas@tartaros.tech>2019-01-05 11:22:03 +0100
commita968913e9f855a99435c7506431a5ec3d3ba1f87 (patch)
treef28d8defa1ad7397e8d0a3d0bfe4f2cf12ffad31
parenta2c1ec0de341b1ce1cdfe7404901d5350d1f2929 (diff)
CentOS Build fails since it has no Recommends: tag
Signed-off-by: Thomas Büttner <thomas@tartaros.tech>
-rw-r--r--rpm-package/README.md1
-rw-r--r--rpm-package/jellyfin.spec2
2 files changed, 2 insertions, 1 deletions
diff --git a/rpm-package/README.md b/rpm-package/README.md
index 1fba9eaad..bbc8e7348 100644
--- a/rpm-package/README.md
+++ b/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>
diff --git a/rpm-package/jellyfin.spec b/rpm-package/jellyfin.spec
index af2f929b1..5cadf779d 100644
--- a/rpm-package/jellyfin.spec
+++ b/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}