From 80f89c3affbd753db6405eeafe5be02b65dd230ea129537a203013c415c9d6ae Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Tue, 6 Nov 2018 14:50:35 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/graphics/openexr?expand=0&rev=16 --- openexr.spec | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/openexr.spec b/openexr.spec index 8ffbd0e..9d4ad13 100644 --- a/openexr.spec +++ b/openexr.spec @@ -19,6 +19,7 @@ # perhaps you want to build against corresponding ilmbase build %define asan_build 0 %define debug_build 0 +%define sonum 24 %global so_suffix -2_3-24 # tests should run at least during local build # but do expect a HUGE number of memory, so beware @@ -41,6 +42,14 @@ BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: pkgconfig(IlmBase) >= 2.2.0 BuildRequires: pkgconfig(zlib) +%if %{asan_build} || %{debug_build} +BuildRequires: ilmbase-debugsource +BuildRequires: libHalf%{sonum}-debuginfo +BuildRequires: libIex%{so_suffix}-debuginfo +BuildRequires: libIexMath%{so_suffix}-debuginfo +BuildRequires: libIlmThread%{so_suffix}-debuginfo +BuildRequires: libImath%{so_suffix}-debuginfo +%endif Obsoletes: OpenEXR <= 1.6.1 Provides: OpenEXR = %{version}