Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Packaging (http://www.linux-archive.org/fedora-packaging/)
-   -   Building EPEL Packages (http://www.linux-archive.org/fedora-packaging/353571-building-epel-packages.html)

Matthias Runge 04-08-2010 06:27 AM

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

Dan Horák 04-08-2010 06:36 AM

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

Matthias Runge 04-08-2010 07:50 AM

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

Todd Zullinger 04-08-2010 03:42 PM

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


All times are GMT. The time now is 07:16 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.