From 135251f2b556383944b22cee8b66510b046b3aa6e2a199dfa9d9e3de975a6b34 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 13 Jun 2007 22:34:31 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/digikam?expand=0&rev=12 --- digikam.changes | 5 +++++ digikam.spec | 10 ++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/digikam.changes b/digikam.changes index 5ced932..3d99559 100644 --- a/digikam.changes +++ b/digikam.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 13 23:25:37 CEST 2007 - stbinner@suse.de + +- running fdupes makes digikam.rpm 285KB smaller + ------------------------------------------------------------------- Fri Jun 1 08:32:41 CEST 2007 - coolo@suse.de diff --git a/digikam.spec b/digikam.spec index 982882d..f8c8f9d 100644 --- a/digikam.spec +++ b/digikam.spec @@ -14,7 +14,7 @@ Name: digikam BuildRequires: doxygen giflib-devel imlib2-devel kdelibs3-devel kdesdk3-translate BuildRequires: libkexiv2-devel libkipi-devel sqlite-devel sqlite2-devel %if %suse_version > 1020 -BuildRequires: libjasper-devel +BuildRequires: fdupes libjasper-devel %else BuildRequires: libjasper %endif @@ -30,7 +30,7 @@ License: GNU General Public License (GPL) Group: Hardware/Other Summary: A KDE Photo Manager Version: 0.9.1 -Release: 41 +Release: 51 %define rversion %version URL: http://www.digikam.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -133,6 +133,10 @@ echo "NoDisplay=true" >> $RPM_BUILD_ROOT/opt/kde3/share/applications/kde/showfot mkdir -p $RPM_BUILD_ROOT/opt/kde3/share/apps/konqueror/servicemenus install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/opt/kde3/share/apps/konqueror/servicemenus/open_in_digikam.desktop %suse_update_desktop_file $RPM_BUILD_ROOT/opt/kde3/share/apps/konqueror/servicemenus/open_in_digikam.desktop +%if %suse_version > 1020 + +%fdupes -s $RPM_BUILD_ROOT +%endif kde_post_install %find_lang %name @@ -173,6 +177,8 @@ rm -rf $RPM_BUILD_ROOT /opt/kde3/%_lib/*.la %changelog +* Wed Jun 13 2007 - stbinner@suse.de +- running fdupes makes digikam.rpm 285KB smaller * Fri Jun 01 2007 - coolo@suse.de - move kde_post_install * Tue May 15 2007 - coolo@suse.de