From ada45e2bd9385f38d4ebedb2540c9ebac5b81d8f55f4bff39d2edcd740cd42bf Mon Sep 17 00:00:00 2001 From: Hans-Peter Jansen Date: Fri, 2 Jun 2023 17:33:43 +0000 Subject: [PATCH] Accepting request 1090380 from home:frispete:blender - plugin-osl search path is in %{_libdir} now OBS-URL: https://build.opensuse.org/request/show/1090380 OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=54 --- OpenShadingLanguage.changes | 5 +++++ OpenShadingLanguage.spec | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/OpenShadingLanguage.changes b/OpenShadingLanguage.changes index 4e50267..b087521 100644 --- a/OpenShadingLanguage.changes +++ b/OpenShadingLanguage.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 31 08:33:44 UTC 2023 - Hans-Peter Jansen + +- plugin-osl search path is in %{_libdir} now + ------------------------------------------------------------------- Sat Apr 1 09:50:52 UTC 2023 - Hans-Peter Jansen diff --git a/OpenShadingLanguage.spec b/OpenShadingLanguage.spec index fcbaf52..0083b77 100644 --- a/OpenShadingLanguage.spec +++ b/OpenShadingLanguage.spec @@ -205,9 +205,6 @@ find . -iname CMakeLists.txt -exec sed "-i" "-e s/COMMAND python/COMMAND python3 %cmake_install # Add Creative Commons license for documentation cp -v %{SOURCE1} . -# Move the OpenImageIO plugin into its default search path -mkdir %{buildroot}%{_libdir}/OpenImageIO-%{oiio_major_minor_ver} -mv %{buildroot}%{_libdir}/osl.imageio.so %{buildroot}%{_libdir}/OpenImageIO-%{oiio_major_minor_ver}/ find %{buildroot} -name LICENSE.md -print -delete # add top level markdowns to the doc package @@ -269,7 +266,7 @@ find %{buildroot}%{python3_sitearch} -name oslquery.so -print -delete %files -n OpenImageIO-plugin-osl %license LICENSE.md -%{_libdir}/OpenImageIO-%{oiio_major_minor_ver}/osl.imageio.so +%{_libdir}/osl.imageio.so %files devel %license LICENSE.md