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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to