From 2e164bd1212bcb4cd2244a718fd6061f8fa9b51a Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 27 Mar 2023 14:57:59 -0400 Subject: [PATCH] Fix libv8 packaging issue Signed-off-by: Stephen Gallagher --- nodejs20.spec | 2 -- packaging/nodejs.spec.j2 | 5 ++--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/nodejs20.spec b/nodejs20.spec index 77751dc..7af2715 100644 --- a/nodejs20.spec +++ b/nodejs20.spec @@ -795,11 +795,9 @@ end %{_libdir}/%{pkgname}-libv8.so %{_libdir}/%{pkgname}-libv8_libbase.so %{_libdir}/%{pkgname}-libv8_libplatform.so -%if 0%{?nodejs_default} %{_libdir}/libv8.so %{_libdir}/libv8_libbase.so %{_libdir}/libv8_libplatform.so -%endif %files -n %{pkgname}-npm diff --git a/packaging/nodejs.spec.j2 b/packaging/nodejs.spec.j2 index 89d9f25..276adfa 100644 --- a/packaging/nodejs.spec.j2 +++ b/packaging/nodejs.spec.j2 @@ -796,11 +796,12 @@ end %files -n %{pkgname}-libs %license LICENSE %{_libdir}/libnode.so.%{nodejs_soversion} -%{_libdir}/libv8.so.%{v8_major} +%{_libdir}/%{pkgname}-libv8.so.%{v8_major} %{_libdir}/%{pkgname}-libv8_libbase.so.%{v8_major} %{_libdir}/%{pkgname}-libv8_libplatform.so.%{v8_major} %dir %{nodejs_datadir}/ %if 0%{?nodejs_default} +%{_libdir}/libv8.so.%{v8_major} %{_libdir}/libv8_libbase.so.%{v8_major} %{_libdir}/libv8_libplatform.so.%{v8_major} %endif @@ -812,11 +813,9 @@ end %{_libdir}/%{pkgname}-libv8.so %{_libdir}/%{pkgname}-libv8_libbase.so %{_libdir}/%{pkgname}-libv8_libplatform.so -%if 0%{?nodejs_default} %{_libdir}/libv8.so %{_libdir}/libv8_libbase.so %{_libdir}/libv8_libplatform.so -%endif %files -n %{pkgname}-npm