Hi,
On centos-7 beta, the configure script fails to recognize the g++ compiler.
checking for the C++ compiler vendor... unknown
checking if C and C++ are link compatible... no
**
* It appears that your C++ compiler is unable
This is a bad idea to remove the %{?dist} IMHO.
To generate a generic src.rpm, you should use the following command:
rpmbuild -ts tarball --define 'dist %{nil}'
or
rpmbuild -bs openmpi.spec --define 'dist %{nil}'
This can be put in the main Maikefile:
srpm: tarball_bz2
rpmbuild -ts openmpi