FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Packaging

 
 
LinkBack Thread Tools
 
Old 04-08-2010, 06:27 AM
Matthias Runge
 
Default Building EPEL Packages

Hi,

just trying to do a scratch build of a fedora-package for EPEL 5.

This fails, because MD5 sum does not match. Is there a known workaround
for this? Is there a way to rebuild a Fedora-SRPM EPEL 5 conformant?

DEBUG util.py:256: error: unpacking of archive failed on file
/builddir/build/SOURCES/django-lint-0.13.tar.bz2;4bbc65bb: cpio: MD5 sum
mismatch
DEBUG util.py:319: Child returncode was: 1

Installing Fedora SRPMs on RHEL requires the --nomd5 option for rpm-command.

Thanks,
Matthias
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 
Old 04-08-2010, 06:36 AM
Dan Horák
 
Default Building EPEL Packages

Matthias Runge p*še v Čt 08. 04. 2010 v 08:27 +0200:
> Hi,
>
> just trying to do a scratch build of a fedora-package for EPEL 5.
>
> This fails, because MD5 sum does not match. Is there a known workaround
> for this? Is there a way to rebuild a Fedora-SRPM EPEL 5 conformant?
>
> DEBUG util.py:256: error: unpacking of archive failed on file
> /builddir/build/SOURCES/django-lint-0.13.tar.bz2;4bbc65bb: cpio: MD5 sum
> mismatch
> DEBUG util.py:319: Child returncode was: 1
>
> Installing Fedora SRPMs on RHEL requires the --nomd5 option for rpm-command.

use rpmbuild-md5 when preparing SRPMs for EPEL


Dan


--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 
Old 04-08-2010, 07:50 AM
Matthias Runge
 
Default Building EPEL Packages

Dan,

thank you, that's what I was looking for.

Matthias


On 08/04/10 08:36, Dan Horák wrote:
> Matthias Runge p*še v Čt 08. 04. 2010 v 08:27 +0200:
>> Hi,
>>
>> just trying to do a scratch build of a fedora-package for EPEL 5.
>>
>> This fails, because MD5 sum does not match. Is there a known workaround
>> for this? Is there a way to rebuild a Fedora-SRPM EPEL 5 conformant?
>>
>> DEBUG util.py:256: error: unpacking of archive failed on file
>> /builddir/build/SOURCES/django-lint-0.13.tar.bz2;4bbc65bb: cpio: MD5 sum
>> mismatch
>> DEBUG util.py:319: Child returncode was: 1
>>
>> Installing Fedora SRPMs on RHEL requires the --nomd5 option for rpm-command.
>
> use rpmbuild-md5 when preparing SRPMs for EPEL
>
>
> Dan
>
>
> --
> packaging mailing list
> packaging@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/packaging
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 
Old 04-08-2010, 03:42 PM
Todd Zullinger
 
Default Building EPEL Packages

Dan Horák wrote:
> Matthias Runge p*še v Čt 08. 04. 2010 v 08:27 +0200:
[...]
>> Installing Fedora SRPMs on RHEL requires the --nomd5 option for
>> rpm-command.
>
> use rpmbuild-md5 when preparing SRPMs for EPEL

I also find it handy to have the following snippet in ~/.cvspkgsrc.
This allows me to check out any package from Fedora's CVS and use
'make srpm-md5' in an F-* branch and get a suitable srpm for EL-*.

# use this to build an srpm locally, with md5 checksums
RPM_MD5_OPTS = --define "_source_filedigest_algorithm md5"
--define "_binary_filedigest_algorithm md5"
srpm-md5: sources $(TARGETS)
$(RPM_WITH_DIRS) $(RPM_MD5_OPTS) --nodeps -bs $(SPECFILE)

--
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~
People are crazy and times are strange
I'm locked in tight, I'm out of range
I used to care, but things have changed

--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 

Thread Tools




All times are GMT. The time now is 04:47 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org