diff --git a/ghc-formatting.spec b/ghc-formatting.spec index ff9b6f5..8bc450d 100644 --- a/ghc-formatting.spec +++ b/ghc-formatting.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.11 +# generated by cabal-rpm-2.1.0 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name formatting @@ -15,7 +15,7 @@ Version: 7.1.3 Release: 3%{?dist} Summary: Combinator-based type-safe formatting (like printf() or FORMAT) -License: BSD +License: BSD-3-Clause Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz @@ -26,6 +26,15 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal# BuildRequires: dos2unix BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros +BuildRequires: ghc-base-devel +BuildRequires: ghc-clock-devel +BuildRequires: ghc-double-conversion-devel +BuildRequires: ghc-old-locale-devel +BuildRequires: ghc-scientific-devel +BuildRequires: ghc-text-devel +BuildRequires: ghc-time-devel +BuildRequires: ghc-transformers-devel +%if %{with ghc_prof} BuildRequires: ghc-base-prof BuildRequires: ghc-clock-prof BuildRequires: ghc-double-conversion-prof @@ -34,6 +43,7 @@ BuildRequires: ghc-scientific-prof BuildRequires: ghc-text-prof BuildRequires: ghc-time-prof BuildRequires: ghc-transformers-prof +%endif %if %{with tests} BuildRequires: ghc-hspec-devel %endif