diff --git a/ghc-streaming-commons.spec b/ghc-streaming-commons.spec index 7405a0a..e641c99 100644 --- a/ghc-streaming-commons.spec +++ b/ghc-streaming-commons.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.12.5 +# generated by cabal-rpm-0.13 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name streaming-commons @@ -8,16 +8,18 @@ Name: ghc-%{pkg_name} Version: 0.1.19 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Common lower-level functions for streaming data libraries License: MIT Url: https://hackage.haskell.org/package/%{pkg_name} +# Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +# End cabal-rpm sources +# Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros -# Begin cabal-rpm deps: BuildRequires: ghc-array-devel BuildRequires: ghc-async-devel BuildRequires: ghc-blaze-builder-devel @@ -60,7 +62,9 @@ files. %prep +# Begin cabal-rpm setup: %setup -q -n %{pkgver} +# End cabal-rpm setup # remove bundled zlib headers mv include/text_cbits.h . rm include/* @@ -68,11 +72,15 @@ mv text_cbits.h include/ %build +# Begin cabal-rpm build: %ghc_lib_build +# End cabal-rpm build %install +# Begin cabal-rpm install %ghc_lib_install +# End cabal-rpm install %check @@ -88,7 +96,9 @@ mv text_cbits.h include/ %files -f %{name}.files +# Begin cabal-rpm files: %license LICENSE +# End cabal-rpm files %files devel -f %{name}-devel.files @@ -96,6 +106,9 @@ mv text_cbits.h include/ %changelog +* Sun Feb 17 2019 Jens Petersen - 0.1.19-3 +- refresh to cabal-rpm-0.13 + * Thu Jan 31 2019 Fedora Release Engineering - 0.1.19-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild