On Wed, Sep 05, 2007 at 06:39:15PM +0200, Dirk Stoecker wrote:
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?
In case of Apache, symlinks may or may not work. It depends on the configuration, and how the files are opened from PHP. Peter -- "WARNING: This bug is visible to non-employees. Please be respectful!" SUSE LINUX Products GmbH Research & Development