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

Re: F10 mock build error: srpm md5 sum mismatch



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


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