diff --git a/ghc-servant-foreign.spec b/ghc-servant-foreign.spec index d50f18a..53a9ff3 100644 --- a/ghc-servant-foreign.spec +++ b/ghc-servant-foreign.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 servant-foreign @@ -8,17 +8,19 @@ Name: ghc-%{pkg_name} Version: 0.11.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Helpers for generating clients for servant APIs in any programming language 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/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal +# End cabal-rpm sources +# Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros -# Begin cabal-rpm deps: BuildRequires: ghc-base-compat-devel BuildRequires: ghc-http-types-devel BuildRequires: ghc-lens-devel @@ -61,16 +63,22 @@ files. %prep +# Begin cabal-rpm setup: %setup -q -n %{pkgver} -cp -p %{SOURCE1} %{pkg_name}.cabal +cp -bp %{SOURCE1} %{pkg_name}.cabal +# End cabal-rpm setup %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 @@ -86,7 +94,9 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %files -f %{name}.files +# Begin cabal-rpm files: %license LICENSE +# End cabal-rpm files %files devel -f %{name}-devel.files @@ -94,6 +104,9 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %changelog +* Sun Feb 17 2019 Jens Petersen - 0.11.1-3 +- refresh to cabal-rpm-0.13 + * Thu Jan 31 2019 Fedora Release Engineering - 0.11.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/servant-foreign-0.11.1.cabal b/servant-foreign-0.11.1.cabal index 3c61da2..a024f7f 100644 --- a/servant-foreign-0.11.1.cabal +++ b/servant-foreign-0.11.1.cabal @@ -1,7 +1,9 @@ name: servant-foreign version: 0.11.1 -x-revision: 3 +x-revision: 4 + synopsis: Helpers for generating clients for servant APIs in any programming language +category: Servant, Web description: Helper types and functions for generating client functions for servant APIs in any programming language . @@ -10,12 +12,12 @@ description: See the servant-js package for an example . + license: BSD3 license-file: LICENSE author: Servant Contributors maintainer: haskell-servant-maintainers@googlegroups.com copyright: 2015-2016 Servant Contributors -category: Servant, Web build-type: Simple cabal-version: >=1.10 extra-source-files: @@ -28,7 +30,8 @@ tested-with: GHC==7.10.3 GHC==8.0.2 GHC==8.2.2 - GHC==8.4.3 + GHC==8.4.4 + GHC==8.6.1 source-repository head type: git @@ -44,7 +47,7 @@ library -- -- note: mtl lower bound is so low because of GHC-7.8 build-depends: - base >= 4.7 && <4.12 + base >= 4.7 && <4.13 , text >= 1.2.3.0 && < 1.3 if !impl(ghc >= 8.0)