expand %ghc_devel_post_postun haskell-platform

This commit is contained in:
Jens Petersen 2013-06-17 16:23:59 +09:00
parent bebea475ae
commit 004b3351e5

View File

@ -292,18 +292,20 @@ fi
mv %{buildroot}%{_datadir}/HUnit-*/* %{buildroot}%{_docdir}/ghc-HUnit-*/
%ghc_devel_post_postun haskell-platform
%post -n ghc-haskell-platform-devel
%ghc_pkg_recache
%postun -n ghc-haskell-platform-devel
%ghc_pkg_recache
%files
%doc packages/%{name}-%{version}/LICENSE
# protect for koji
%if %{defined ghc_devel_files}
%files -n ghc-haskell-platform-devel -f ghc-haskell-platform-devel.files
%doc packages/haskell-platform-%{version}/LICENSE
%endif
%files -n alex