Panu Matilainen pmatilai at laiskiainen.org
Tue Oct 20 11:34:41 UTC 2009

On Thu, 15 Oct 2009, Andrew Ziem wrote:

> I built a simple RPM package on Fedora 11, but an openSUSE user can't
> install it because of a failed dependency:
> error: Failed dependencies:
> rpmlib(FileDigests) <= 4.6.0-1 is needed by bleachbit-bonus-0.7.0beta-1.noarch
> How can I build a portable RPM package?  Is there an option I can add
> to the .spec file?

Fedora 11 default setup uses SHA256 file hashes, which rpm 4.4.x in 
current Suse releases doesn't understand (OpenSUSE factory has rpm 4.7.1 
which can handle these so starting from next release, this shouldn't be an 
issue anymore).

The used hash is build-time configurable macro, so to turn it back to 
compatible-everywhere MD5 hashes you can set %_source_filedigest_algorithm 
and %_binary_filedigest_algorithm macros to value of 1, for example in 
spec just add:

%global _binary_filedigest_algorithm 1
%global _source_filedigest_algorithm 1

 	- Panu -

More information about the Rpm-list mailing list