Remove chown -R root:root from specfile

%install is run as non-root and as such, chown root is not allowed to be done it.

The correct way of achieving a setting of ownership in RPM specfiles is to do it
in the %files section(s).

Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>
This commit is contained in:
Brian J. Murrell 2021-11-16 10:43:29 -05:00 committed by GitHub
parent 4822c3b18b
commit 27c0cff47c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,6 @@ Jellyfin is a free software media system that puts you in control of managing an
%build
%install
chown root:root -R .
npm ci --no-audit --unsafe-perm
%{__mkdir} -p %{buildroot}%{_datadir}
mv dist %{buildroot}%{_datadir}/jellyfin-web