Hello community, here is the log from the commit of package fdupes checked in at Thu Sep 13 18:41:19 CEST 2007. -------- --- fdupes/fdupes.changes 2007-05-15 22:53:13.000000000 +0200 +++ /mounts/work_src_done/STABLE/fdupes/fdupes.changes 2007-09-06 18:41:59.903357000 +0200 @@ -1,0 +2,10 @@ +Thu Sep 6 18:41:37 CEST 2007 - mls@suse.de + +- do not hardlink empty files in %fdupes macro + +------------------------------------------------------------------- +Wed Sep 5 15:44:52 CEST 2007 - nadvornik@suse.cz + +- support filenames with spaces in %fdupes macro [#307727] + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fdupes.spec ++++++ --- /var/tmp/diff_new_pack.M27378/_old 2007-09-13 18:41:09.000000000 +0200 +++ /var/tmp/diff_new_pack.M27378/_new 2007-09-13 18:41:09.000000000 +0200 @@ -15,7 +15,7 @@ Group: Productivity/Archiving/Compression Summary: Identifying or deleting duplicate files Version: 1.40 -Release: 19 +Release: 42 License: X11/MIT Source0: %name-%{version}.tar.bz2 Source1: macros.fdupes @@ -55,6 +55,10 @@ /etc/rpm %changelog +* Thu Sep 06 2007 - mls@suse.de +- do not hardlink empty files in %%fdupes macro +* Wed Sep 05 2007 - nadvornik@suse.cz +- support filenames with spaces in %%fdupes macro [#307727] * Tue May 15 2007 - coolo@suse.de - add an RPM macro to make use of it in spec files * Thu Nov 16 2006 - dmueller@suse.de ++++++ macros.fdupes ++++++ --- fdupes/macros.fdupes 2007-05-16 09:23:05.000000000 +0200 +++ /mounts/work_src_done/STABLE/fdupes/macros.fdupes 2007-09-06 18:43:34.094695000 +0200 @@ -1,16 +1,23 @@ %fdupes(s) \ - symlinks=0; \ - %{-s:symlinks=1;} \ - fdupes -q -r -1 %1 | \ - while read target rest; do \ - for f in $rest; do \ - if test "$symlinks" = 1; then \ - ln -sf "${target/$RPM_BUILD_ROOT/}" "$f"; \ + _target=""; \ + _symlinks=0; \ + %{-s:_symlinks=1;} \ + fdupes -q -n -r %1 | \ + while read _file; do \ + if test -z "$_target" ; then \ + _target="$_file"; \ + else \ + if test -z "$_file" ; then \ + _target=""; \ + continue ; \ + fi ; \ + if test "$_symlinks" = 1; then \ + ln -sf "${_target#%{buildroot}}" "$_file"; \ else \ - ln -f "$target" "$f"; \ + ln -f "$_target" "$_file"; \ fi ;\ - done ;\ -done \ + fi ; \ + done \ %{nil} ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de