diff --git a/ghc-mustache.spec b/ghc-mustache.spec index 6d9633e..184eafa 100644 --- a/ghc-mustache.spec +++ b/ghc-mustache.spec @@ -23,10 +23,9 @@ Version: 1.0.2 Release: 0 Summary: A mustache template parser library License: BSD-3-Clause -Group: System/Libraries +Group: Development/Languages/Other Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -# Begin cabal-rpm deps: BuildRequires: chrpath BuildRequires: ghc-Cabal-devel BuildRequires: ghc-aeson-devel @@ -51,7 +50,6 @@ BuildRequires: ghc-hspec-devel BuildRequires: ghc-process-devel BuildRequires: ghc-temporary-devel %endif -# End cabal-rpm deps %description Allows parsing and rendering template files with mustache markup. See the @@ -75,22 +73,15 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install - %ghc_fix_dynamic_rpath haskell-mustache - %check -%if %{with tests} -%{cabal} test -%endif - +%cabal_test %post devel %ghc_pkg_recache