From 21df17b53f432224a6c743f49f4a20a4c20e7333 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Aug 06 2019 04:54:08 +0000 Subject: BR prof for lib and static for executable --- diff --git a/shake.spec b/shake.spec index 66ed5cb..c54acfa 100644 --- a/shake.spec +++ b/shake.spec @@ -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 shake @@ -32,41 +32,36 @@ Source5: https://hackage.haskell.org/package/%{jsdgtable}/%{jsdgtable}.ta # 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-base-prof +BuildRequires: ghc-binary-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-deepseq-prof +BuildRequires: ghc-directory-prof +BuildRequires: ghc-extra-prof +BuildRequires: ghc-filepath-prof +#BuildRequires: ghc-filepattern-prof +BuildRequires: ghc-hashable-prof +#BuildRequires: ghc-heaps-prof +#BuildRequires: ghc-js-dgtable-prof +#BuildRequires: ghc-js-flot-prof +#BuildRequires: ghc-js-jquery-prof +BuildRequires: ghc-primitive-prof +BuildRequires: ghc-process-prof +BuildRequires: ghc-random-prof +BuildRequires: ghc-time-prof +BuildRequires: ghc-transformers-prof +BuildRequires: ghc-unix-prof +BuildRequires: ghc-unordered-containers-prof +BuildRequires: ghc-utf8-string-prof BuildRequires: chrpath -BuildRequires: ghc-binary-devel -BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-deepseq-devel -BuildRequires: ghc-directory-devel -BuildRequires: ghc-extra-devel -BuildRequires: ghc-filepath-devel -#BuildRequires: ghc-filepattern-devel -BuildRequires: ghc-hashable-devel -#BuildRequires: ghc-heaps-devel -#BuildRequires: ghc-js-dgtable-devel -#BuildRequires: ghc-js-flot-devel -#BuildRequires: ghc-js-jquery-devel -BuildRequires: ghc-primitive-devel -BuildRequires: ghc-process-devel -BuildRequires: ghc-random-devel -BuildRequires: ghc-time-devel -BuildRequires: ghc-transformers-devel -BuildRequires: ghc-unix-devel -BuildRequires: ghc-unordered-containers-devel -BuildRequires: ghc-utf8-string-devel %if %{with tests} BuildRequires: ghc-QuickCheck-devel %endif Requires: %{name}-common = %{version}-%{release} # End cabal-rpm deps # for js-flot -BuildRequires: ghc-HTTP-devel +BuildRequires: ghc-HTTP-prof %description Shake is a Haskell library for writing build systems - designed as a @@ -106,6 +101,7 @@ This package provides the Haskell %{name} shared library. %package -n ghc-%{name}-devel Summary: Haskell %{name} library development files Provides: ghc-%{name}-static = %{version}-%{release} +Provides: ghc-%{name}-static%{?_isa} = %{version}-%{release} %if %{defined ghc_version} Requires: ghc-compiler = %{ghc_version} %endif