From b6f09e747233c01384fb1f1bedd61977d0b3eac905f98140276bb4bc2434464a Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Fri, 18 Mar 2016 19:47:27 +0000 Subject: [PATCH] Accepting request 375075 from home:alarrosa:branches:KDE:Extra - Added an fdupes call to symlink duplicate files installed under /usr/share/. This reduces the installed size in around 20 Mb. OBS-URL: https://build.opensuse.org/request/show/375075 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/scribus?expand=0&rev=8 --- scribus.changes | 6 ++++++ scribus.spec | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/scribus.changes b/scribus.changes index 4d5b06b..1a9292e 100644 --- a/scribus.changes +++ b/scribus.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 18 10:38:55 UTC 2016 - alarrosa@suse.com + +- Added an fdupes call to symlink duplicate files installed + under /usr/share/. This reduces the installed size in around 20 Mb. + ------------------------------------------------------------------- Mon Jan 11 17:26:06 UTC 2016 - plinnell@opensuse.org diff --git a/scribus.spec b/scribus.spec index 319c563..ff2a860 100644 --- a/scribus.spec +++ b/scribus.spec @@ -1,7 +1,7 @@ # # spec file for package scribus # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) Peter Linnell and 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties @@ -95,7 +95,6 @@ for developing scribus plugins. %setup -q - %build # Delete non-free colour swatches (bnc#763586) rm resources/swatches/givelife_colors_license.rtf @@ -143,7 +142,8 @@ install -D -m 0644 %{S:5} %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/%{n # install -m 644 %{buildroot}%{_datadir}/%{name}/icons/%{name}.png %{buildroot}%{_datadir}/pixmaps/ %endif -%fdupes %{buildroot}%{_includedir}/%{name}/ +%fdupes -s %{buildroot}%{_includedir}/%{name}/ +%fdupes -s %{buildroot}%{_datadir} %if 0%{?suse_version} %suse_update_desktop_file -i %{buildroot}%{_datadir}/mimelnk/application/vnd.scribus.desktop Office WordProcessor