diff --git a/nodejs20.spec b/nodejs20.spec index e922865..4fcb7d3 100644 --- a/nodejs20.spec +++ b/nodejs20.spec @@ -648,7 +648,7 @@ for i in 1 5 7; do mkdir -p %{buildroot}%{_mandir}/man${i} for manpage in %{buildroot}%{nodejs_private_sitelib}/npm/man/man$i/*; do 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} done done diff --git a/packaging/nodejs.spec.j2 b/packaging/nodejs.spec.j2 index fe1b10f..8e03d8d 100644 --- a/packaging/nodejs.spec.j2 +++ b/packaging/nodejs.spec.j2 @@ -659,7 +659,7 @@ for i in 1 5 7; do mkdir -p %{buildroot}%{_mandir}/man${i} for manpage in %{buildroot}%{nodejs_private_sitelib}/npm/man/man$i/*; do 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} done done