Re: Fedora 11 / EPEL 5 MD5 Issue

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

 



Stephen Gallagher wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 07/16/2009 10:32 AM, Rick L. Vinyard, Jr. wrote:
>> I've built the following package on Fedora 10 and 11 in mock without any
>> problems.
>>      http://miskatonic.cs.nmsu.edu/pub/libMini-9.0.3-2.fc11.src.rpm
>>
>> However, when I try and build for EPEL 5 using mock on a F11 machine I
>> get
>> the following in root.log:
>>
>> DEBUG util.py:256:  error: unpacking of archive failed on file
>> /builddir/build/SOURCES/MINI-9.0.3.zip;4a5f3532: cpio: MD5 sum mismatch
>>
>> Any suggestions?
>>
>
> To extract sources from an SRPM:
> rpm2cpio <src.rpm> | cpio --extract
> (Do this in its own directory)
>
> To enable the old checksum (for building RHEL packages):
> rpmbuild -bs --define _source_filedigest_algorithm=1 <spec>
>
> This will recreate the SRPM using an MD5 sum instead of a SHA1 sum.
>
> You can then use that in mock.
>

Excellent. Thanks.

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux