BR prof for lib and static for executable

This commit is contained in:
Jens Petersen 2019-08-05 18:33:11 +08:00
parent aa27c4f297
commit 8808b053d3
1 changed files with 10 additions and 14 deletions

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 xss-sanitize
@ -19,20 +19,15 @@ 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-containers-devel
BuildRequires: ghc-css-text-devel
BuildRequires: ghc-network-uri-devel
BuildRequires: ghc-tagsoup-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-utf8-string-devel
BuildRequires: ghc-attoparsec-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-containers-prof
BuildRequires: ghc-css-text-prof
BuildRequires: ghc-network-uri-prof
BuildRequires: ghc-tagsoup-prof
BuildRequires: ghc-text-prof
BuildRequires: ghc-utf8-string-prof
%if %{with tests}
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-hspec-devel
@ -48,6 +43,7 @@ more details.
%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