diff --git a/mvapich2.spec b/mvapich2.spec index 54b1a8f..708fc7b 100644 --- a/mvapich2.spec +++ b/mvapich2.spec @@ -444,7 +444,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/rpm if [ "$1" = "0" ]; then /usr/bin/mpi-selector --unregister %{name}%{?pack_suff} --yes # Deregister the default if we are uninstalling it - if [ "$(/usr/bin/mpi-selector --system --query)" = "%{name}%{?pack_suff}"]; then + if [ "$(/usr/bin/mpi-selector --system --query)" = "%{name}%{?pack_suff}" ]; then /usr/bin/mpi-selector --system --unset --yes fi fi