diff --git a/ghc-aeson.spec b/ghc-aeson.spec index acda607..0c2b0e2 100644 --- a/ghc-aeson.spec +++ b/ghc-aeson.spec @@ -28,7 +28,6 @@ Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal BuildRequires: ghc-Cabal-devel -# Begin cabal-rpm deps: BuildRequires: ghc-attoparsec-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-containers-devel @@ -58,7 +57,6 @@ BuildRequires: ghc-test-framework-devel BuildRequires: ghc-test-framework-hunit-devel BuildRequires: ghc-test-framework-quickcheck2-devel %endif -# End cabal-rpm deps %description A JSON parsing and encoding library optimized for ease of use and high @@ -106,9 +104,7 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %check -%if %{with tests} -%{cabal} test -%endif +%cabal_test %post devel