Hello community, here is the log from the commit of package OpenColorIO for openSUSE:Factory checked in at 2020-01-13 22:23:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/OpenColorIO (Old) and /work/SRC/openSUSE:Factory/.OpenColorIO.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "OpenColorIO" Mon Jan 13 22:23:30 2020 rev:7 rq:762899 version:1.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/OpenColorIO/OpenColorIO.changes 2019-04-30 13:02:16.158136761 +0200 +++ /work/SRC/openSUSE:Factory/.OpenColorIO.new.6675/OpenColorIO.changes 2020-01-13 22:23:32.034574155 +0100 @@ -1,0 +2,11 @@ +Fri Jan 10 11:32:55 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Use python3 to produce the package due to python2 removal + +------------------------------------------------------------------- +Wed Jan 8 11:03:07 UTC 2020 - Dave Plater <davejpla...@gmail.com> + +- Work around yaml-cpp's bad abi versioning by requiring the version + it was built against. See boo#1160171 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ OpenColorIO.spec ++++++ --- /var/tmp/diff_new_pack.AIMi2S/_old 2020-01-13 22:23:33.106574653 +0100 +++ /var/tmp/diff_new_pack.AIMi2S/_new 2020-01-13 22:23:33.118574658 +0100 @@ -1,8 +1,8 @@ # # spec file for package OpenColorIO # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. -# Copyright (c) 2019 Asterios Dramis <asterios.dra...@gmail.com>. +# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2020 Asterios Dramis <asterios.dra...@gmail.com>. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,6 +17,9 @@ # +# Ensure that libyaml-cpp version is the one that is built against +# See boo#1160171 +%define yamlrequires %(rpm -q --requires yaml-cpp-devel | grep libyaml) %define so_ver 1 Name: OpenColorIO Version: 1.1.1 @@ -24,7 +27,7 @@ Summary: Color Management Solution Geared Towards Motion Picture Production License: BSD-3-Clause AND GPL-2.0-or-later Group: Productivity/Graphics/Other -URL: http://opencolorio.org/ +URL: https://opencolorio.org/ ###### ###### # The package contains the below non OSS licensed files (see bnc#821203) @@ -63,11 +66,11 @@ BuildRequires: libboost_headers-devel BuildRequires: liblcms2-devel BuildRequires: pkgconfig -BuildRequires: python-MarkupSafe -BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: python3-MarkupSafe +BuildRequires: python3-devel +BuildRequires: python3-setuptools BuildRequires: tinyxml-devel -BuildRequires: yaml-cpp-devel >= 0.5.0 +BuildRequires: pkgconfig(yaml-cpp) >= 0.5.0 Recommends: %{name}-doc = %{version} %description @@ -98,6 +101,7 @@ %package -n libOpenColorIO%{so_ver} Summary: Complete Color Management Solution Geared Towards Motion Picture Production Group: System/Libraries +Requires: %{yamlrequires} %description -n libOpenColorIO%{so_ver} OpenColorIO (OCIO) is a color management solution geared towards motion picture @@ -136,6 +140,7 @@ %build %cmake \ + -DPYTHON=%{_bindir}/python3 \ -DOCIO_BUILD_STATIC=OFF \ -DOCIO_BUILD_DOCS=ON \ -DOCIO_BUILD_TESTS=ON \ @@ -146,9 +151,8 @@ -DUSE_EXTERNAL_YAML=ON \ -DUSE_EXTERNAL_TINYXML=ON \ -DUSE_EXTERNAL_LCMS=ON \ - -DUSE_EXTERNAL_SETUPTOOLS=ON \ - .. -%make_jobs + -DUSE_EXTERNAL_SETUPTOOLS=ON +%cmake_build %install %cmake_install @@ -184,7 +188,7 @@ %{_libdir}/libOpenColorIO.so.%{so_ver}* %files -n python-OpenColorIO -%{python_sitearch}/PyOpenColorIO.so +%{python3_sitearch}/PyOpenColorIO.so %files -n python-OpenColorIO-devel %{_includedir}/PyOpenColorIO/