Dominique Leuenberger 2017-05-06 16:30:23 +00:00 committed by Git OBS Bridge
parent 0a14a504cf
commit d9f69b0e26
2 changed files with 13 additions and 3 deletions

View File

@ -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

View File

@ -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 || :