From a9d99cf147a4f2dc3c74cc0a94c98aabd2f53da9 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:32:25 +0800 Subject: [PATCH] BR prof for lib and static for executable --- ghc-tls.spec | 38 +++++++++++++++++--------------------- 1 file changed, 17 insertions(+), 21 deletions(-) diff --git a/ghc-tls.spec b/ghc-tls.spec index 436b604..ea85d6b 100644 --- a/ghc-tls.spec +++ b/ghc-tls.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 tls @@ -20,27 +20,22 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal# # 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-asn1-encoding-devel -BuildRequires: ghc-asn1-types-devel -BuildRequires: ghc-async-devel -BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-cereal-devel -BuildRequires: ghc-cryptonite-devel -BuildRequires: ghc-data-default-class-devel -BuildRequires: ghc-memory-devel -BuildRequires: ghc-mtl-devel -BuildRequires: ghc-network-devel -BuildRequires: ghc-transformers-devel -BuildRequires: ghc-x509-devel -BuildRequires: ghc-x509-store-devel -BuildRequires: ghc-x509-validation-devel +BuildRequires: ghc-asn1-encoding-prof +BuildRequires: ghc-asn1-types-prof +BuildRequires: ghc-async-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-cereal-prof +BuildRequires: ghc-cryptonite-prof +BuildRequires: ghc-data-default-class-prof +BuildRequires: ghc-memory-prof +BuildRequires: ghc-mtl-prof +BuildRequires: ghc-network-prof +BuildRequires: ghc-transformers-prof +BuildRequires: ghc-x509-prof +BuildRequires: ghc-x509-store-prof +BuildRequires: ghc-x509-validation-prof %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-hourglass-devel @@ -67,6 +62,7 @@ Some debug tools linked with tls, are available through the %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