ofiwg/libfabric — pull request #338 by pmmccorm (2014-11-19 20:03:21+00:00)
Title: Clean up spec file.

Include missing psm_am.h header in dist tarball.
Don't define %{buildroot}: this is only needed on RPM <= 4.6.
Fix other minor rpmlint errors (currently at 0 on RHEL7, RHEL6.4).

Allow --with options to be specified on rpmbuild command line like:

rpmbuild --with valgrind -ba ... # build with valgrind
rpmbuild --without dlopen -ba ... # build without dlopen -ldl

Allow RPM installation under specified prefix (works like DESTDIR):

rpm --prefix=$HOME/local -ivh ...

Signed-off-by: pmmccorm