From cffd56b59fd020f24d7d92d1b493b97a4a601957 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:31:54 +0800 Subject: [PATCH] BR prof for lib and static for executable --- ghc-snap-core.spec | 60 ++++++++++++++++++++++------------------------ 1 file changed, 28 insertions(+), 32 deletions(-) diff --git a/ghc-snap-core.spec b/ghc-snap-core.spec index 52665b4..5b41208 100644 --- a/ghc-snap-core.spec +++ b/ghc-snap-core.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 snap-core @@ -25,39 +25,34 @@ Patch1: snap-core-0.9.2.2-portable-flag.patch # 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-HUnit-prof +BuildRequires: ghc-attoparsec-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-case-insensitive-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-directory-prof +BuildRequires: ghc-filepath-prof +BuildRequires: ghc-hashable-prof +BuildRequires: ghc-io-streams-prof +BuildRequires: ghc-lifted-base-prof +BuildRequires: ghc-monad-control-prof +BuildRequires: ghc-mtl-prof +BuildRequires: ghc-network-prof +BuildRequires: ghc-network-uri-prof +BuildRequires: ghc-random-prof +#BuildRequires: ghc-readable-prof +BuildRequires: ghc-regex-posix-prof +BuildRequires: ghc-text-prof +BuildRequires: ghc-time-prof +BuildRequires: ghc-time-locale-compat-prof +BuildRequires: ghc-transformers-prof +BuildRequires: ghc-transformers-base-prof +BuildRequires: ghc-unix-compat-prof +BuildRequires: ghc-unordered-containers-prof +BuildRequires: ghc-vector-prof BuildRequires: chrpath -BuildRequires: ghc-HUnit-devel -BuildRequires: ghc-attoparsec-devel -BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-case-insensitive-devel -BuildRequires: ghc-containers-devel -BuildRequires: ghc-directory-devel -BuildRequires: ghc-filepath-devel -BuildRequires: ghc-hashable-devel -BuildRequires: ghc-io-streams-devel -BuildRequires: ghc-lifted-base-devel -BuildRequires: ghc-monad-control-devel -BuildRequires: ghc-mtl-devel -BuildRequires: ghc-network-devel -BuildRequires: ghc-network-uri-devel -BuildRequires: ghc-random-devel -#BuildRequires: ghc-readable-devel -BuildRequires: ghc-regex-posix-devel -BuildRequires: ghc-text-devel -BuildRequires: ghc-time-devel -BuildRequires: ghc-time-locale-compat-devel -BuildRequires: ghc-transformers-base-devel -BuildRequires: ghc-transformers-devel -BuildRequires: ghc-unix-compat-devel -BuildRequires: ghc-unordered-containers-devel -BuildRequires: ghc-vector-devel %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-deepseq-devel @@ -78,6 +73,7 @@ the Snap framework. %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