Mailinglist Archive: opensuse-packaging (102 mails)

< Previous Next >
Re: [opensuse-packaging] %fdupes
  • From: Stephan Kulow <coolo@xxxxxxx>
  • Date: Sun, 2 Sep 2007 16:22:58 +0200
  • Message-id: <200709021622.59587.coolo@xxxxxxx>
Am Friday 24 August 2007 schrieb Vladimir Nadvornik:
> On středa 16 květen 2007, Stephan Kulow wrote:
> > It's pretty simple: BuildRequire fdupes and then use "%fdupes
> > $RPM_BUILD_ROOT" in your install section. This will check for duplicated
> > files and make them hardlink. Just be careful that these duplicated files
> > do not end up in different subpackages - I haven't tried what rpm does in
> > that case.
>
> There seems to be another problem. %fdupes can create hardlinks between
> files that would finally end on different partitions.
> See
> https://bugzilla.novell.com/show_bug.cgi?id=304167
>
> Using something like
> %fdupes $RPM_BUILD_ROOT/usr
> %fdupes $RPM_BUILD_ROOT/srv
> ...
>
> fixes the problem.
>
> Do you think that the %fdupes macro should be changed to do this
> automatically?
>
I think it would be logical to make this automatic.

Greetings, Stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups