From 764cd9b9458a65b6e740a682d0e239f2215de233 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:26:48 +0800 Subject: [PATCH] BR prof for lib and static for executable --- ShellCheck.spec | 36 ++++++++++++++++-------------------- 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/ShellCheck.spec b/ShellCheck.spec index 170a6b1..3622daa 100644 --- a/ShellCheck.spec +++ b/ShellCheck.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 ShellCheck @@ -19,26 +19,21 @@ 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-Diff-devel -BuildRequires: ghc-QuickCheck-devel -BuildRequires: ghc-aeson-devel -BuildRequires: ghc-array-devel -BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-containers-devel -BuildRequires: ghc-deepseq-devel -BuildRequires: ghc-directory-devel -BuildRequires: ghc-filepath-devel -BuildRequires: ghc-mtl-devel -BuildRequires: ghc-parsec-devel -BuildRequires: ghc-process-devel -BuildRequires: ghc-regex-tdfa-devel +BuildRequires: ghc-Diff-prof +BuildRequires: ghc-QuickCheck-prof +BuildRequires: ghc-aeson-prof +BuildRequires: ghc-array-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-deepseq-prof +BuildRequires: ghc-directory-prof +BuildRequires: ghc-filepath-prof +BuildRequires: ghc-mtl-prof +BuildRequires: ghc-parsec-prof +BuildRequires: ghc-process-prof +BuildRequires: ghc-regex-tdfa-prof # End cabal-rpm deps %description @@ -64,6 +59,7 @@ This package provides the Haskell %{name} shared library. %package -n ghc-%{name}-devel Summary: Haskell %{name} library development files Provides: ghc-%{name}-static = %{version}-%{release} +Provides: ghc-%{name}-static%{?_isa} = %{version}-%{release} %if %{defined ghc_version} Requires: ghc-compiler = %{ghc_version} %endif