BR prof for lib and static for executable

This commit is contained in:
Jens Petersen 2019-08-05 18:31:52 +08:00
parent 89312431a4
commit 9514ffa937

View File

@ -1,4 +1,4 @@
# generated by cabal-rpm-1.0.0 --subpackage
# generated by cabal-rpm-1.0.1 --subpackage
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name skylighting
@ -22,33 +22,28 @@ Source1: https://hackage.haskell.org/package/%{skylightingcore}/%{skyligh
# 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-extra
BuildRequires: ghc-aeson-prof
BuildRequires: ghc-ansi-terminal-prof
BuildRequires: ghc-attoparsec-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-base64-bytestring-prof
BuildRequires: ghc-binary-prof
BuildRequires: ghc-blaze-html-prof
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-case-insensitive-prof
BuildRequires: ghc-colour-prof
BuildRequires: ghc-containers-prof
BuildRequires: ghc-directory-prof
BuildRequires: ghc-filepath-prof
BuildRequires: ghc-hxt-prof
BuildRequires: ghc-mtl-prof
BuildRequires: ghc-regex-pcre-prof
BuildRequires: ghc-safe-prof
#BuildRequires: ghc-skylighting-core-prof
BuildRequires: ghc-text-prof
BuildRequires: ghc-utf8-string-prof
BuildRequires: chrpath
BuildRequires: ghc-aeson-devel
BuildRequires: ghc-ansi-terminal-devel
BuildRequires: ghc-attoparsec-devel
BuildRequires: ghc-base64-bytestring-devel
BuildRequires: ghc-binary-devel
BuildRequires: ghc-blaze-html-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-case-insensitive-devel
BuildRequires: ghc-colour-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-hxt-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-regex-pcre-devel
BuildRequires: ghc-safe-devel
#BuildRequires: ghc-skylighting-core-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-utf8-string-devel
# End cabal-rpm deps
%description
@ -64,6 +59,7 @@ package. As a result this package is licensed under the GPL.
%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