[scl.org] Setting SCL RPM build options in COPR?

Nick Coghlan ncoghlan at redhat.com
Mon Sep 18 05:29:58 UTC 2017


Using RPM List Builder, I have a recipe for bootstrapping the initial
set of sclo-python RPMs locally in mock:
https://github.com/ncoghlan/pyscl-devel/

Before building that in the CentOS build system, I'm aiming to first
do a preview build in COPR:
https://copr.fedorainfracloud.org/coprs/ncoghlan/sclo-python-preview/

However, I've hit a problem in translating the local mock build
command into a copr-cli build command, which is that the local builds
are relying on the ability to pass in arbitrary RPM build options to
specify the right settings for "scl" and "vendorscl".

As far as I can tell, that isn't going to work for COPR or CBS, since
they expect to be able to just build the component as is, and don't
offer the ability to configure the build step.

So I have two questions:

1. Have I missed something, and it's actually possible to pass extra
RPM build options for COPR builds? (it would make sense to me that I
can't - the build isn't going to very repeatable if I can run it with
different non-default settings each time)

2. Assuming I haven't missed anything, how do the *default* values for
"scl" and "vendorscl" actually get set?

Cheers,
Nick.

-- 
Nick Coghlan
Red Hat Platform Engineering, Brisbane




More information about the SCLorg mailing list