Mailinglist Archive: opensuse-buildservice (287 mails)

< Previous Next >
Re: [opensuse-buildservice] rpmlint problems: double files
  • From: Dirk Stoecker <opensuse@xxxxxxxxxxxx>
  • Date: Wed, 5 Sep 2007 18:39:15 +0200 (CEST)
  • Message-id: <alpine.LNX.0.9999.0709051836400.17693@xxxxxxxxxxxxxxxxx>
On Wed, 5 Sep 2007, Marcus Rueckert wrote:

a) is there already somwhere a script, which replaces duplicate files in
   packages with softlinks?

Not a script but a program: fdupes and a matching maco in
/usr/lib/rpm/suse_macros . But fdupes creates hardlinks, so read the
discussion on opensuse-packagers on fdupes for more info on the problems of
using %fdupes

%fdupes -s %{buildroot}

that would use symlinks

Thanks. It is dangerous and should be used with care, but saves me some work :-)

Thought for the dup-language files it is no solution, or would the hard-links be helpful here? In case of partial extraction would at least one be extracted?

-- ;(PGP key available)
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups