From f66fd2b3e6c7bacd531b0964bf5ec3939d10bd67 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:26:59 +0800 Subject: [PATCH] BR prof for lib and static for executable --- ghc-Glob.spec | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/ghc-Glob.spec b/ghc-Glob.spec index 47a8bdc..e131f76 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.spec @@ -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 Glob @@ -19,19 +19,14 @@ 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-containers-devel -BuildRequires: ghc-directory-devel -BuildRequires: ghc-dlist-devel -BuildRequires: ghc-filepath-devel -BuildRequires: ghc-transformers-compat-devel -BuildRequires: ghc-transformers-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-directory-prof +BuildRequires: ghc-dlist-prof +BuildRequires: ghc-filepath-prof +BuildRequires: ghc-transformers-prof +BuildRequires: ghc-transformers-compat-prof %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-QuickCheck-devel @@ -48,6 +43,7 @@ A library for globbing: matching patterns against file paths. %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