[Users] Proposal packaging Zimlets/Extensions via OS repos using RPM/DEB
David Sommerseth
dazo at eurephia.org
Mon Apr 18 21:43:11 CEST 2016
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 18/04/16 21:31, Quanah Gibson-Mount wrote:
>> For building the RPMs ... I don't know what kind of technologies have
>> been considered or chosen. But I highly recommend to look into mock
>> [1], which gives you great control of the end result. Fedora, Fedora
>> EPEL and RHEL is built using mock under the hood. And the big plus is,
>> if you have a working rpmbuild routine moving to mock is a no brainer.
>
> Hi David,
>
> I've no objection to using Mock as long as it is present in RHEL6.
It is. I have used mock on SL6 and RHEL6 to build a few internal YUM/RPM
repositories. Mock ensures that all builds are done in clean buildroots
with a predictable set of packages, hence you don't get into dependency
surprises very easily.
IIRC, enable Fedora EPEL and do 'yum install mock' .... then have a look at
the profiles in /etc/mock .... and kick off a build like this:
mock -r $PROFILE --rebuild /path/to/src.rpm
Then sit back and wait for the brewed RPM to be served in /var/lib/mock
David S.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iEYEARECAAYFAlcVOM8ACgkQDC186MBRfro1hACdEEQlBJ5RU6EQSmcRemaFA6mD
I6QAn1IU4neU6tcCnwqvMUR/6hwUGqYy
=7XDY
-----END PGP SIGNATURE-----
More information about the Users
mailing list