diff --git a/ghc-simple-cmd.spec b/ghc-simple-cmd.spec index 829772b..b5d959b 100644 --- a/ghc-simple-cmd.spec +++ b/ghc-simple-cmd.spec @@ -90,6 +90,16 @@ This package provides the Haskell %{pkg_name} profiling library. # End cabal-rpm install +%if 0%{?fedora} < 31 || 0%{?rhel} < 8 +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache +%endif + + %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE