From dea661fe6c1baf83e98a64cb1c19353e8cc72ddc Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Aug 05 2019 10:31:38 +0000 Subject: BR prof for lib and static for executable --- diff --git a/ghc-servant.spec b/ghc-servant.spec index ca99a04..45a363b 100644 --- a/ghc-servant.spec +++ b/ghc-servant.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 servant @@ -25,33 +25,28 @@ Source1: https://hackage.haskell.org/package/%{singletonbool}/%{singleton # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-cabal-doctest-devel -%if %{with haddock} -BuildRequires: ghc-doc -%endif -%if %{with ghc_prof} -BuildRequires: ghc-prof -%endif BuildRequires: ghc-rpm-macros-extra +BuildRequires: ghc-QuickCheck-prof +BuildRequires: ghc-aeson-prof +BuildRequires: ghc-attoparsec-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-base-compat-prof +BuildRequires: ghc-bifunctors-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-case-insensitive-prof +BuildRequires: ghc-http-api-data-prof +BuildRequires: ghc-http-media-prof +BuildRequires: ghc-http-types-prof +BuildRequires: ghc-mmorph-prof +BuildRequires: ghc-mtl-prof +BuildRequires: ghc-network-uri-prof +#BuildRequires: ghc-singleton-bool-prof +BuildRequires: ghc-string-conversions-prof +BuildRequires: ghc-tagged-prof +BuildRequires: ghc-text-prof +BuildRequires: ghc-transformers-prof +BuildRequires: ghc-vault-prof BuildRequires: chrpath -BuildRequires: ghc-QuickCheck-devel -BuildRequires: ghc-aeson-devel -BuildRequires: ghc-attoparsec-devel -BuildRequires: ghc-base-compat-devel -BuildRequires: ghc-bifunctors-devel -BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-case-insensitive-devel -BuildRequires: ghc-http-api-data-devel -BuildRequires: ghc-http-media-devel -BuildRequires: ghc-http-types-devel -BuildRequires: ghc-mmorph-devel -BuildRequires: ghc-mtl-devel -BuildRequires: ghc-network-uri-devel -#BuildRequires: ghc-singleton-bool-devel -BuildRequires: ghc-string-conversions-devel -BuildRequires: ghc-tagged-devel -BuildRequires: ghc-text-devel -BuildRequires: ghc-transformers-devel -BuildRequires: ghc-vault-devel %if %{with tests} BuildRequires: ghc-doctest-devel BuildRequires: ghc-hspec-devel @@ -73,6 +68,7 @@ CHANGELOG>. %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