BR prof for lib and static for executable

This commit is contained in:
Jens Petersen 2019-08-05 18:32:58 +08:00
parent caf702d6e3
commit 18df96996a

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 websockets
@ -19,25 +19,20 @@ 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-SHA-devel
BuildRequires: ghc-attoparsec-devel
BuildRequires: ghc-base64-bytestring-devel
BuildRequires: ghc-binary-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-case-insensitive-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-entropy-devel
BuildRequires: ghc-network-devel
BuildRequires: ghc-random-devel
BuildRequires: ghc-streaming-commons-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-SHA-prof
BuildRequires: ghc-attoparsec-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-base64-bytestring-prof
BuildRequires: ghc-binary-prof
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-case-insensitive-prof
BuildRequires: ghc-containers-prof
BuildRequires: ghc-entropy-prof
BuildRequires: ghc-network-prof
BuildRequires: ghc-random-prof
BuildRequires: ghc-streaming-commons-prof
BuildRequires: ghc-text-prof
%if %{with tests}
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-QuickCheck-devel
@ -68,6 +63,7 @@ See also:
%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