From bf028296b8b4f20970123cc0d31d82635f45c2a1 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:32:17 +0800 Subject: [PATCH] BR prof for lib and static for executable --- ghc-tf-random.spec | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/ghc-tf-random.spec b/ghc-tf-random.spec index 7b3ce00..55c35e5 100644 --- a/ghc-tf-random.spec +++ b/ghc-tf-random.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 tf-random @@ -20,16 +20,11 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.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 -BuildRequires: ghc-primitive-devel -BuildRequires: ghc-random-devel -BuildRequires: ghc-time-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-primitive-prof +BuildRequires: ghc-random-prof +BuildRequires: ghc-time-prof # End cabal-rpm deps %description @@ -68,6 +63,7 @@ in mind. %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