From 99f268471ce595e4045000369ed4ac171b9dfbe1 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Aug 05 2019 10:27:54 +0000 Subject: BR prof for lib and static for executable --- diff --git a/ghc-cabal-doctest.spec b/ghc-cabal-doctest.spec index 274f7ae..cea385e 100644 --- a/ghc-cabal-doctest.spec +++ b/ghc-cabal-doctest.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-1.0.0 +# generated by cabal-rpm-1.0.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name cabal-doctest @@ -17,16 +17,11 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal# # End cabal-rpm sources # Begin cabal-rpm deps: -%if %{with haddock} -BuildRequires: ghc-doc -%endif -%if %{with ghc_prof} -BuildRequires: ghc-prof -%endif BuildRequires: ghc-rpm-macros -BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-directory-devel -BuildRequires: ghc-filepath-devel +BuildRequires: ghc-Cabal-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-directory-prof +BuildRequires: ghc-filepath-prof # End cabal-rpm deps %description @@ -40,6 +35,7 @@ provides the common bits for writing custom Setup.hs See %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