version ghc-pkg in %ghc_pkg_recache

this will work for ghc784 where ghc_override is defined but not ghc784-PKG
This commit is contained in:
Jens Petersen 2015-03-08 14:41:30 +09:00
parent fb48383d9f
commit d1251119aa

View File

@ -168,7 +168,7 @@ done\
%endif\
%{nil}
%ghc_pkg_recache %{_bindir}/ghc-pkg recache --no-user-package-db || :
%ghc_pkg_recache %{_bindir}/ghc-pkg-%{ghc_version} recache --no-user-package-db || :
# - without_hscolour, without_testsuite, and ghc_bootstrapping
# need to be set locally in the spec file