On 22 June 2017 at 12:54, Neal Gompa <ngomp...@gmail.com> wrote:
> On Wed, Jun 21, 2017 at 10:25 PM, Nick Coghlan <ncogh...@gmail.com> wrote:
>> 1. How to modify a package to explicitly declare it as "Python 2 only"
>> (and the need for a "BuildRequires: epel-rpm-macros" to reliably get
>> access to the versioned Python macros on EL systems)
>
> This is not necessary, as EPEL buildroot pulls it in automatically.

EPEL itself does, but adding the build requires means that you'll get
a dependency error if they're missing, rather than the cryptic "fg:
job control not found" error that bash reports when RPM lets an
unknown macro through to the shell. It also means that you just need
to have EPEL enabled for a build to work, rather than making
assumptions about the buildroot configuration.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to