BR prof for lib and static for executable

This commit is contained in:
Jens Petersen 2019-08-05 18:33:10 +08:00
parent adc4ad992f
commit 9814cc6625
1 changed files with 19 additions and 23 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 xmonad-contrib
@ -22,29 +22,24 @@ Patch5: xmonad-contrib-0.11.2-xfce4-terminal.patch
# 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-X11-devel
BuildRequires: ghc-X11-xft-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-extensible-exceptions-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-old-locale-devel
BuildRequires: ghc-old-time-devel
BuildRequires: ghc-process-devel
BuildRequires: ghc-random-devel
BuildRequires: ghc-semigroups-devel
BuildRequires: ghc-unix-devel
BuildRequires: ghc-utf8-string-devel
BuildRequires: ghc-xmonad-devel
BuildRequires: ghc-X11-prof
BuildRequires: ghc-X11-xft-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-containers-prof
BuildRequires: ghc-directory-prof
BuildRequires: ghc-extensible-exceptions-prof
BuildRequires: ghc-filepath-prof
BuildRequires: ghc-mtl-prof
BuildRequires: ghc-old-locale-prof
BuildRequires: ghc-old-time-prof
BuildRequires: ghc-process-prof
BuildRequires: ghc-random-prof
BuildRequires: ghc-semigroups-prof
BuildRequires: ghc-unix-prof
BuildRequires: ghc-utf8-string-prof
BuildRequires: ghc-xmonad-prof
# End cabal-rpm deps
%description
@ -63,6 +58,7 @@ extensions.
%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