From 98fac06bf1d74b6a6c00ccab7879a1ddfb7b0ba2 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:28:16 +0800 Subject: [PATCH] BR prof for lib and static for executable --- ghc-conduit-extra.spec | 42 +++++++++++++++++++----------------------- 1 file changed, 19 insertions(+), 23 deletions(-) diff --git a/ghc-conduit-extra.spec b/ghc-conduit-extra.spec index 47f62fa..ab543f2 100644 --- a/ghc-conduit-extra.spec +++ b/ghc-conduit-extra.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 conduit-extra @@ -19,29 +19,24 @@ 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-async-devel -BuildRequires: ghc-attoparsec-devel -BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-conduit-devel -BuildRequires: ghc-directory-devel -BuildRequires: ghc-filepath-devel -BuildRequires: ghc-network-devel -BuildRequires: ghc-primitive-devel -BuildRequires: ghc-process-devel -BuildRequires: ghc-resourcet-devel -BuildRequires: ghc-stm-devel -BuildRequires: ghc-streaming-commons-devel -BuildRequires: ghc-text-devel -BuildRequires: ghc-transformers-devel -BuildRequires: ghc-typed-process-devel -BuildRequires: ghc-unliftio-core-devel +BuildRequires: ghc-async-prof +BuildRequires: ghc-attoparsec-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-conduit-prof +BuildRequires: ghc-directory-prof +BuildRequires: ghc-filepath-prof +BuildRequires: ghc-network-prof +BuildRequires: ghc-primitive-prof +BuildRequires: ghc-process-prof +BuildRequires: ghc-resourcet-prof +BuildRequires: ghc-stm-prof +BuildRequires: ghc-streaming-commons-prof +BuildRequires: ghc-text-prof +BuildRequires: ghc-transformers-prof +BuildRequires: ghc-typed-process-prof +BuildRequires: ghc-unliftio-core-prof %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-bytestring-builder-devel @@ -66,6 +61,7 @@ packages and conduit. %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