From bca6ea5ea2798a9fe4cad14801615a8852d2ea9c Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 26 Apr 2023 15:13:22 -0400 Subject: [PATCH] Fix manpage symlinks Resolves: rhbz#2187978 Signed-off-by: Stephen Gallagher --- packaging/nodejs.spec.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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