On Aug 24 2007 17:52, Vladimir Nadvornik 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.
What if /srv/ftp and /srv/www were separate mounts?
>
>Do you think that the %fdupes macro should be changed to do this
>automatically?
Jan
--
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]