mirror of
https://src.fedoraproject.org/rpms/nodejs18.git
synced 2024-11-28 11:06:08 +00:00
Fix symlinks
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
parent
33ebc0634d
commit
08c7ea5ebe
1 changed files with 3 additions and 3 deletions
|
@ -548,14 +548,14 @@ mkdir -p %{buildroot}%{_mandir} \
|
||||||
|
|
||||||
cp -pr deps/npm/man/* %{buildroot}%{_mandir}/
|
cp -pr deps/npm/man/* %{buildroot}%{_mandir}/
|
||||||
rm -rf %{buildroot}%{_prefix}/lib/node_modules/npm/man
|
rm -rf %{buildroot}%{_prefix}/lib/node_modules/npm/man
|
||||||
ln -srf %{_mandir} %{buildroot}%{_prefix}/lib/node_modules/npm/man
|
ln -srf %{buildroot}%{_mandir} %{buildroot}%{_prefix}/lib/node_modules/npm/man
|
||||||
|
|
||||||
|
|
||||||
# Install Gatsby HTML documentation to %%{_pkgdocdir}
|
# Install Gatsby HTML documentation to %%{_pkgdocdir}
|
||||||
cp -pr deps/npm/docs %{buildroot}%{_pkgdocdir}/npm/
|
cp -pr deps/npm/docs %{buildroot}%{_pkgdocdir}/npm/
|
||||||
rm -rf %{buildroot}%{_prefix}/lib/node_modules/npm/docs
|
rm -rf %{buildroot}%{_prefix}/lib/node_modules/npm/docs
|
||||||
|
|
||||||
ln -srf %{_pkgdocdir}/npm %{buildroot}%{_prefix}/lib/node_modules/npm/docs
|
ln -srf %{buildroot}%{_pkgdocdir}/npm %{buildroot}%{_prefix}/lib/node_modules/npm/docs
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Node tries to install some python files into a documentation directory
|
# Node tries to install some python files into a documentation directory
|
||||||
|
@ -585,7 +585,7 @@ cp %{SOURCE1} %{buildroot}%{_sysconfdir}/npmrc
|
||||||
# NPM upstream expects it to be in /usr/etc/npmrc, so we'll put a symlink here
|
# NPM upstream expects it to be in /usr/etc/npmrc, so we'll put a symlink here
|
||||||
# This is done in the interests of keeping /usr read-only.
|
# This is done in the interests of keeping /usr read-only.
|
||||||
mkdir -p %{buildroot}%{_prefix}/etc
|
mkdir -p %{buildroot}%{_prefix}/etc
|
||||||
ln -rs %{_sysconfdir}/npmrc %{buildroot}%{_prefix}/etc/npmrc
|
ln -rsf %{buildroot}%{_sysconfdir}/npmrc %{buildroot}%{_prefix}/etc/npmrc
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Install the full-icu data files
|
# Install the full-icu data files
|
||||||
|
|
Loading…
Reference in a new issue