From 18df96996ab4a1e3fb6ee8778b0b640c4b95da3d Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:32:58 +0800 Subject: [PATCH] BR prof for lib and static for executable --- ghc-websockets.spec | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/ghc-websockets.spec b/ghc-websockets.spec index 3591360..49e792d 100644 --- a/ghc-websockets.spec +++ b/ghc-websockets.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 websockets @@ -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-SHA-devel -BuildRequires: ghc-attoparsec-devel -BuildRequires: ghc-base64-bytestring-devel -BuildRequires: ghc-binary-devel -BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-case-insensitive-devel -BuildRequires: ghc-containers-devel -BuildRequires: ghc-entropy-devel -BuildRequires: ghc-network-devel -BuildRequires: ghc-random-devel -BuildRequires: ghc-streaming-commons-devel -BuildRequires: ghc-text-devel +BuildRequires: ghc-SHA-prof +BuildRequires: ghc-attoparsec-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-base64-bytestring-prof +BuildRequires: ghc-binary-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-case-insensitive-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-entropy-prof +BuildRequires: ghc-network-prof +BuildRequires: ghc-random-prof +BuildRequires: ghc-streaming-commons-prof +BuildRequires: ghc-text-prof %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-QuickCheck-devel @@ -68,6 +63,7 @@ See also: %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