Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package opentimelineio for openSUSE:Factory checked in at 2026-11-16 09:08:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/opentimelineio (Old) and /work/SRC/openSUSE:Factory/.opentimelineio.new.1251 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "opentimelineio" Mon Nov 16 09:08:40 2026 rev:5 rq:1397636 version:0.18.1 Changes: -------- --- /work/SRC/openSUSE:Factory/opentimelineio/opentimelineio.changes 2026-11-11 16:31:21.827060544 +0100 +++ /work/SRC/openSUSE:Factory/.opentimelineio.new.1251/opentimelineio.changes 2026-11-16 09:14:22.946670320 +0100 @@ -1,0 +2,12 @@ +Sat Nov 14 23:05:34 UTC 2026 - Christophe Marin <[email protected]> + +- Create macros.opentimelineio which contains the library soversion + Dependent packages can use '%requires_eq libopentimelineio%{_otio_sonum}' + to require the library they're linking to (boo#1290457) + +------------------------------------------------------------------- +Fri Nov 13 19:15:33 UTC 2026 - Christophe Marin <[email protected]> + +- Drop obsolete version checks + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ opentimelineio.spec ++++++ --- /var/tmp/diff_new_pack.x4RbfQ/_old 2026-11-16 09:14:23.727703064 +0100 +++ /var/tmp/diff_new_pack.x4RbfQ/_new 2026-11-16 09:14:23.728703106 +0100 @@ -16,6 +16,8 @@ # +%define sonum 18 + Name: opentimelineio Version: 0.18.1 Release: 0 @@ -26,12 +28,7 @@ # PATCH-FIX-UPSTREAM Patch0: 0002-CMake-fixes.patch BuildRequires: cmake -%if 0%{?suse_version} == 1500 -BuildRequires: gcc13-PIE -BuildRequires: gcc13-c++ -%else BuildRequires: gcc-c++ -%endif BuildRequires: pkgconfig BuildRequires: cmake(RapidJSON) BuildRequires: pkgconfig(Imath) @@ -41,17 +38,17 @@ OTIO contains information about the order and length of cuts and references to external media. It is not however, a container format for media. -%package -n libopentimelineio18 +%package -n libopentimelineio%{sonum} Summary: API and interchange format for editorial timeline information -%description -n libopentimelineio18 +%description -n libopentimelineio%{sonum} OpenTimelineIO is an interchange format and API for editorial cut information. OTIO contains information about the order and length of cuts and references to external media. It is not however, a container format for media. %package devel Summary: Development files for opentimelineio -Requires: libopentimelineio18 = %{version} +Requires: libopentimelineio%{sonum} = %{version} # opentimelineio doesn't link to imath and will break if the soname changes %requires_eq Imath-devel @@ -63,10 +60,6 @@ rm -r src/deps %build -%if 0%{?suse_version} == 1500 -export CXX=g++-13 -%endif - %cmake \ -DOTIO_FIND_IMATH:BOOL=TRUE \ -DOTIO_FIND_RAPIDJSON:BOOL=TRUE \ @@ -77,12 +70,17 @@ %install %cmake_install +# Export opentimelineio sonum to make sure dependent packages can require the exact version +# they were built with. (https://bugzilla.opensuse.org/1290457) +mkdir -p %{buildroot}%{_rpmmacrodir} +echo "%_otio_sonum %{sonum}" > %{buildroot}%{_rpmmacrodir}/macros.opentimelineio + %check %ctest -%ldconfig_scriptlets -n libopentimelineio18 +%ldconfig_scriptlets -n libopentimelineio%{sonum} -%files -n libopentimelineio18 +%files -n libopentimelineio%{sonum} %license LICENSE.txt %doc README.md %{_libdir}/libopentime.so.* @@ -95,4 +93,5 @@ %{_libdir}/cmake/opentimelineio/ %{_libdir}/libopentime.so %{_libdir}/libopentimelineio.so +%{_rpmmacrodir}/macros.opentimelineio
