From 02836dc2484eed4d9028dcdaf6ca6f3c50a0dcdf Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:28:48 +0800 Subject: [PATCH] BR prof for lib and static for executable --- ghc-dns.spec | 38 +++++++++++++++++--------------------- 1 file changed, 17 insertions(+), 21 deletions(-) diff --git a/ghc-dns.spec b/ghc-dns.spec index 68430ff..c96f193 100644 --- a/ghc-dns.spec +++ b/ghc-dns.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 dns @@ -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-async-devel -BuildRequires: ghc-attoparsec-devel -BuildRequires: ghc-auto-update-devel -BuildRequires: ghc-base64-bytestring-devel -BuildRequires: ghc-binary-devel -BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-containers-devel -BuildRequires: ghc-cryptonite-devel -BuildRequires: ghc-iproute-devel >= 1.3.2 -BuildRequires: ghc-mtl-devel -BuildRequires: ghc-network-devel >= 2.3 -BuildRequires: ghc-psqueues-devel -BuildRequires: ghc-safe-devel >= 0.3 -BuildRequires: ghc-time-devel +BuildRequires: ghc-async-prof +BuildRequires: ghc-attoparsec-prof +BuildRequires: ghc-auto-update-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-base64-bytestring-prof +BuildRequires: ghc-binary-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-cryptonite-prof +BuildRequires: ghc-iproute-prof >= 1.3.2 +BuildRequires: ghc-mtl-prof +BuildRequires: ghc-network-prof >= 2.3 +BuildRequires: ghc-psqueues-prof +BuildRequires: ghc-safe-prof >= 0.3 +BuildRequires: ghc-time-prof %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-doctest-devel @@ -56,6 +51,7 @@ A thread-safe DNS library for both clients and servers written in pure Haskell. %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