diff --git a/ghc-generics-sop.spec b/ghc-generics-sop.spec index 2c62a0a..1ea3b6f 100644 --- a/ghc-generics-sop.spec +++ b/ghc-generics-sop.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-1.0.0 --subpackage +# generated by cabal-rpm-1.0.1 --subpackage # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name generics-sop @@ -7,6 +7,8 @@ %global sopcore sop-core-0.4.0.0 %global subpkgs %{sopcore} +%bcond_without tests + Name: ghc-%{pkg_name} Version: 0.4.0.1 # can only be reset when all subpkgs bumped @@ -22,16 +24,11 @@ Source1: https://hackage.haskell.org/package/%{sopcore}/%{sopcore}.tar.gz # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel -%if %{with haddock} -BuildRequires: ghc-doc -%endif -%if %{with ghc_prof} -BuildRequires: ghc-prof -%endif BuildRequires: ghc-rpm-macros-extra +BuildRequires: ghc-base-prof +#BuildRequires: ghc-sop-core-prof +BuildRequires: ghc-template-haskell-prof BuildRequires: chrpath -#BuildRequires: ghc-sop-core-devel -BuildRequires: ghc-template-haskell-devel # End cabal-rpm deps %description @@ -72,6 +69,7 @@ Workshop on Generic Programming (WGP) 2014. . %package devel Summary: Haskell %{pkg_name} library development files Provides: %{name}-static = %{version}-%{release} +Provides: %{name}-static%{?_isa} = %{version}-%{release} %if %{defined ghc_version} Requires: ghc-compiler = %{ghc_version} %endif @@ -130,6 +128,10 @@ This package provides the Haskell %{pkg_name} profiling library. # End cabal-rpm install +%check +%cabal_test + + %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE