From 39a633e36e342989da56ed0052fd5a5810a573c7 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 27 Mar 2023 19:05:15 -0400 Subject: [PATCH] Fix build issue on non-default releases Signed-off-by: Stephen Gallagher --- nodejs20.spec | 4 ---- packaging/nodejs.spec.j2 | 4 ---- 2 files changed, 8 deletions(-) diff --git a/nodejs20.spec b/nodejs20.spec index 7af2715..dcb23a7 100644 --- a/nodejs20.spec +++ b/nodejs20.spec @@ -594,10 +594,6 @@ ln -s ./node/cppgc %{buildroot}%{_includedir}/cppgc for soname in libv8 libv8_libbase libv8_libplatform; do ln -s libnode.so.%{nodejs_soversion} %{buildroot}%{_libdir}/%{pkgname}-${soname}.so ln -s libnode.so.%{nodejs_soversion} %{buildroot}%{_libdir}/%{pkgname}-${soname}.so.%{v8_major} -done - -%if 0%{?nodejs_default} -for soname in libv8 libv8_libbase libv8_libplatform; do ln -s libnode.so.%{nodejs_soversion} %{buildroot}%{_libdir}/${soname}.so ln -s libnode.so.%{nodejs_soversion} %{buildroot}%{_libdir}/${soname}.so.%{v8_major} done diff --git a/packaging/nodejs.spec.j2 b/packaging/nodejs.spec.j2 index 276adfa..c80362b 100644 --- a/packaging/nodejs.spec.j2 +++ b/packaging/nodejs.spec.j2 @@ -606,10 +606,6 @@ ln -s ./node/cppgc %{buildroot}%{_includedir}/cppgc for soname in libv8 libv8_libbase libv8_libplatform; do ln -s libnode.so.%{nodejs_soversion} %{buildroot}%{_libdir}/%{pkgname}-${soname}.so ln -s libnode.so.%{nodejs_soversion} %{buildroot}%{_libdir}/%{pkgname}-${soname}.so.%{v8_major} -done - -%if 0%{?nodejs_default} -for soname in libv8 libv8_libbase libv8_libplatform; do ln -s libnode.so.%{nodejs_soversion} %{buildroot}%{_libdir}/${soname}.so ln -s libnode.so.%{nodejs_soversion} %{buildroot}%{_libdir}/${soname}.so.%{v8_major} done