From efb541ca4e5c8dfd601a75dca7d8d70532180f9b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:29:30 +0800 Subject: [PATCH] BR prof for lib and static for executable --- ghc-hackage-security.spec | 48 ++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 26 deletions(-) diff --git a/ghc-hackage-security.spec b/ghc-hackage-security.spec index 09af611..9801309 100644 --- a/ghc-hackage-security.spec +++ b/ghc-hackage-security.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 hackage-security @@ -19,32 +19,27 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal# # End cabal-rpm sources # Begin cabal-rpm deps: -%if %{with haddock} -BuildRequires: ghc-doc -%endif -%if %{with ghc_prof} -BuildRequires: ghc-prof -%endif BuildRequires: ghc-rpm-macros -BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-base16-bytestring-devel -BuildRequires: ghc-base64-bytestring-devel -BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-containers-devel -BuildRequires: ghc-cryptohash-sha256-devel -BuildRequires: ghc-directory-devel -BuildRequires: ghc-ed25519-devel -BuildRequires: ghc-filepath-devel -BuildRequires: ghc-mtl-devel -BuildRequires: ghc-network-devel -BuildRequires: ghc-network-uri-devel -BuildRequires: ghc-parsec-devel -BuildRequires: ghc-pretty-devel -BuildRequires: ghc-tar-devel -BuildRequires: ghc-template-haskell-devel -BuildRequires: ghc-time-devel -BuildRequires: ghc-transformers-devel -BuildRequires: ghc-zlib-devel +BuildRequires: ghc-Cabal-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-base16-bytestring-prof +BuildRequires: ghc-base64-bytestring-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-cryptohash-sha256-prof +BuildRequires: ghc-directory-prof +BuildRequires: ghc-ed25519-prof +BuildRequires: ghc-filepath-prof +BuildRequires: ghc-mtl-prof +BuildRequires: ghc-network-prof +BuildRequires: ghc-network-uri-prof +BuildRequires: ghc-parsec-prof +BuildRequires: ghc-pretty-prof +BuildRequires: ghc-tar-prof +BuildRequires: ghc-template-haskell-prof +BuildRequires: ghc-time-prof +BuildRequires: ghc-transformers-prof +BuildRequires: ghc-zlib-prof %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-tasty-devel @@ -69,6 +64,7 @@ signing. %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