Re: Building EPEL Packages

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

 



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

Attachment: pgpOR9ht6gti7.pgp
Description: PGP signature

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

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux