[Fedora-packaging] Building EPEL Packages

Todd Zullinger tmz at pobox.com
Thu Apr 8 15:42:22 UTC 2010


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/packaging/attachments/20100408/63bb5972/attachment.bin 


More information about the packaging mailing list