Fix npm manpage symlinks
Resolves: rhbz#2187978 Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
parent
443480e5d2
commit
8a6ffdbb6a
@ -648,7 +648,7 @@ for i in 1 5 7; do
|
|||||||
mkdir -p %{buildroot}%{_mandir}/man${i}
|
mkdir -p %{buildroot}%{_mandir}/man${i}
|
||||||
for manpage in %{buildroot}%{nodejs_private_sitelib}/npm/man/man$i/*; do
|
for manpage in %{buildroot}%{nodejs_private_sitelib}/npm/man/man$i/*; do
|
||||||
basename=$(basename ${manpage})
|
basename=$(basename ${manpage})
|
||||||
ln -srf %{buildroot}%{nodejs_private_sitelib}/npm/man/man${i}/${manpage} \
|
ln -srf %{buildroot}%{nodejs_private_sitelib}/npm/man/man${i}/${basename} \
|
||||||
%{buildroot}%{_mandir}/man${i}/${basename}
|
%{buildroot}%{_mandir}/man${i}/${basename}
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
@ -659,7 +659,7 @@ for i in 1 5 7; do
|
|||||||
mkdir -p %{buildroot}%{_mandir}/man${i}
|
mkdir -p %{buildroot}%{_mandir}/man${i}
|
||||||
for manpage in %{buildroot}%{nodejs_private_sitelib}/npm/man/man$i/*; do
|
for manpage in %{buildroot}%{nodejs_private_sitelib}/npm/man/man$i/*; do
|
||||||
basename=$(basename ${manpage})
|
basename=$(basename ${manpage})
|
||||||
ln -srf %{buildroot}%{nodejs_private_sitelib}/npm/man/man${i}/${manpage} \
|
ln -srf %{buildroot}%{nodejs_private_sitelib}/npm/man/man${i}/${basename} \
|
||||||
%{buildroot}%{_mandir}/man${i}/${basename}
|
%{buildroot}%{_mandir}/man${i}/${basename}
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user