From 912c62484e5f3baded3fd3779b794955fbaa4909 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:33:07 +0800 Subject: [PATCH] BR prof for lib and static for executable --- ghc-xml-conduit.spec | 36 ++++++++++++++++-------------------- 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/ghc-xml-conduit.spec b/ghc-xml-conduit.spec index 0b20eb4..af6c1f8 100644 --- a/ghc-xml-conduit.spec +++ b/ghc-xml-conduit.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 xml-conduit @@ -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-attoparsec-devel -BuildRequires: ghc-blaze-html-devel -BuildRequires: ghc-blaze-markup-devel -BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-conduit-devel -BuildRequires: ghc-conduit-extra-devel -BuildRequires: ghc-containers-devel -BuildRequires: ghc-data-default-class-devel -BuildRequires: ghc-deepseq-devel -BuildRequires: ghc-resourcet-devel -BuildRequires: ghc-text-devel -BuildRequires: ghc-transformers-devel -BuildRequires: ghc-xml-types-devel +BuildRequires: ghc-attoparsec-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-blaze-html-prof +BuildRequires: ghc-blaze-markup-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-conduit-prof +BuildRequires: ghc-conduit-extra-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-data-default-class-prof +BuildRequires: ghc-deepseq-prof +BuildRequires: ghc-resourcet-prof +BuildRequires: ghc-text-prof +BuildRequires: ghc-transformers-prof +BuildRequires: ghc-xml-types-prof %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-doctest-devel @@ -72,6 +67,7 @@ broken up into the following modules: %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