Re: rpmlib(FileDigests)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 20, 2009 at 5:34 AM, Panu Matilainen
<pmatilai@xxxxxxxxxxxxxxx> wrote:
> 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, thank you: that's exactly where I needed.  One of my RPM
packages is very simple (100% XML files, no executables), so I build
it once on Fedora for use on all RPM systems.



Best regards,
Andrew
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux