From 78637d1b79489f0dda21d1b1e06866f5356fa0e4 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:32:20 +0800 Subject: [PATCH] BR prof for lib and static for executable --- ghc-th-lift-instances.spec | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/ghc-th-lift-instances.spec b/ghc-th-lift-instances.spec index a898bdb..9e3610a 100644 --- a/ghc-th-lift-instances.spec +++ b/ghc-th-lift-instances.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 th-lift-instances @@ -19,18 +19,13 @@ 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-bytestring-devel -BuildRequires: ghc-containers-devel -BuildRequires: ghc-template-haskell-devel -BuildRequires: ghc-text-devel -BuildRequires: ghc-vector-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-template-haskell-prof +BuildRequires: ghc-text-prof +BuildRequires: ghc-vector-prof %if %{with tests} BuildRequires: ghc-QuickCheck-devel %endif @@ -44,6 +39,7 @@ provides orphan instances for containers, text, bytestring and vector. %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