diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 67e0c5a..8183347 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.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 distributive @@ -12,18 +12,20 @@ Name: ghc-%{pkg_name} Version: 0.5.3 # can only be reset when all subpkgs bumped -Release: 9%{?dist} +Release: 10%{?dist} Summary: Distributive functors -- Dual to Traversable License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} +# Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz Source1: https://hackage.haskell.org/package/%{cabaldoctest}/%{cabaldoctest}.tar.gz Source2: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal +# End cabal-rpm sources +# Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros-extra -# Begin cabal-rpm deps: BuildRequires: ghc-base-orphans-devel #BuildRequires: ghc-cabal-doctest-devel BuildRequires: ghc-tagged-devel @@ -65,18 +67,24 @@ This package provides the Haskell %{pkg_name} library development files. %prep +# Begin cabal-rpm setup: %setup -q -n %{pkgver} -a1 -cp -p %{SOURCE2} %{pkg_name}.cabal +cp -bp %{SOURCE2} %{pkg_name}.cabal +# End cabal-rpm setup %build +# Begin cabal-rpm build: %ghc_libs_build %{subpkgs} %ghc_lib_build +# End cabal-rpm build %install +# Begin cabal-rpm install %ghc_libs_install %{subpkgs} %ghc_lib_install +# End cabal-rpm install %check @@ -92,7 +100,9 @@ cp -p %{SOURCE2} %{pkg_name}.cabal %files -f %{name}.files +# Begin cabal-rpm files: %license LICENSE +# End cabal-rpm files %files devel -f %{name}-devel.files @@ -100,6 +110,9 @@ cp -p %{SOURCE2} %{pkg_name}.cabal %changelog +* Sun Feb 17 2019 Jens Petersen - 0.5.3-10 +- refresh to cabal-rpm-0.13 + * Thu Jan 31 2019 Fedora Release Engineering - 0.5.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild