From ebd2a55952a2a7fb223cf5785510ed59488d8df1 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sun, 6 Mar 2016 12:04:07 +0100 Subject: [PATCH] - renamed gomp bcond to compiler-agnostic openmp --- darktable.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/darktable.spec b/darktable.spec index 25d29dd..f8bde06 100644 --- a/darktable.spec +++ b/darktable.spec @@ -1,7 +1,7 @@ # # Conditional build: %bcond_without gegl # build without GeGL -%bcond_without gomp # OpenMP threading support +%bcond_without openmp # OpenMP threading support %bcond_without opencl # OpenCL support %bcond_with vte # lighttable mode shell ("file manager" April fool) @@ -31,7 +31,7 @@ BuildRequires: desktop-file-utils BuildRequires: exiv2-devel BuildRequires: flickcurl-devel BuildRequires: fop -%{?with_gomp:BuildRequires: gcc-c++ >= 6:4.3} +%{?with_openmp:BuildRequires: gcc-c++ >= 6:4.3} BuildRequires: gdk-pixbuf2-devel >= 2 %{?with_gegl:BuildRequires: gegl-devel} BuildRequires: gettext @@ -45,7 +45,7 @@ BuildRequires: lcms2-devel >= 2 BuildRequires: lensfun-devel BuildRequires: libglade2-devel BuildRequires: libgnome-keyring-devel -%{?with_gomp:BuildRequires: libgomp-devel} +%{?with_openmp:BuildRequires: libgomp-devel} BuildRequires: libgphoto2-devel >= 2.4.5 BuildRequires: libjpeg-devel BuildRequires: libpng-devel @@ -93,7 +93,7 @@ cd build -DBINARY_PACKAGE_BUILD=ON \ -DPROJECT_VERSION:STRING="%{name}-%{version}-%{release}" \ %{!?with_opencl:-DUSE_OPENCL=OFF} \ - %{!?with_gomp:-DUSE_OPENMP=OFF} + %{!?with_openmp:-DUSE_OPENMP=OFF} %{__make} -- 2.43.0