1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #2502 from brianjmurrell/patch-4

Add BR: nodejs for Fedora 33 and up
This commit is contained in:
dkanada 2021-03-20 01:06:43 +09:00 committed by GitHub
commit add2ec132f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,11 +2,11 @@
Name: jellyfin-web Name: jellyfin-web
Version: 10.7.0 Version: 10.7.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: The Free Software Media System web client Summary: The Free Software Media System web client
License: GPLv3 License: GPLv3
URL: https://jellyfin.org URL: https://jellyfin.org
# Jellyfin Server tarball created by `make -f .copr/Makefile srpm`, real URL ends with `v%{version}.tar.gz` # Jellyfin Server tarball created by `make -f .copr/Makefile srpm`, real URL ends with `v%%{version}.tar.gz`
Source0: jellyfin-web-%{version}.tar.gz Source0: jellyfin-web-%{version}.tar.gz
%if 0%{?centos} %if 0%{?centos}
@ -18,6 +18,9 @@ BuildRequires: nodejs-yarn
# ditto for Fedora's yarn RPM # ditto for Fedora's yarn RPM
BuildRequires: git BuildRequires: git
BuildArch: noarch BuildArch: noarch
%if 0%{?fedora} >= 33
BuildRequires: nodejs
%endif
# Disable Automatic Dependency Processing # Disable Automatic Dependency Processing
AutoReqProv: no AutoReqProv: no
@ -38,7 +41,8 @@ mv dist %{buildroot}%{_datadir}/jellyfin-web
%{__install} -D -m 0644 LICENSE %{buildroot}%{_datadir}/licenses/jellyfin/LICENSE %{__install} -D -m 0644 LICENSE %{buildroot}%{_datadir}/licenses/jellyfin/LICENSE
%files %files
%attr(755,root,root) %{_datadir}/jellyfin-web %defattr(644,root,root,755)
%{_datadir}/jellyfin-web
%{_datadir}/licenses/jellyfin/LICENSE %{_datadir}/licenses/jellyfin/LICENSE
%changelog %changelog