From 9fd5b08f344050c9d367099f813e0f8650a76918 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:27:42 +0800 Subject: [PATCH] BR prof for lib and static for executable --- ghc-bifunctors.spec | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index 20f7cbf..18080bf 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.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 bifunctors @@ -20,20 +20,15 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal# # 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 -BuildRequires: ghc-base-orphans-devel -BuildRequires: ghc-comonad-devel -BuildRequires: ghc-containers-devel -BuildRequires: ghc-tagged-devel -BuildRequires: ghc-template-haskell-devel -BuildRequires: ghc-th-abstraction-devel -BuildRequires: ghc-transformers-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-base-orphans-prof +BuildRequires: ghc-comonad-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-tagged-prof +BuildRequires: ghc-template-haskell-prof +BuildRequires: ghc-th-abstraction-prof +BuildRequires: ghc-transformers-prof %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-hspec-devel @@ -48,6 +43,7 @@ Haskell 98 bifunctors, bifoldables and bitraversables. %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