Hide Forgot
+++ This bug was initially created as a clone of Bug #1029515 +++ +++ This bug was initially created as a clone of Bug #1011360 +++ In %install, after invocation of %scl_install, current directory is %{bulidroot}/%{scl_prefix} which is not common. I think such macro should not alter the current directory. Issue. %prep generate_some_file >foo %install install foo %{buildroot}... The install command fails because "foo" is not found in the current directory. The current workaound is to install files (ex: the "enable" script) before %scl_install, which doesn't seems correct because - before %scl_install the SCL tree doesn't exists yet (requiring to create the %{buildroot}%{_scl_scripts} dir first) - %scl_install is designed to create the SCL tree - after %scl_install, the SCL tree exists, and so, seems the right place to install additional files.
This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request.