Description of problem: I'm unable to build a simple metapackage with the following error: File not found: /home/hhorak/rpmbuild/BUILDROOT/scl-foo42-1.0-1.fc21.x86_64/opt/rh/scl-foo42/scl-foo42 See the scl name is included twice file list includes some weird path: %{_scl_scripts}/%{scl} Version-Release number of selected component (if applicable): # rpm -q scl-utils-build scl-utils-build-2.0.1-2.fc21.x86_64 How reproducible: yes Steps to Reproduce: 1. try build meta package Actual results: File not found: /home/hhorak/rpmbuild/BUILDROOT/scl-foo42-1.0-1.fc21.x86_64/opt/rh/scl-foo42/scl-foo42 Expected results: No error Additional info: Imho the following line is simply wrong: --- a/macros.scl-filesystem +++ b/macros.scl-filesystem @@ -4,7 +4,6 @@ %dir %attr(555,root,root) %{_scl_root} %dir %attr(555,root,root) %{_scl_scripts} %{_scl_scripts}/enable -%{_scl_scripts}/%{scl} %{_root_sysconfdir}/scl/modulefiles/%{scl} %{_root_sysconfdir}/scl/prefixes/%scl %{_scl_root}/bin
With scl-utils-2.0 is possible to build only new type of collections (collections with env modules). That's why rpmbuild complains about a missing file. That missing file is environment module. So this is expected behaviour. Request to document building of new collections is in this bug 1180638.
So this is expected behaviour. Closing this bug.
See a related bz#1194181, which proposes to generate at least minimal env. modules config automatically -- simply to not break build of existing meta packages.