| |
@@ -8,6 +8,9 @@
|
| |
URL: http://www.darktable.org/
|
| |
Source0: https://github.com/darktable-org/darktable/releases/download/release-%{version}/darktable-%{version}.tar.xz
|
| |
|
| |
+ Patch0: Fix-OpenMP-4_0-issues-with-GCC9.patch
|
| |
+ Patch1: Fix-build-with-exiv2-0.27.patch
|
| |
+
|
| |
BuildRequires: cairo-devel
|
| |
BuildRequires: clang >= 3.9
|
| |
%if 0%{?el7}
|
| |
@@ -114,8 +117,7 @@
|
| |
from the darktable package.
|
| |
|
| |
%prep
|
| |
- echo directory: %{name}-%{version}
|
| |
- %setup -q -n 'darktable-%{version}'
|
| |
+ %autosetup -p1
|
| |
|
| |
# Remove bundled OpenCL headers.
|
| |
rm -rf src/external/CL
|
| |
@@ -157,9 +159,6 @@
|
| |
-DBUILD_NOISE_TOOLS=ON \
|
| |
-DPROJECT_VERSION:STRING="%{name}-%{version}-%{release}" \
|
| |
-DRAWSPEED_ENABLE_LTO=ON \
|
| |
- %if 0%{?fedora} >= 30
|
| |
- -DUSE_OPENMP=OFF \
|
| |
- %endif
|
| |
%ifarch ppc64le
|
| |
-DUSE_OPENCL=OFF \
|
| |
%endif
|
| |
@@ -210,6 +209,10 @@
|
| |
%{_libexecdir}/darktable/tools/subr.sh
|
| |
|
| |
%changelog
|
| |
+ * Tue Jul 16 2019 Andreas Schneider <asn@redhat.com> - 2.6.2-2
|
| |
+ - resolves: #1728682 - Fix building with OpenMP 4.0 and GCC9
|
| |
+ - Fix building with exiv2 0.27
|
| |
+
|
| |
* Tue Apr 23 2019 Germano Massullo <germano.massullo@gmail.com> - 2.6.2-1
|
| |
- 2.6.2 release
|
| |
- Renamed imagemagick to ImageMagick
|
| |
Fix building with OpenMP 4.0 and exiv2 0.27