F10 mock build error: srpm md5 sum mismatch

Rahul Sundaram sundaram at fedoraproject.org
Sun Jul 26 00:19:46 UTC 2009


On 07/26/2009 05:12 AM, Clodoaldo Pinto Neto wrote:
> Running Fedora 10. Two source rpms from fc11 with md5 sum mismatch:
> 
> $ mock -r epel-5-x86_64 subversion-1.6.1-4.fc11.src.rpm
> ERROR: Exception(subversion-1.6.1-4.fc11.src.rpm)
> Config(epel-5-x86_64) 0 minutes 19 seconds

Fedora 11 has switched to using SHA256 and that's why. Build using

rpmbuild --define "_source_filedigest_algorithm md5"  --define
"_binary_filedigest_algorithm md5" <specfile>

You can set that macros in ~/.rpmmacros as well.

Rahul




More information about the fedora-list mailing list