From 4aadc166bf29b0413d632dc05e731ccc9680b195 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 27 Mar 2023 19:10:34 -0400 Subject: [PATCH] Fix build issue on non-default releases Signed-off-by: Stephen Gallagher --- nodejs18.spec | 5 ----- packaging/nodejs.spec.j2 | 5 ----- 2 files changed, 10 deletions(-) diff --git a/nodejs18.spec b/nodejs18.spec index 23082af..11344f3 100644 --- a/nodejs18.spec +++ b/nodejs18.spec @@ -595,14 +595,9 @@ 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 -%endif # install documentation mkdir -p %{buildroot}%{_pkgdocdir}/html diff --git a/packaging/nodejs.spec.j2 b/packaging/nodejs.spec.j2 index 276adfa..9b4b358 100644 --- a/packaging/nodejs.spec.j2 +++ b/packaging/nodejs.spec.j2 @@ -606,14 +606,9 @@ 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 -%endif # install documentation mkdir -p %{buildroot}%{_pkgdocdir}/html