From b5b57d44f85c97bbf46d65428d796c993139ac4b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:29:43 +0800 Subject: [PATCH] BR prof for lib and static for executable --- ghc-hjsmin.spec | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/ghc-hjsmin.spec b/ghc-hjsmin.spec index f906818..ef87eb0 100644 --- a/ghc-hjsmin.spec +++ b/ghc-hjsmin.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 hjsmin @@ -17,19 +17,14 @@ 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-blaze-builder-devel -BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-containers-devel -BuildRequires: ghc-language-javascript-devel -BuildRequires: ghc-optparse-applicative-devel -BuildRequires: ghc-text-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-blaze-builder-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-language-javascript-prof +BuildRequires: ghc-optparse-applicative-prof +BuildRequires: ghc-text-prof # End cabal-rpm deps %description @@ -40,6 +35,7 @@ other syntactic elements, without changing the semantics. %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