Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package OpenImageIO for openSUSE:Leap:16.0 
checked in at 2025-08-11 16:11:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:16.0/OpenImageIO (Old)
 and      /work/SRC/openSUSE:Leap:16.0/.OpenImageIO.new.1085 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "OpenImageIO"

Mon Aug 11 16:11:55 2025 rev:2 rq:1297745 version:3.0.9.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:16.0/OpenImageIO/OpenImageIO.changes        
2025-03-19 11:38:10.624170915 +0100
+++ /work/SRC/openSUSE:Leap:16.0/.OpenImageIO.new.1085/OpenImageIO.changes      
2025-08-11 16:12:09.658716274 +0200
@@ -1,0 +2,480 @@
+Fri Aug  1 19:39:48 UTC 2025 - Marcus Rueckert <mrueck...@suse.de>
+
+- Update to 3.0.9.0
+  - maketx: Add flags to increase feature parity with txmake #4841
+    (by Scott Milner)
+  - perf: Speed up maketx --envlatl when multithreaded by over 10x.
+    #4825
+  - perf: Speed up OpenEXR non-core header read time #4832
+  - oiiotool: Allow thread control for --parallel-frames #4818
+  - ImageInput: Incorrect IOProxy logic related to valid_file #4839
+  - python: Got strides wrong passing 2D numpy pixel array #4843
+  - ffmpeg: Replace deprecated and soon removed avcodec_close with
+    avcodec_free_context #4837 (by Vlad Erium)
+  - build/python: For python stub generation, lock pybind11 to
+    pre-3.0 #4831
+  - build: Fix typo related to finding ccache #4833
+  - build: PNG auto-build improvements #4835
+  - build: Propagate CMAKE_MSVC_RUNTIME_LIBRARY #4842
+  - build: Update jpeg2000input.cpp to include cstdarg #4836 (by
+    Peter Kovář)
+  - ci: Bump 'latest releases' tests to use pybind11 3.0.0 #4828
+  - (docs): Correct docs and type of "resident_memory_used_MB"
+    attribute #4824
+  - (admin): Update SECURITY to reflect that 2.5 only gets critical
+    fixes now #4829
+
+-------------------------------------------------------------------
+Mon Jul 21 15:37:11 UTC 2025 - Lubos Kocman <lubos.koc...@suse.com>
+
+- Relicense code under Apache 2.0 (#3926) 
+
+-------------------------------------------------------------------
+Tue Jul 15 16:36:25 UTC 2025 - Marcus Rueckert <mrueck...@suse.de>
+
+- Fix build on leap
+  - force newer GCC
+  - disable python support
+    - disabled python supports also disables man pages
+
+-------------------------------------------------------------------
+Thu Jul 10 10:26:41 UTC 2025 - Marcus Rueckert <mrueck...@suse.de>
+
+- Update to 3.0.8.1
+  - build(heif): Fixes to build against libheif 1.20 #4822 (by Rui
+    Chen)
+- Update to 3.0.8.0
+  - oiiotool: New expression pseudo-metadata term: SUBIMAGES #4804
+  - oiiotool: Fixes to --missingfile behavior #4803
+  - iv: Area probe #4767 (by Danielle Imogu)
+  - python: Python ImageBuf.init_spec did not return correct value
+    #4805
+  - fix: ImageOutput::check_open logic was flawed #4779
+  - int(iv): Add raw string syntax modifier for VSCode and Cursor
+    to understand its glsl #4796 (by Aleksandr Motsjonov)
+  - int(iv): Use R"()" syntax for glsl shader strings for better
+    readability #4795 (by Aleksandr Motsjonov)
+  - exr: Not honoring 'missingcolor' for scanline files #4757
+  - build: Add arm_neon.h include on Windows ARM64 with clang-cl
+    #4691 (by Anthony Roberts)
+  - build: Adjust pystring finding #4816
+  - build(jxl): Use correct cmake variables for the include
+    directories #4810 #4813 (by Jesse Yurkovich)
+  - tests: Remove old test reference output we no longer need #4817
+  - ci: Remove tests on Windows-2019 GitHub runner #4793
+  - ci: Various ccache save/restore improvements for CI runs #4797
+  - ci: Simplify gh-win-installdeps, no more vcpkg #4809
+  - admin: Remove stale intake documents #4815
+- Update to 3.0.7.0
+  - oiiotool: --eraseattrib new modifier :fromfile=1 reads from a
+    file
+  - to get a list of patterns to specify the attributes to erase.
+    #4763 (by Lydia Zheng)
+  - oiiotool: Added --create-dir flag to create directories needed
+    by -o
+  - if they doesn't already exist #4762 (by Dharshan Vishwanatha)
+  - oiiotool: --eraseattrib:fromfile=1 #4763 (by Lydia Zheng)
+  - oiiotool: Added create-dir cmd arg to create dir if it doesn't
+    exist #4762 (by Dharshan Vishwanatha)
+  - oiiotool: -i:native=1, fix --native behavior, fix convert
+    datatype #4708
+  - iv: Fix crash on .DS_Store; fix uppercase extensions #4764 (by
+    Anton Dukhovnikov)
+  - iv: Do not resize on open and other zoom fixes #4766 (by
+    Aleksandr Motsjonov)
+  - iv: Bug fix for iv window losing focus on mac on startup #4773
+    (by Aleksandr Motsjonov)
+  - iv: Implement files drag and drop into an iv window #4774 (by
+    Aleksandr Motsjonov)
+  - iv: Use screen pixel ratio to render sharp text in pixel view
+    tool #4768 (by Aleksandr Motsjonov)
+  - python: Add python stub files #4692 #4754 (by Chad Dombrova)
+  - python: ImageBuf _repr_png_ method added, which allows use of
+  - ImageBuf in Jupyter Notebooks as a displayable object. #4753
+    (by Oktay Comu)
+  - exr: Did not properly allocate 'missingcolor' vector #4751
+  - exr: Add htj2k as a compression option for OpenEXR. Only works
+    with OpenEXR 3.4 or higher (or in-progress OpenEXR main). #4785
+    (by Li Ji)
+  - iff: Improved IFF support reading and writing z buffers #4673
+    (by Mikael Sundell)
+  - webp: Respect the oiio:UnassociatedAlpha attribute #4770 (by
+    Jesse Yurkovich)
+  - webp: Allow finer grained control over WEBP compression
+    settings #4772 (by Jesse Yurkovich)
+  - flx/python: IBA.demosaic had GIL release in wrong spot #4777
+  - fix: ImageInput/ImageOutput did not set per-file threads
+    correctly #4750
+  - fix: Address safety warnings in pvt::append_tiff_dir_entry
+    #4737
+  - build: Fix fmt throwing behavior warnings #4730
+  - build: Detect libultrahdr version and enforce minimum of 1.3
+    #4729
+  - build: Fix failed test with old fmt #4758
+  - ci: Save time by not checking out entire project history #4731
+  - ci: New testing variants for VFX Platform 2025, Windows 2025
+    #4744, Linux ARM #4749
+  - ci: Update ref output to compensate for GitHub windows drive
+    changes #4761
+  - ci: Pkg config libdir fix #4775 (by Scott Wilson)
+  - ci: For docs workflow, lock down versions and speed up #4646
+  - ci: Improved clang-format CI task #4647
+  - ci: Add facility for benchmarking as part of CI #4745
+  - ci: Update ref image for slightly changed freetype accents
+    #4765
+  - docs: Online docs improvements, mostly formatting (#4736,
+    #4743)
+  - docs: Update Windows build instructions to rely on deps
+    auto-build #4769
+- Update to 3.0.6.1
+  - fix: Restore OIIO_AVX512ER_ENABLED preprocessor symbol. Its
+    absence could break backwards source compatibility if anyone
+    was using it, even though it was useless and broken. Where
+    compatibility goes, better safe than sorry. #4735
+- Update to 3.0.6.0
+  - oiiotool: Add --text modifiers measure= and render= #4681
+  - python: Fix handle leak #4685
+  - bmp: Correct the type for BMP x/y density #4695 (by Campbell
+    Barton)
+  - dpx: Specify the units for DPX scanned size #4694 (by Campbell
+    Barton)
+  - sgi: Fix valid_file to properly swap bytes on little-endian
+    platforms #4697 (by Jesse Yurkovich)
+  - build: Fix new dcmtk 3.6.9 vs C++ warning #4698
+  - build: Address Robin-map vs CMake 4.0 compatibility #4701
+  - build: Fix broken OIIO_SITE customization #4709
+  - build: Address compiler warnings in simd.h #4724
+- Update to 3.0.5.0
+  - ImageBuf: ImageBuf::merge_metadata() merges one IB's metadata
+    into another's without deleting the metadata already present.
+    It can also filter which metadata are copied using a regex.
+    #4672
+  - oiiotool: --pastemeta now takes additional modifiers that
+    allows options for merging rather than rewriting, and is able
+    to copy only a subset of the metadata specified by a regex.
+    #4672 #4674 #4676
+  - oiiotool: Fix invalid loop bound when appending mipmap textures
+    using oiiotool #4671 (by Basile Fraboni)
+  - png: Increase allowed width/height limit #4655 (by Jesse
+    Yurkovich)
+  - psd: Improved tag recognition in psd files #4663 (by Lydia
+    Zheng)
+  - tiff: The default value for bitspersample should be 1 #4670 (by
+    vernalchen)
+  - int: Switch to spans for some exif manipulation, fixing
+    warnings #4689
+  - span.h: OIIO::span improvements #4667
+  - build: Better disabling of work when USE_PYTHON=0 #4657
+  - build: Improve OpenJpeg version detection. #4665 (by
+    jreichel-nvidia)
+  - build: Bump auto-build libdeflate to 1.23 to avoid AVX512 not
+    available errors #4679 (by LI JI)
+  - build: Cmake 4.0 compatibility #4686 #4688
+  - ci: Fix wheel building on Mac #4668 #4675
+  - ci: Update libPNG address and version for ci & autobuild #4659
+- Update to 3.0.4.0
+  - oiiotool: New expression eval tokens IS_CONSTANT, IS_BLACK
+    #4610 (by Lydia Zheng)
+  - oiiotool: Better handling of wildcards that match no files
+    #4627
+  - ImageBuf: IB::pixeltype() did not always return the right value
+    #4614
+  - ImageBuf: Fix bug in ImageBuf construction from ptr + neg
+    strides #4630
+  - ICC: ICC profile recognition and robustness improvements,
+    especially for PSD #4644
+  - exr: Fill in OpenEXR lineOrder attribute when reading #4628 (by
+    vernalchen)
+  - ico: More robust to corrupted ICO files #4625
+  - rla: More robust to corrupted RLA files that could overrun
+    buffers #4624
+  - span.h: Eliminate needless definitions of std::size(span) that
+    were triggering strange behavior on recent MSVS compiler
+    versions. #4652
+  - build: Fix recently broken rpath setting #4618
+  - build/python wheels: Ensure python-based builds use
+    maj.min.patch SO versioning #4634 (by zachlewis)
+  - build/python wheels: Fix recently broken rpath to restore
+    python wheel building #4633
+  - ci: Run wheel workflow on certain pushes #4617
+  - docs: Argparse documentation/comments typos #4612
+  - admin: Document Python Wheel completed in roadmap #4620 (by
+    Todica Ionut)
+  - admin: Add ".vs" to .gitignore #4645
+  - admin: Set up .gitattributes file and ensure it properly
+    categorizes certain files for GitHub's language analysis
+    statistics. #4648
+- Update to 3.0.3.1
+  The release is identical to v3.0.3.0, but some build issues were
+  fixed to allow proper build and upload of the Python wheels to
+  PyPI for the Linux ARM variants.
+- Update to 3.0.3.0
+  - separate images #4591 (by Loïc Vital)
+  - IBA: IBA:demosaic() adds the ability for X-Trans demosaicing
+    #4579 (by Anton Dukhovnikov)
+  - IBA: fix demosaic handling of roi channels #4602 (by Anton
+    Dukhovnikov)
+  - png: Alpha premultiplication adjustment and attribute #4585
+  - psd: Perform endian byteswap on correct buffer area for PSD RLE
+    #4600 (by Jesse Yurkovich)
+  - raw: Add black level and BPS metadata #4601 (by Anton
+    Dukhovnikov)
+  - python: Disable loading Python DLLs from PATH by default on
+    Windows #4590 (by zachlewis)
+  - dev (span.h): Span_memcpy is a safer memcpy when you know the
+    span boundaries #4597
+  - dev (filesystem.h): Filesystem::getline() #4569
+  - dev (paramlist.h): ParamValue as_span, as_cspan #4582
+  - build: Recent change broke when using non-Apple clang on Apple
+    #4596
+  - build: Fix build_cmake.bash script for aarch64, bump its
+    default version #4581
+  - build: Fix libraw definitions (again) #4588
+  - ci: Upgrade to newer actions #4570
+  - ci: Test and document support for WebP 1.5 and fmt 11.1 #4574
+  - ci: Only pass build-steps the secrets it needs #4576
+  - ci: Fix Windows 2019 CI -- make python version match the runner
+    #4592
+  - ci: Raise 'latest' tests to use new fmt 11.1.2 #4593
+  - ci: Adjust some pugixml versions #4594
+  - ci: Allow special branch names to prune CI jobs #4604
+  - tests: Improve Ptex testing #4573
+  - tests: Better testing coverage of null image reader/writer
+    #4578
+  - tests: At long last, set up a softimage reading test. #4583
+  - tests: Additional ref output for jpeg-corrupt test #4595
+  - docs: Fix typo in oiiotool's gradient fill example #4589 (by
+    Loïc Vital)
+- update test images to 20250119T083517
+- Update to 3.0.2.0
+  - api: Add global attribute imageinput:strict #4560
+  - various formats: Detect invalid ICC profile tags #4557 #4565
+  - various formats: IPTC fields have length limits, protect
+    against attributes passed that are too long to fit in them.
+    #4568
+  - pnm: Handle broken pnm files with invalid resolution #4561
+  - pnm: Handle broken pgm having memory access error #4559
+  - int: Some LoggedTimer instances lacked a variable name #4571
+  - build: Use target_compile_options (fixes a LibRaw build issue)
+    #4556 (by Don Olmstead)
+  - ci: Refactor using a single steps workflow #4545
+  - ci: Fixups of analysis workflow #4572
+  - docs: Minor fixes and typos #4564
+  - admin: Sign release artifacts #4580
+- Update to 3.0.1.0
+  - IBA: New IBA::scale() #4541 (by Anton Dukhovnikov) (3.0.1.0)
+  - IBA: IBA:demosaic() add white balancing #4499 (by Anton
+    Dukhovnikov) (3.0.1.0)
+  - jpeg: Support reading Ultra HDR images #4484 (by Loïc Vital)
+    (3.0.1.0)
+  - jpeg: Support encoding/decoding arbitrary metadata as comments
+    #4430 (by Lukas Stockner) (3.0.1.0)
+  - api: OIIO::getattribute() queries for available font families
+    and styles #4523 (by peterhorvath111) (3.0.1.0)
+  - perf: IBA::unsharp_mask() speed and memory optimization #4513
+    (by Vlad (Kuzmin) Erium) (3.0.1.0)
+  - perf: oiiotool --line, --text, --point, and --box speedups
+    #4518 (3.0.1.0)
+  - perf: Jpeg2000 valid_file implementation, much faster than
+    trying to open #4548 (by Aras Pranckevičius) (3.0.1.0)
+  - perf: Faster utf8<->utf16 conversion on Windows #4549 (by Aras
+    Pranckevičius) (3.0.1.0)
+  - fix(exr): Allow an empty "name" metadata to be read #4528 #4536
+    (3.0.1.0)
+  - fix(exr): Avoid integer overflow for large deep exr slice
+    strides #4542 (3.0.1.0)
+  - fix(raw): Fix channel layout #4516 (by Anton Dukhovnikov)
+    (3.0.1.0)
+  - build: Support static OCIO self-builds #4517 (by zachlewis)
+    (3.0.1.0)
+  - build: Add build recipe for PNG #4423 (by zachlewis) (3.0.1.0)
+  - build: Add hardening options #4538 (3.0.1.0)
+  - ci: Increased the macos timeout slightly to fix spurious
+    failures #4526 (3.0.1.0)
+  - ci: Don't rebuild docs in CI when only CMakeLists.txt changes
+    #4539 (3.0.1.0)
+  - ci: Fix broken CI for ASWF 2021 and 2022 containers #4543
+    (3.0.1.0)
++++ 183 more lines (skipped)
++++ between /work/SRC/openSUSE:Leap:16.0/OpenImageIO/OpenImageIO.changes
++++ and /work/SRC/openSUSE:Leap:16.0/.OpenImageIO.new.1085/OpenImageIO.changes

Old:
----
  OpenImageIO-2.5.15.0.tar.gz
  oiio-images-20240410T102113.tar.xz

New:
----
  OpenImageIO-3.0.9.0.tar.gz
  oiio-images-20250119T083517.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ OpenImageIO.spec ++++++
--- /var/tmp/diff_new_pack.x0Ke9Z/_old  2025-08-11 16:12:13.578880077 +0200
+++ /var/tmp/diff_new_pack.x0Ke9Z/_new  2025-08-11 16:12:13.578880077 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package OpenImageIO
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,29 +16,41 @@
 #
 
 
+%if 0%{?suse_version} > 1500
 %ifarch aarch64 %{arm}
 %bcond_with imageviewer
 %else
 %bcond_without imageviewer
 %endif
+%else
+%bcond_with imageviewer
+%endif
+
 %if 0%{?suse_version} > 1500
 %bcond_without libheif
+%bcond_without python_bindings
 %else
+%bcond_with python_bindings
 %bcond_with libheif
 %endif
 %bcond_without opencv
-%bcond_without python_bindings
 %bcond_with apidocs
 %bcond_with ptex
 
-%define images_ts 20240410T102113
-%define so_ver 2_5
-%define major_minor_ver 2.5
+%if 0%{?suse_version} == 1500
+%global force_gcc_version 14
+%global force_boost_version 1_75_0
+%endif
+
+%global images_ts 20250119T083517
+%global so_ver 3_0
+%global major_minor_ver 3.0
+
 Name:           OpenImageIO
-Version:        2.5.15.0
+Version:        3.0.9.0
 Release:        0
 Summary:        Library for Reading and Writing Images
-License:        BSD-3-Clause
+License:        Apache-2.0
 Group:          Productivity/Graphics/Other
 URL:            https://www.openimageio.org/
 Source0:        
https://github.com/AcademySoftwareFoundation/OpenImageIO/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
@@ -46,66 +58,66 @@
 Source1:        oiio-images-%{images_ts}.tar.xz
 # NOTE: Please don't uncomment a build requirement unless you have submitted 
the package to factory and it exists
 #BuildRequires:  Field3D-devel
-BuildRequires:  cmake >= 3.12
+BuildRequires:  cmake >= 3.18.2
 BuildRequires:  dcmtk-devel
 %if %{with apidocs}
 BuildRequires:  doxygen
 %endif
 BuildRequires:  fdupes
-BuildRequires:  gcc-c++
-BuildRequires:  giflib-devel
+BuildRequires:  gcc%{?force_gcc_version}-c++
+BuildRequires:  giflib-devel >= 5.0
 BuildRequires:  hdf5-devel
-BuildRequires:  libboost_atomic-devel
-BuildRequires:  libboost_filesystem-devel
-BuildRequires:  libboost_system-devel
-BuildRequires:  libboost_thread-devel
+# can be dropped when upgrading to 3.x again
+#BuildRequires:  libboost_atomic%{?force_boost_version}-devel
+#BuildRequires:  libboost_filesystem%{?force_boost_version}-devel
+#BuildRequires:  libboost_system%{?force_boost_version}-devel
+#BuildRequires:  libboost_thread%{?force_boost_version}-devel
+#/ can be dropped when upgrading to 3.x again
 BuildRequires:  libjpeg-devel
-BuildRequires:  libpng-devel
-BuildRequires:  openvdb-devel
+BuildRequires:  libpng-devel >= 1.6.0
+BuildRequires:  openvdb-devel >= 9.0
 BuildRequires:  pkgconfig
 BuildRequires:  pugixml-devel
 %if %{with python_bindings}
-BuildRequires:  python3-devel
-BuildRequires:  python3-pybind11-devel
+BuildRequires:  python3-devel >= 3.7
+BuildRequires:  python3-pybind11-devel >= 2.7
 # required for testsuite
 BuildRequires:  python3-numpy
 %endif
-BuildRequires:  robin-map-devel
+BuildRequires:  robin-map-devel >= 1.2.0
 BuildRequires:  tbb-devel
 BuildRequires:  txt2man
-BuildRequires:  pkgconfig(OpenColorIO)
-BuildRequires:  pkgconfig(OpenEXR) >= 2.4
+BuildRequires:  pkgconfig(OpenColorIO) >= 2.2
+BuildRequires:  pkgconfig(OpenEXR) >= 3.1
 %if %{with ptex}
 BuildRequires:  ptex-devel-static
 %endif
 BuildRequires:  pkgconfig(bzip2)
 BuildRequires:  pkgconfig(fmt)
-BuildRequires:  pkgconfig(freetype2)
+BuildRequires:  pkgconfig(freetype2) >= 2.10
 BuildRequires:  pkgconfig(libavdevice)
+BuildRequires:  pkgconfig(libjxl)
 %if %{with libheif}
-BuildRequires:  pkgconfig(libheif)
+BuildRequires:  pkgconfig(libheif) >= 1.11
 %endif
 BuildRequires:  pkgconfig(libopenjp2)
 BuildRequires:  pkgconfig(libxml-2.0)
 %if %{with imageviewer}
-BuildRequires:  cmake(Qt5Core)
-BuildRequires:  cmake(Qt5Gui)
-BuildRequires:  cmake(Qt5OpenGL)
-BuildRequires:  cmake(Qt5Widgets)
-%endif
-BuildRequires:  pkgconfig(libraw)
-BuildRequires:  pkgconfig(libtiff-4)
-BuildRequires:  pkgconfig(libwebp)
+BuildRequires:  cmake(Qt6Core)
+BuildRequires:  cmake(Qt6Gui)
+BuildRequires:  cmake(Qt6OpenGLWidgets)
+BuildRequires:  cmake(Qt6Widgets)
+%endif
+BuildRequires:  pkgconfig(libraw) >= 0.20
+BuildRequires:  pkgconfig(libtiff-4) > 4.0
+BuildRequires:  pkgconfig(libwebp) >= 1.1
 BuildRequires:  pkgconfig(libwebpdecoder)
 BuildRequires:  pkgconfig(libwebpdemux)
 BuildRequires:  pkgconfig(libwebpmux)
 %if %{with opencv}
-%if 0%{?suse_version} > 1500
 BuildRequires:  pkgconfig(opencv4)
-%else
-BuildRequires:  pkgconfig(opencv)
-%endif
 %endif
+BuildRequires:  fonts-config
 BuildRequires:  pkgconfig(zlib)
 Recommends:     google-droid-fonts
 
@@ -146,8 +158,6 @@
 Summary:        Library for Reading and Writing Images
 Group:          System/Libraries
 # this is unfortunate and a fallout of properly naming the lib after fixing 
so_ver
-Conflicts:      libOpenColorIO2_0 = 2.1.1
-Conflicts:      libOpenColorIO2_0 = 2.1.2
 
 %description -n libOpenImageIO%{so_ver}
 OpenImageIO is a library for reading and writing images, and a bunch of related
@@ -190,6 +200,11 @@
 find . -iname \*.py -print -exec sed -i '1s@^#!.*@#!%{_bindir}/python3@' '{}' 
\;
 
 %build
+%if 0%{?force_gcc_version}
+export CC="gcc-%{?force_gcc_version}"
+export CXX="g++-%{?force_gcc_version}"
+%endif
+
 %cmake \
 %ifarch ppc
     -DNOTHREADS=ON \
@@ -234,39 +249,42 @@
 %fdupes -s %{buildroot}
 
 %check
-# Make sure testsuite can find required fonts
-mkdir -p ~/fonts
-ln -sf $(pwd)/src/fonts/Droid_Serif/DroidSerif.ttf ~/fonts/DroidSerif.ttf
-ln -sf $(pwd)/src/fonts/Droid_Sans/DroidSans.ttf ~/fonts/DroidSans.ttf
+# Make sure testsuite can find required fonts. Especially `DroidSerif.ttf` 
which is not part of our google-droid-fonts package
+# we need
+export OPENIMAGEIO_FONTS="$(dirname $(find ${PWD}/src/fonts/ -type f -name 
\*.ttf) | sort -u | tr '\n' ':' | sed -e 's|:$||g')"
+./build/bin/oiiotool --echo "{getattribute(font_dir_list)}"
+# without this the python tests can not link the library
 export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
 # used as suffix for python binary
 export PYTHON_VERSION=3
 export PYTHONPATH=%{buildroot}%{python3_sitearch}
 export PYTHONDONTWRITEBYTECODE=1
-# Exclude known broken tests
-# timer tests won't do reliably in OBS
+#
+# https://github.com/AcademySoftwareFoundation/OpenImageIO/issues/4615
+#
+# heif -> our libheif does not support h265
+# ptex -> fileformat which we do not support
+# jpeg-ultrahdr -> fileformat which we do not support
+# cmake-consumer docs-examples-cpp -> currently failing tests as they assume 
normal cmake search paths will work to find the OIIO devel files in the final 
location
+# docs-examples-python -> fails if docs-examples-cpp was not attempted
+export 
disabled_tests="heif|ptex|jpeg-ultrahdr|cmake-consumer|docs-examples-cpp|docs-examples-python"
 %ifarch x86_64
-%ctest '-E' 
'ptex-broken|texture-icwrite|unit_timer|unit_simd|heif|cmake-consumer|targa|tiff-misc|docs-examples-cpp'
-%ctest '-R' 'texture-icwrite' || true
-#%%ctest '-j1' '-R' 'unit_timer'
+%ctest '-E' ${disabled_tests}
 %else
 # Many test cases are failing on PPC, ARM, ix64 ... ignore for now
-%ctest '-E' 
'ptex-broken|texture-icwrite|unit_timer|unit_simd|heif|cmake-consumer|targa|tiff-misc|docs-examples-cpp'
 || true
-%ctest '-R' 'texture-icwrite' || true
-#%%ctest '-j1' '-R' 'unit_timer'
+%ctest '-E' ${disabled_tests} || true
 %endif
 
-%post -n libOpenImageIO%{so_ver} -p /sbin/ldconfig
-%postun -n libOpenImageIO%{so_ver} -p /sbin/ldconfig
-%post -n libOpenImageIO_Util%{so_ver} -p /sbin/ldconfig
-%postun -n libOpenImageIO_Util%{so_ver} -p /sbin/ldconfig
+%ldconfig_scriptlets -n libOpenImageIO%{so_ver}
+%ldconfig_scriptlets -n libOpenImageIO_Util%{so_ver}
 
 %files
-%doc CHANGES.md CREDITS.md README.md THIRD-PARTY.md
-%doc src/doc/CHANGES-0.x.md src/doc/CHANGES-1.x.md
+%doc %{_docdir}/%{name}/
 %license LICENSE.md
 %{_bindir}/*
+%if %{with python_bindings}
 %{_mandir}/man1/*.1%{ext_man}
+%endif
 
 %if %{with apidocs}
 %files devel-doc
@@ -281,16 +299,17 @@
 %{_libdir}/libOpenImageIO_Util.so
 
 %files -n lib%{name}%{so_ver}
+%license LICENSE.md
 %{_libdir}/lib%{name}.so.*
 %dir %{_libdir}/%{name}-%{major_minor_ver}
 
 %files -n lib%{name}_Util%{so_ver}
+%license LICENSE.md
 %{_libdir}/lib%{name}_Util.so.*
 
 %if %{with python_bindings}
 %files -n python3-%{name}
-%dir %{python3_sitearch}/%{name}
-%{python3_sitearch}/%{name}/__init__.py
-%{python3_sitearch}/%{name}/%{name}.*.so
+%license LICENSE.md
+%{python3_sitearch}/%{name}/
 %endif
 

++++++ OpenImageIO-2.5.15.0.tar.gz -> OpenImageIO-3.0.9.0.tar.gz ++++++
/work/SRC/openSUSE:Leap:16.0/OpenImageIO/OpenImageIO-2.5.15.0.tar.gz 
/work/SRC/openSUSE:Leap:16.0/.OpenImageIO.new.1085/OpenImageIO-3.0.9.0.tar.gz 
differ: char 13, line 1

++++++ _service ++++++
--- /var/tmp/diff_new_pack.x0Ke9Z/_old  2025-08-11 16:12:13.650883086 +0200
+++ /var/tmp/diff_new_pack.x0Ke9Z/_new  2025-08-11 16:12:13.670883921 +0200
@@ -2,7 +2,7 @@
   <service name="tar_scm" mode="manual">
     <param name="scm">git</param>
     <param name="url">https://github.com/OpenImageIO/oiio-images</param>
-    <param name="revision">master</param>
+    <param name="revision">dev-3.0</param>
     <param name="versionformat">%ci</param>
     <param name="exclude">.git</param>
   </service>

++++++ oiio-images-20240410T102113.tar.xz -> oiio-images-20250119T083517.tar.xz 
++++++
/work/SRC/openSUSE:Leap:16.0/OpenImageIO/oiio-images-20240410T102113.tar.xz 
/work/SRC/openSUSE:Leap:16.0/.OpenImageIO.new.1085/oiio-images-20250119T083517.tar.xz
 differ: char 15, line 1

Reply via email to