From 6b0f8ccb64afb3ba8a4a51a2d074590c08f4d654 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:29:08 +0800 Subject: [PATCH] BR prof for lib and static for executable --- ghc-filestore.spec | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/ghc-filestore.spec b/ghc-filestore.spec index e4a8967..41623f8 100644 --- a/ghc-filestore.spec +++ b/ghc-filestore.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 filestore @@ -19,25 +19,20 @@ 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-bytestring-devel -BuildRequires: ghc-containers-devel -BuildRequires: ghc-directory-devel -BuildRequires: ghc-filepath-devel -BuildRequires: ghc-old-locale-devel -BuildRequires: ghc-parsec-devel -BuildRequires: ghc-process-devel -BuildRequires: ghc-split-devel -BuildRequires: ghc-time-devel -BuildRequires: ghc-utf8-string-devel -BuildRequires: ghc-xml-devel +BuildRequires: ghc-Diff-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-directory-prof +BuildRequires: ghc-filepath-prof +BuildRequires: ghc-old-locale-prof +BuildRequires: ghc-parsec-prof +BuildRequires: ghc-process-prof +BuildRequires: ghc-split-prof +BuildRequires: ghc-time-prof +BuildRequires: ghc-utf8-string-prof +BuildRequires: ghc-xml-prof %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-mtl-devel @@ -53,6 +48,7 @@ Mercurial modules are provided, and other VCSs or databases could be added. %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