Created attachment 912427 [details] avoid build steps of mpi subpackages if not requested Description of problem: i had to rebuild the hdf5 package and to speed up things i disabled in the spec file the mpi support. Now the build fails in the loop for mpi in %{mpi_list} because now mpi_list is not defined and mpi is set to '%{mpi_list}' Version-Release number of selected component (if applicable): hdf5-1.8.11-6.fc20.x86_64 How reproducible: Steps to Reproduce: 1. set in the hdf5.spec file %global with_mpich 0 %global with_openmpi 0 2. rpmbuild -ba hdf5.spec 3. Actual results: build of packages fails Expected results: packages are build Additional info: to succeed i put some %if around the mpi loop.
Thanks. I just used %{?mpi_list}.