The package rpms/usd.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/usd.git/commit/?id=8fe82bd7638133...
https://src.fedoraproject.org/cgit/rpms/usd.git/commit/?id=e5162bfc1a0211....
Change:
+ExclusiveArch: aarch64 x86_64
+ExclusiveArch: x86_64 %{arm64}
Thanks.
Full change:
============
commit 722697c0c45a0fab2d91ab3d4d79a3665524763f
Merge: 2fa3c9c 8fe82bd
Author: Luya Tshimbalanga <luya(a)fedoraproject.org>
Date: Thu Oct 7 00:51:14 2021 -0700
Merge branch 'rawhide' into f34
commit 8fe82bd7638133de676ee28c1f014f099795ba6f
Author: Luya Tshimbalanga <luya(a)fedoraproject.org>
Date: Wed Oct 6 23:23:29 2021 -0700
Actually enable aarch64 support
diff --git a/usd.spec b/usd.spec
index 6bff5ce..1f59818 100644
--- a/usd.spec
+++ b/usd.spec
@@ -124,7 +124,7 @@ Provides: bundled(stb_image_write) = 1.09
# This package is only available for x86_64 and aarch64
# Will fail to build on other architectures
#
https://bugzilla.redhat.com/show_bug.cgi?id=1960848
-ExclusiveArch: x86_64 %{arm64}
+ExclusiveArch: aarch64 x86_64
%description
Universal Scene Description (USD) is a time-sampled scene
commit e5162bfc1a0211f03bdb1a88ac796fc05b62f870
Author: Benjamin A. Beasley <code(a)musicinmybrain.net>
Date: Wed Oct 6 09:47:22 2021 -0400
Enable aarch64
diff --git a/usd.spec b/usd.spec
index 576ec66..6bff5ce 100644
--- a/usd.spec
+++ b/usd.spec
@@ -121,10 +121,10 @@ Provides: bundled(VulkanMemoryAllocator) = 3.0.0~development
Provides: bundled(stb_image) = 2.19
Provides: bundled(stb_image_write) = 1.09
-# This package is only available for x86_64
+# This package is only available for x86_64 and aarch64
# Will fail to build on other architectures
#
https://bugzilla.redhat.com/show_bug.cgi?id=1960848
-ExclusiveArch: x86_64
+ExclusiveArch: x86_64 %{arm64}
%description
Universal Scene Description (USD) is a time-sampled scene
commit 2fa3c9cff0c73b9700e3a00c23f64f0eeee7f654
Merge: d41d54a c6abec8
Author: Luya Tshimbalanga <luya(a)fedoraproject.org>
Date: Sat Aug 28 11:57:13 2021 -0700
Update to 21.08
commit 057bb664367f656fe07a7a5dbe41d63e878c19f4
Author: Benjamin A. Beasley <code(a)musicinmybrain.net>
Date: Mon Aug 23 11:43:16 2021 -0400
Unbundle stb_image_resize
diff --git a/usd.spec b/usd.spec
index fe5ec21..576ec66 100644
--- a/usd.spec
+++ b/usd.spec
@@ -97,6 +97,10 @@ BuildRequires: cmake(Alembic)
BuildRequires: hdf5-devel
%endif
+# Header-only library: -static is for tracking per guidelines
+BuildRequires: stb_image_resize-devel
+BuildRequires: stb_image_resize-static
+
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%if %{with python3}
Requires: python3-%{name}%{?_isa} = %{version}-%{release}
@@ -111,18 +115,19 @@ Provides: bundled(lz4) = 1.9.2
Provides: bundled(pugixml) = 1.9
Provides: bundled(rapidjson) = 1.0.2
Provides: bundled(SPIRV-Reflect) = 1.0
+Provides: bundled(VulkanMemoryAllocator) = 3.0.0~development
+# Both of these are packaged in Fedora, but USD uses patched versions, so they
+# must be bundled.
Provides: bundled(stb_image) = 2.19
-Provides: bundled(stb_image_resize) = 0.95
Provides: bundled(stb_image_write) = 1.09
-Provides: bundled(VulkanMemoryAllocator) = 3.0.0~development
-
+
# This package is only available for x86_64
# Will fail to build on other architectures
#
https://bugzilla.redhat.com/show_bug.cgi?id=1960848
ExclusiveArch: x86_64
%description
-Universal Scene Description (USD) is a time-sampled scene
+Universal Scene Description (USD) is a time-sampled scene
description for interchange between graphics applications.
%package libs
@@ -172,7 +177,7 @@ Python language bindings for the Universal Scene Description (USD) C++
API
%package doc
Summary: Documentation for usd
BuildArch: noarch
-
+
%description doc
Documentation for the Universal Scene Description (USD) C++ API
%endif
@@ -180,7 +185,7 @@ Documentation for the Universal Scene Description (USD) C++ API
%prep
%autosetup -p1 -n %{srcname}-%{version}
-# Convert NOTICE.txt from CRNL line encoding
+# Convert NOTICE.txt from CRNL line encoding
dos2unix NOTICE.txt
%if %{with python3}
@@ -200,6 +205,9 @@ ln -s %{_datadir}/fonts/google-roboto
pxr/usdImaging/usdviewq/fonts/Roboto
ln -s %{_datadir}/fonts/google-roboto-mono \
pxr/usdImaging/usdviewq/fonts/Roboto_Mono
+# Unbundle stb_image_resize:
+ln -svf %{_includedir}/stb_image_resize.h pxr/imaging/hio/stb/
+
# Use c++17 standard otherwise build fails
sed -i 's|set(CMAKE_CXX_STANDARD 14)|set(CMAKE_CXX_STANDARD 17)|g' \
cmake/defaults/CXXDefaults.cmake
@@ -215,7 +223,7 @@ sed -i 's|lib/usd|%{_libdir}/usd|g' cmake/macros/Public.cmake
sed -i 's|"lib"|%{_libdir}|g' cmake/macros/Public.cmake
sed -i 's|plugin/usd|%{_libdir}/usd/plugin|g' \
cmake/macros/Public.cmake
-
+
# Fix cmake directory destination
sed -i 's|"${CMAKE_INSTALL_PREFIX}"|%{_libdir}/cmake/pxr|g'
pxr/CMakeLists.txt
@@ -228,8 +236,8 @@ exec uic-qt5 -g python "$@"
EOF
chmod +x uic-wrapper
-# Fix python3 support
-#
https://github.com/PixarAnimationStudios/USD/issues/1419
+# Fix python3 support
+#
https://github.com/PixarAnimationStudios/USD/issues/1419
flags="%{optflags} -Wl,--as-needed -DTBB_SUPPRESS_DEPRECATED_MESSAGES=1" \
# Patch2 was not good enough to get the include path for Imath everywhere it
@@ -298,7 +306,7 @@ mv %{buildroot}%{python3_sitelib}/* %{buildroot}%{python3_sitearch}
desktop-file-install \
--dir=%{buildroot}%{_datadir}/applications \
%{SOURCE1}
-
+
# Remove arch-specific code in /usr/share
find %{buildroot}%{_datadir}/%{name}/examples -name '*.so' -print -delete
@@ -307,7 +315,7 @@ mv %{buildroot}%{_prefix}/lib/python/pxr/*.* \
%{buildroot}%{python3_sitearch}/pxr/
mv %{buildroot}%{_prefix}/lib/python/pxr/Usdviewq/* \
%{buildroot}%{python3_sitearch}/pxr/Usdviewq/
-
+
%check
desktop-file-validate
%{buildroot}%{_datadir}/applications/org.open%{name}.%{name}view.desktop
%{?with_test:%ctest}
commit 707a0e357019e1149f63088b36c67d99cfe25f72
Author: Luya Tshimbalanga <luya(a)fedoraproject.org>
Date: Sat Aug 21 10:32:17 2021 -0700
Disable oiio and openvdb
diff --git a/usd.spec b/usd.spec
index 30d7023..fe5ec21 100644
--- a/usd.spec
+++ b/usd.spec
@@ -9,8 +9,9 @@
#
https://github.com/PixarAnimationStudios/USD/issues/1592.
%bcond_without jemalloc
%bcond_with openshading
+%bcond_with openvdb
%bcond_with ocio
-%bcond_without oiio
+%bcond_with oiio
%bcond_without python3
%bcond_with test
@@ -73,7 +74,9 @@ BuildRequires: openshadinglanguage
BuildRequires: pkgconfig(oslexec)
%endif
BuildRequires: opensubdiv-devel
+%if %{with openvdb}
BuildRequires: openvdb-devel
+%endif
BuildRequires: pkgconfig(dri)
%if %{with jemalloc}
BuildRequires: pkgconfig(jemalloc)
@@ -249,7 +252,9 @@ flags="${flags} $(pkgconf --cflags Imath)"
-DPXR_BUILD_EXAMPLES=OFF \
-DPXR_BUILD_TUTORIALS=OFF \
-DPXR_BUILD_TESTS=%{?with_test:ON}%{!?with_test:OFF} \
+%if %{with openvdb}
-DPXR_ENABLE_OPENVDB_SUPPORT=ON \
+%endif
-DPXR_INSTALL_LOCATION="%{_libdir}/%{name}/plugin" \
%if %{with jemalloc}
-DPXR_MALLOC_LIBRARY="%{_libdir}/libjemalloc.so" \
commit 9fc07f9c2c0484219ca6b93e55139fd432f26da2
Author: Luya Tshimbalanga <luya(a)fedoraproject.org>
Date: Sat Aug 21 10:31:56 2021 -0700
Disable oiio and openvdb
commit 48ab077a75dbb71563af38aeb7d648d9ab7a5756
Author: Luya Tshimbalanga <luya(a)fedoraproject.org>
Date: Sat Aug 21 10:30:20 2021 -0700
Disable oiio and openvdb
commit 1f6e7e4b55e74fba067e80a9fe8608d5465da952
Author: Benjamin A. Beasley <code(a)musicinmybrain.net>
Date: Sat Aug 21 11:38:06 2021 -0400
Remove an unused patch from dist-git
diff --git a/usd-21.02-demangle-fix.patch b/usd-21.02-demangle-fix.patch
deleted file mode 100644
index a59efc6..0000000
--- a/usd-21.02-demangle-fix.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- USD-21.02/pxr/base/arch/demangle.cpp.orig 2021-01-20 09:13:57.000000000 +0900
-+++ USD-21.02/pxr/base/arch/demangle.cpp 2021-02-05 16:37:27.154126908 +0900
-@@ -36,6 +36,7 @@ using std::string;
- #if (ARCH_COMPILER_GCC_MAJOR == 3 && ARCH_COMPILER_GCC_MINOR >= 1) || \
- ARCH_COMPILER_GCC_MAJOR > 3 || defined(ARCH_COMPILER_CLANG)
- #define _AT_LEAST_GCC_THREE_ONE_OR_CLANG
-+#include <cxxabi.h>
- #endif
-
- PXR_NAMESPACE_OPEN_SCOPE
-@@ -138,7 +139,6 @@ _StripPxrInternalNamespace(string* name)
- #endif
-
- #if defined(_AT_LEAST_GCC_THREE_ONE_OR_CLANG)
--#include <cxxabi.h>
-
- /*
- * This routine doesn't work when you get to gcc3.4.
commit c6abec899625ee3ef320d3526a3dbd5fb14ed56a
Author: Benjamin A. Beasley <code(a)musicinmybrain.net>
Date: Wed Aug 11 15:32:43 2021 -0400
Re-enable jemalloc to work around upstream issue #1592
diff --git a/usd.spec b/usd.spec
index 45dd41d..30d7023 100644
--- a/usd.spec
+++ b/usd.spec
@@ -5,7 +5,9 @@
%bcond_with documentation
%bcond_without embree
%bcond_without imaging
-%bcond_with jemalloc
+# We must keep jemalloc enabled to work around
+#
https://github.com/PixarAnimationStudios/USD/issues/1592.
+%bcond_without jemalloc
%bcond_with openshading
%bcond_with ocio
%bcond_without oiio
commit 5f9294f542ec7278a7bf0fed1777f7c95320a327
Author: Richard Shaw <hobbes1069(a)gmail.com>
Date: Wed Aug 11 11:19:16 2021 -0500
Rebuild for boost 1.76.
commit cc8833a4122c8a01897cef8fe9fadd5caaa2dd08
Author: Benjamin A. Beasley <code(a)musicinmybrain.net>
Date: Tue Aug 10 13:09:38 2021 -0400
Patch for OpenEXR3. This could be a lot better.
diff --git a/USD-21.08-OpenEXR3.patch b/USD-21.08-OpenEXR3.patch
new file mode 100644
index 0000000..f8b7308
--- /dev/null
+++ b/USD-21.08-OpenEXR3.patch
@@ -0,0 +1,186 @@
+diff -Naur USD-21.08-original/cmake/defaults/Packages.cmake
USD-21.08/cmake/defaults/Packages.cmake
+--- USD-21.08-original/cmake/defaults/Packages.cmake 2021-07-15 02:00:41.000000000 -0400
++++ USD-21.08/cmake/defaults/Packages.cmake 2021-08-10 10:41:05.317624337 -0400
+@@ -188,6 +188,7 @@
+ # --OpenImageIO
+ if (PXR_BUILD_OPENIMAGEIO_PLUGIN)
+ find_package(OpenEXR REQUIRED)
++ find_package(Imath REQUIRED)
+ find_package(OpenImageIO REQUIRED)
+ add_definitions(-DPXR_OIIO_PLUGIN_ENABLED)
+ endif()
+@@ -254,7 +255,7 @@
+ endif()
+ # --OpenVDB
+ if (PXR_ENABLE_OPENVDB_SUPPORT)
+- find_package(OpenEXR REQUIRED)
++ find_package(Imath REQUIRED)
+ find_package(OpenVDB REQUIRED)
+ add_definitions(-DPXR_OPENVDB_SUPPORT_ENABLED)
+ endif()
+@@ -283,7 +284,7 @@
+
+ if (PXR_BUILD_ALEMBIC_PLUGIN)
+ find_package(Alembic REQUIRED)
+- find_package(OpenEXR REQUIRED)
++ find_package(Imath REQUIRED)
+ if (PXR_ENABLE_HDF5_SUPPORT)
+ find_package(HDF5 REQUIRED
+ COMPONENTS
+@@ -305,6 +306,7 @@
+ if(PXR_ENABLE_OSL_SUPPORT)
+ find_package(OSL REQUIRED)
+ find_package(OpenEXR REQUIRED)
++ find_package(Imath REQUIRED)
+ add_definitions(-DPXR_OSL_SUPPORT_ENABLED)
+ endif()
+
+diff -Naur USD-21.08-original/cmake/modules/FindOpenEXR.cmake
USD-21.08/cmake/modules/FindOpenEXR.cmake
+--- USD-21.08-original/cmake/modules/FindOpenEXR.cmake 2021-07-15 02:00:41.000000000
-0400
++++ USD-21.08/cmake/modules/FindOpenEXR.cmake 1969-12-31 19:00:00.000000000 -0500
+@@ -1,101 +0,0 @@
+-#
+-# Copyright 2016 Pixar
+-#
+-# Licensed under the Apache License, Version 2.0 (the "Apache License")
+-# with the following modification; you may not use this file except in
+-# compliance with the Apache License and the following modification to it:
+-# Section 6. Trademarks. is deleted and replaced with:
+-#
+-# 6. Trademarks. This License does not grant permission to use the trade
+-# names, trademarks, service marks, or product names of the Licensor
+-# and its affiliates, except as required to comply with Section 4(c) of
+-# the License and to reproduce the content of the NOTICE file.
+-#
+-# You may obtain a copy of the Apache License at
+-#
+-#
http://www.apache.org/licenses/LICENSE-2.0
+-#
+-# Unless required by applicable law or agreed to in writing, software
+-# distributed under the Apache License with the above modification is
+-# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+-# KIND, either express or implied. See the Apache License for the specific
+-# language governing permissions and limitations under the Apache License.
+-#
+-
+-find_path(OPENEXR_INCLUDE_DIR
+- OpenEXR/half.h
+-HINTS
+- "${OPENEXR_LOCATION}"
+- "$ENV{OPENEXR_LOCATION}"
+-PATH_SUFFIXES
+- include/
+-DOC
+- "OpenEXR headers path"
+-)
+-
+-if(OPENEXR_INCLUDE_DIR)
+- set(openexr_config_file "${OPENEXR_INCLUDE_DIR}/OpenEXR/OpenEXRConfig.h")
+- if(EXISTS ${openexr_config_file})
+- file(STRINGS
+- ${openexr_config_file}
+- TMP
+- REGEX "#define OPENEXR_VERSION_STRING.*$")
+- string(REGEX MATCHALL "[0-9.]+" OPENEXR_VERSION ${TMP})
+-
+- file(STRINGS
+- ${openexr_config_file}
+- TMP
+- REGEX "#define OPENEXR_VERSION_MAJOR.*$")
+- string(REGEX MATCHALL "[0-9]" OPENEXR_MAJOR_VERSION ${TMP})
+-
+- file(STRINGS
+- ${openexr_config_file}
+- TMP
+- REGEX "#define OPENEXR_VERSION_MINOR.*$")
+- string(REGEX MATCHALL "[0-9]" OPENEXR_MINOR_VERSION ${TMP})
+- endif()
+-endif()
+-
+-foreach(OPENEXR_LIB
+- Half
+- Iex
+- Imath
+- IlmImf
+- IlmThread
+- IlmImfUtil
+- IexMath
+- )
+-
+- # OpenEXR libraries may be suffixed with the version number, so we search
+- # using both versioned and unversioned names.
+- find_library(OPENEXR_${OPENEXR_LIB}_LIBRARY
+- NAMES
+- ${OPENEXR_LIB}-${OPENEXR_MAJOR_VERSION}_${OPENEXR_MINOR_VERSION}
+- ${OPENEXR_LIB}
+- HINTS
+- "${OPENEXR_LOCATION}"
+- "$ENV{OPENEXR_LOCATION}"
+- PATH_SUFFIXES
+- lib/
+- DOC
+- "OPENEXR's ${OPENEXR_LIB} library path"
+- )
+-
+- if(OPENEXR_${OPENEXR_LIB}_LIBRARY)
+- list(APPEND OPENEXR_LIBRARIES ${OPENEXR_${OPENEXR_LIB}_LIBRARY})
+- endif()
+-endforeach(OPENEXR_LIB)
+-
+-# So #include <half.h> works
+-list(APPEND OPENEXR_INCLUDE_DIRS ${OPENEXR_INCLUDE_DIR})
+-list(APPEND OPENEXR_INCLUDE_DIRS ${OPENEXR_INCLUDE_DIR}/OpenEXR)
+-
+-include(FindPackageHandleStandardArgs)
+-find_package_handle_standard_args(OpenEXR
+- REQUIRED_VARS
+- OPENEXR_INCLUDE_DIRS
+- OPENEXR_LIBRARIES
+- VERSION_VAR
+- OPENEXR_VERSION
+-)
+-
+diff -Naur USD-21.08-original/pxr/imaging/hioOpenVDB/CMakeLists.txt
USD-21.08/pxr/imaging/hioOpenVDB/CMakeLists.txt
+--- USD-21.08-original/pxr/imaging/hioOpenVDB/CMakeLists.txt 2021-07-15
02:00:41.000000000 -0400
++++ USD-21.08/pxr/imaging/hioOpenVDB/CMakeLists.txt 2021-08-10 10:39:27.478207730 -0400
+@@ -14,7 +14,7 @@
+ hio
+ tf
+ usd
+- ${OPENEXR_Half_LIBRARY}
++ ${IMATH_LIBRARIES}
+ ${OPENVDB_LIBRARY}
+
+ INCLUDE_DIRS
+diff -Naur USD-21.08-original/pxr/imaging/plugin/hioOiio/CMakeLists.txt
USD-21.08/pxr/imaging/plugin/hioOiio/CMakeLists.txt
+--- USD-21.08-original/pxr/imaging/plugin/hioOiio/CMakeLists.txt 2021-07-15
02:00:41.000000000 -0400
++++ USD-21.08/pxr/imaging/plugin/hioOiio/CMakeLists.txt 2021-08-10 10:39:31.578183423
-0400
+@@ -17,6 +17,7 @@
+ tf
+ ${OIIO_LIBRARIES}
+ ${OPENEXR_LIBRARIES}
++ ${IMATH_LIBRARIES}
+
+ INCLUDE_DIRS
+ ${OIIO_INCLUDE_DIRS}
+diff -Naur USD-21.08-original/pxr/usd/plugin/usdAbc/CMakeLists.txt
USD-21.08/pxr/usd/plugin/usdAbc/CMakeLists.txt
+--- USD-21.08-original/pxr/usd/plugin/usdAbc/CMakeLists.txt 2021-07-15 02:00:41.000000000
-0400
++++ USD-21.08/pxr/usd/plugin/usdAbc/CMakeLists.txt 2021-08-10 11:55:33.840880041 -0400
+@@ -23,15 +23,12 @@
+ usd
+ usdGeom
+ ${ALEMBIC_LIBRARIES}
+- ${OPENEXR_Half_LIBRARY}
+- ${OPENEXR_Imath_LIBRARY}
+- ${OPENEXR_Iex_LIBRARY}
+- ${OPENEXR_IexMath_LIBRARY}
++ ${IMATH_LIBRARIES}
+ ${optionalLibs}
+
+ INCLUDE_DIRS
+ ${ALEMBIC_INCLUDE_DIR}
+- ${OPENEXR_INCLUDE_DIRS}
++ ${IMATH_INCLUDE_DIRS}
+ ${optionalIncludeDirs}
+
+ PRIVATE_CLASSES
diff --git a/usd.spec b/usd.spec
index b803b7d..45dd41d 100644
--- a/usd.spec
+++ b/usd.spec
@@ -43,6 +43,9 @@ Source1: org.open%{name}.%{name}view.desktop
#
https://github.com/PixarAnimationStudios/USD/issues/1387
Patch1: %{srcname}-20.05-soversion.patch
+#
https://github.com/PixarAnimationStudios/USD/issues/1591
+Patch2: USD-21.08-OpenEXR3.patch
+
# Base
BuildRequires: boost-devel
BuildRequires: boost-program-options
@@ -80,7 +83,8 @@ BuildRequires: pkgconfig(OpenColorIO) < 2
%if %{with oiio}
BuildRequires: pkgconfig(OpenImageIO)
%endif
-BuildRequires: pkgconfig(OpenEXR)
+BuildRequires: cmake(OpenEXR)
+BuildRequires: cmake(Imath)
BuildRequires: pkgconfig(Ptex)
%endif
%if %{with alembic}
@@ -221,9 +225,16 @@ chmod +x uic-wrapper
# Fix python3 support
#
https://github.com/PixarAnimationStudios/USD/issues/1419
+
+flags="%{optflags} -Wl,--as-needed -DTBB_SUPPRESS_DEPRECATED_MESSAGES=1" \
+# Patch2 was not good enough to get the include path for Imath everywhere it
+# was needed. Add it globally.
+#
https://github.com/PixarAnimationStudios/USD/issues/1591
+flags="${flags} $(pkgconf --cflags Imath)"
+
%cmake \
- -DCMAKE_CXX_FLAGS_RELEASE="%{optflags} -Wl,--as-needed
-DTBB_SUPPRESS_DEPRECATED_MESSAGES=1" \
- -DCMAKE_C_FLAGS_RELEASE="%{optflags} -Wl,--as-needed
-DTBB_SUPPRESS_DEPRECATED_MESSAGES=1" \
+ -DCMAKE_CXX_FLAGS_RELEASE="${flags}" \
+ -DCMAKE_C_FLAGS_RELEASE="${flags}" \
-DCMAKE_CXX_STANDARD=17 \
-DCMAKE_EXE_LINKER_FLAGS="-pie" \
-DCMAKE_SKIP_RPATH=ON \
commit 0ad70d4ecd4fa08384c0d807c6857ebcc3d336d1
Author: Richard Shaw <hobbes1069(a)gmail.com>
Date: Tue Aug 3 20:48:47 2021 -0500
Move krita to opecolorio1 compat package.
diff --git a/usd.spec b/usd.spec
index e672579..b803b7d 100644
--- a/usd.spec
+++ b/usd.spec
@@ -74,7 +74,8 @@ BuildRequires: pkgconfig(dri)
BuildRequires: pkgconfig(jemalloc)
%endif
%if %{with ocio}
-BuildRequires: pkgconfig(OpenColorIO)
+# usd is not yet compatible with OpenColorIO 2 so use compat package.
+BuildRequires: pkgconfig(OpenColorIO) < 2
%endif
%if %{with oiio}
BuildRequires: pkgconfig(OpenImageIO)