BR prof for lib and static for executable

This commit is contained in:
Jens Petersen 2019-08-05 18:28:48 +08:00
parent 0554e391f5
commit 02836dc248

View File

@ -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