From d9f69b0e26f33f4c82e1ad1f8d70237560616a4562268b0d23c58e01f7ac45a3 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sat, 6 May 2017 16:30:23 +0000 Subject: [PATCH] Accepting request 492766 from graphics 1 OBS-URL: https://build.opensuse.org/request/show/492766 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/darktable?expand=0&rev=68 --- darktable.changes | 7 +++++++ darktable.spec | 9 ++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/darktable.changes b/darktable.changes index 69a3824..9832582 100644 --- a/darktable.changes +++ b/darktable.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Apr 27 09:36:50 UTC 2017 - davejplater@gmail.com + +- Build with opencl from 42.1 upwards. +- Copy README.openSUSE to documentation dir instead of french pdf. +- Make %fdupes create symlinks. + ------------------------------------------------------------------- Mon Apr 3 08:08:36 UTC 2017 - mrueckert@suse.de diff --git a/darktable.spec b/darktable.spec index e135e47..a48e446 100644 --- a/darktable.spec +++ b/darktable.spec @@ -38,7 +38,7 @@ %bcond_with system_lua %endif -%if 0%{?suse_version} > 1320 || 0%{?rhel_version} > 6 || 0%{?centos_version} > 6 || 0%{?fedora_version} >= 20 || 0%{?el7}%{?fc20}%{?fc21}%{?fc22}%{?fc23}%{?fc24}%{?fc25} +%if 0%{?is_opensuse} == 1 || 0%{?rhel_version} > 6 || 0%{?centos_version} > 6 || 0%{?fedora_version} >= 20 || 0%{?el7}%{?fc20}%{?fc21}%{?fc22}%{?fc23}%{?fc24}%{?fc25} %bcond_without system_opencl %else %bcond_with system_opencl @@ -212,9 +212,10 @@ mkdir -p %{buildroot}%{_defaultdocdir}/%{name}/tools/ %if 0%{?suse_version} mv %{buildroot}%{_datadir}/doc/darktable/* %{buildroot}%{_defaultdocdir}/%{name}/ +rm -rf %{buildroot}%{_datadir}/doc/darktable %endif -cp -av %{S:2} doc/ChangeLog doc/NEWS \ +cp -av %{S:99} doc/ChangeLog doc/NEWS \ doc/thumbnail_color_management.txt \ doc/TODO doc/TRANSLATORS \ %{buildroot}%{_defaultdocdir}/%{name} @@ -222,16 +223,18 @@ cp -av %{S:2} doc/ChangeLog doc/NEWS \ cp -av tools/purge* \ %{buildroot}%{_defaultdocdir}/%{name}/tools/ -%fdupes %{buildroot} +%fdupes -s %{buildroot}%{_datadir} %if 0%{?suse_version} %post +%mime_database_post %desktop_database_post %icon_theme_cache_post %postun %desktop_database_postun %icon_theme_cache_postun +%mime_database_postun %else %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :