Le 28/08/2013 18:09, Dave Johansen a écrit :
> I'm trying to make a spec file that uses the devtoolset in RHEL 5/6 (
> rhn.redhat.com/errata/RHEA-2013-0175.html ) but I haven't been able
> to figure out how to enable devtoolset in the spec file. If I run 'scl
> enable devtoolset-1.1 bash' before doing rpmbuild it works, but how do
> I run a command like that in the spec file?

In %build:

. /opt/rh/<devtoolset-or-sclname>/enable


Remi.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to