Apply to spec also

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2023-04-26 15:14:32 -04:00
parent bca6ea5ea2
commit 7559b10a65
No known key found for this signature in database
GPG key ID: 45DB85A568286D11

View file

@ -651,7 +651,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