1
0

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
This commit is contained in:
Hans-Peter Jansen 2023-06-02 17:33:43 +00:00 committed by Git OBS Bridge
parent 3e5195579c
commit ada45e2bd9
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 31 08:33:44 UTC 2023 - Hans-Peter Jansen <hpj@urpla.net>
- plugin-osl search path is in %{_libdir} now
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Apr 1 09:50:52 UTC 2023 - Hans-Peter Jansen <hpj@urpla.net> Sat Apr 1 09:50:52 UTC 2023 - Hans-Peter Jansen <hpj@urpla.net>

View File

@ -205,9 +205,6 @@ find . -iname CMakeLists.txt -exec sed "-i" "-e s/COMMAND python/COMMAND python3
%cmake_install %cmake_install
# Add Creative Commons license for documentation # Add Creative Commons license for documentation
cp -v %{SOURCE1} . 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 find %{buildroot} -name LICENSE.md -print -delete
# add top level markdowns to the doc package # 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 %files -n OpenImageIO-plugin-osl
%license LICENSE.md %license LICENSE.md
%{_libdir}/OpenImageIO-%{oiio_major_minor_ver}/osl.imageio.so %{_libdir}/osl.imageio.so
%files devel %files devel
%license LICENSE.md %license LICENSE.md