Running a command in spec file?

Miroslav Suchý msuchy at redhat.com
Fri Aug 30 07:46:49 UTC 2013


On 08/30/2013 05:56 AM, Dave Johansen wrote:
> But that doesn't work

You mean that it is not executed at all? Then you probably do not have defined macro scl. Which is probably because you 
do not have installed meta-package (devtoolset-1.1-build) in you buildroot.
Note that if you are using buildroot, it will not help you to use BuildRequires as it need to be installed before 
src.rpm is evaluated. So you must modify mock config:
https://fedoraproject.org/wiki/User:Bkabrda/SCLGuidelinesDraft#Building_Packages

-- 
Miroslav Suchy, RHCE, RHCDS
Red Hat, Software Engineer, #brno, #devexp, #fedora-buildsys


More information about the devel mailing list