Building RPMs
Adam Bishop
Adam.Bishop at jisc.ac.uk
Fri Jul 22 11:35:49 CEST 2016
On 22 Jul 2016, at 10:28, Peter Lambrechtsen <peter at crypt.nz> wrote:
> If it were me I would have a few versions of the spec file.
> Freeradius-rhelcentos.spec
> Freeradius-rhelcentosepel.spec
It's not needed - rpmbuild accepts feature flags.
e.g.:
...
%if %{with epel}
BuildRequires: epel-release
%endif
...
$ rpmbuild -bs freeradius.spec --with epel
Regards,
Adam Bishop
gpg: 0x6609D460
jisc.ac.uk
Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.
Jisc Services Limited is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under company number 2881024, VAT number GB 197 0632 86. The registered office is: One Castle Park, Tower Hill, Bristol BS2 0JA. T 0203 697 5800.
More information about the Freeradius-Devel
mailing list