From 443d608e138b8a376fbbf42b6785b27263ebf348 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 23 Jan 2023 15:24:28 -0500 Subject: [PATCH] Fix v8 symlinks Resolves: rhbz#2163346 Signed-off-by: Stephen Gallagher --- nodejs18.spec | 2 +- packaging/nodejs.spec.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nodejs18.spec b/nodejs18.spec index 8b4c1d9..bd1c393 100644 --- a/nodejs18.spec +++ b/nodejs18.spec @@ -592,7 +592,7 @@ ln -srf %{buildroot}%{_libdir}/libnode.so.%{nodejs_soversion} \ # Install v8 compatibility symlinks for header in %{buildroot}%{_includedir}/node/libplatform %{buildroot}%{_includedir}/node/v8*.h; do header=$(basename ${header}) - ln -srf ./node/${header} %{buildroot}%{_includedir}/${header} + ln -sf ./node/${header} %{buildroot}%{_includedir}/${header} done ln -s ./node/cppgc %{buildroot}%{_includedir}/cppgc for soname in libv8 libv8_libbase libv8_libplatform; do diff --git a/packaging/nodejs.spec.in b/packaging/nodejs.spec.in index 4f79d86..844609b 100644 --- a/packaging/nodejs.spec.in +++ b/packaging/nodejs.spec.in @@ -592,7 +592,7 @@ ln -srf %{buildroot}%{_libdir}/libnode.so.%{nodejs_soversion} \ # Install v8 compatibility symlinks for header in %{buildroot}%{_includedir}/node/libplatform %{buildroot}%{_includedir}/node/v8*.h; do header=$(basename ${header}) - ln -srf ./node/${header} %{buildroot}%{_includedir}/${header} + ln -sf ./node/${header} %{buildroot}%{_includedir}/${header} done ln -s ./node/cppgc %{buildroot}%{_includedir}/cppgc for soname in libv8 libv8_libbase libv8_libplatform; do