From 612d2ddc2be472bf1afa82d107a28a731e0ebaec Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:33:11 +0800 Subject: [PATCH] BR prof for lib and static for executable --- ghc-yaml.spec | 42 +++++++++++++++++++----------------------- 1 file changed, 19 insertions(+), 23 deletions(-) diff --git a/ghc-yaml.spec b/ghc-yaml.spec index d2764a9..132c295 100644 --- a/ghc-yaml.spec +++ b/ghc-yaml.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 yaml @@ -24,30 +24,25 @@ Source1: https://hackage.haskell.org/package/%{libyaml}/%{libyaml}.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-aeson-prof +BuildRequires: ghc-attoparsec-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-conduit-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-directory-prof +BuildRequires: ghc-filepath-prof +#BuildRequires: ghc-libyaml-prof +BuildRequires: ghc-mtl-prof +BuildRequires: ghc-resourcet-prof +BuildRequires: ghc-scientific-prof +BuildRequires: ghc-template-haskell-prof +BuildRequires: ghc-text-prof +BuildRequires: ghc-transformers-prof +BuildRequires: ghc-unordered-containers-prof +BuildRequires: ghc-vector-prof BuildRequires: chrpath -BuildRequires: ghc-aeson-devel -BuildRequires: ghc-attoparsec-devel -BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-conduit-devel -BuildRequires: ghc-containers-devel -BuildRequires: ghc-directory-devel -BuildRequires: ghc-filepath-devel -#BuildRequires: ghc-libyaml-devel -BuildRequires: ghc-mtl-devel -BuildRequires: ghc-resourcet-devel -BuildRequires: ghc-scientific-devel -BuildRequires: ghc-template-haskell-devel -BuildRequires: ghc-text-devel -BuildRequires: ghc-transformers-devel -BuildRequires: ghc-unordered-containers-devel -BuildRequires: ghc-vector-devel %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-base-compat-devel @@ -71,6 +66,7 @@ interface based around the JSON datatypes provided by the 'aeson' package. %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