Fix libv8 packaging issue

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2023-03-27 14:57:59 -04:00
parent 7136699056
commit 2e164bd121
No known key found for this signature in database
GPG Key ID: 45DB85A568286D11
2 changed files with 2 additions and 5 deletions

View File

@ -795,11 +795,9 @@ end
%{_libdir}/%{pkgname}-libv8.so %{_libdir}/%{pkgname}-libv8.so
%{_libdir}/%{pkgname}-libv8_libbase.so %{_libdir}/%{pkgname}-libv8_libbase.so
%{_libdir}/%{pkgname}-libv8_libplatform.so %{_libdir}/%{pkgname}-libv8_libplatform.so
%if 0%{?nodejs_default}
%{_libdir}/libv8.so %{_libdir}/libv8.so
%{_libdir}/libv8_libbase.so %{_libdir}/libv8_libbase.so
%{_libdir}/libv8_libplatform.so %{_libdir}/libv8_libplatform.so
%endif
%files -n %{pkgname}-npm %files -n %{pkgname}-npm

View File

@ -796,11 +796,12 @@ end
%files -n %{pkgname}-libs %files -n %{pkgname}-libs
%license LICENSE %license LICENSE
%{_libdir}/libnode.so.%{nodejs_soversion} %{_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_libbase.so.%{v8_major}
%{_libdir}/%{pkgname}-libv8_libplatform.so.%{v8_major} %{_libdir}/%{pkgname}-libv8_libplatform.so.%{v8_major}
%dir %{nodejs_datadir}/ %dir %{nodejs_datadir}/
%if 0%{?nodejs_default} %if 0%{?nodejs_default}
%{_libdir}/libv8.so.%{v8_major}
%{_libdir}/libv8_libbase.so.%{v8_major} %{_libdir}/libv8_libbase.so.%{v8_major}
%{_libdir}/libv8_libplatform.so.%{v8_major} %{_libdir}/libv8_libplatform.so.%{v8_major}
%endif %endif
@ -812,11 +813,9 @@ end
%{_libdir}/%{pkgname}-libv8.so %{_libdir}/%{pkgname}-libv8.so
%{_libdir}/%{pkgname}-libv8_libbase.so %{_libdir}/%{pkgname}-libv8_libbase.so
%{_libdir}/%{pkgname}-libv8_libplatform.so %{_libdir}/%{pkgname}-libv8_libplatform.so
%if 0%{?nodejs_default}
%{_libdir}/libv8.so %{_libdir}/libv8.so
%{_libdir}/libv8_libbase.so %{_libdir}/libv8_libbase.so
%{_libdir}/libv8_libplatform.so %{_libdir}/libv8_libplatform.so
%endif
%files -n %{pkgname}-npm %files -n %{pkgname}-npm