diff --git a/ghc-lens-aeson.spec b/ghc-lens-aeson.spec index 9e139b7..5c7e158 100644 --- a/ghc-lens-aeson.spec +++ b/ghc-lens-aeson.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 lens-aeson @@ -8,17 +8,19 @@ Name: ghc-%{pkg_name} Version: 1.0.2 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Law-abiding lenses for aeson License: MIT 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-aeson-devel BuildRequires: ghc-attoparsec-devel BuildRequires: ghc-bytestring-devel @@ -56,16 +58,22 @@ This package provides the Haskell %{pkg_name} library development 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 @@ -81,7 +89,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 @@ -89,6 +99,9 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %changelog +* Sun Feb 17 2019 Jens Petersen - 1.0.2-7 +- refresh to cabal-rpm-0.13 + * Thu Jan 31 2019 Fedora Release Engineering - 1.0.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/lens-aeson-1.0.2.cabal b/lens-aeson-1.0.2.cabal index b011dc8..88563fc 100644 --- a/lens-aeson-1.0.2.cabal +++ b/lens-aeson-1.0.2.cabal @@ -1,81 +1,81 @@ -name: lens-aeson -category: Numeric -version: 1.0.2 -x-revision: 6 -license: MIT -cabal-version: >= 1.8 -license-file: LICENSE -author: Edward A. Kmett -maintainer: Edward A. Kmett -stability: provisional -homepage: http://github.com/lens/lens-aeson/ -bug-reports: http://github.com/lens/lens-aeson/issues -copyright: - Copyright (C) 2012 Paul Wilson - Copyright (C) 2013 Edward A. Kmett -build-type: Custom -tested-with: GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC==8.0.2, GHC==8.2.1 -synopsis: Law-abiding lenses for aeson -description: Law-abiding lenses for aeson - -extra-source-files: - .travis.yml - .ghci - .gitignore - .vim.custom - travis/cabal-apt-install - travis/config - AUTHORS.markdown - README.markdown - CHANGELOG.markdown - Warning.hs - -source-repository head - type: git - location: https://github.com/lens/lens-aeson - -custom-setup - setup-depends: - base >= 4 && < 5, - Cabal, - cabal-doctest >= 1 && < 1.1 - --- You can disable the doctests test suite with -f-test-doctests -flag test-doctests - default: True - manual: True - -library - build-depends: - base >= 4.5 && < 5, - lens >= 4.4 && < 5, - text >= 0.11.1.10 && < 1.3, - vector >= 0.9 && < 0.13, - unordered-containers >= 0.2.3 && < 0.3, - attoparsec >= 0.10 && < 0.14, - bytestring >= 0.9 && < 0.11, - aeson >= 0.7.0.5 && < 1.5, - scientific >= 0.3.2 && < 0.4 - - exposed-modules: - Data.Aeson.Lens - - ghc-options: -Wall -fwarn-tabs -O2 - hs-source-dirs: src - -test-suite doctests - type: exitcode-stdio-1.0 - main-is: doctests.hs - ghc-options: -Wall -threaded - hs-source-dirs: tests - - if !flag(test-doctests) - buildable: False - else - build-depends: - base, - doctest >= 0.11.1 && < 0.17, - generic-deriving, - lens-aeson, - semigroups >= 0.9, - simple-reflect >= 0.3.1 +name: lens-aeson +category: Numeric +version: 1.0.2 +x-revision: 6 +license: MIT +cabal-version: >= 1.8 +license-file: LICENSE +author: Edward A. Kmett +maintainer: Edward A. Kmett +stability: provisional +homepage: http://github.com/lens/lens-aeson/ +bug-reports: http://github.com/lens/lens-aeson/issues +copyright: + Copyright (C) 2012 Paul Wilson + Copyright (C) 2013 Edward A. Kmett +build-type: Custom +tested-with: GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC==8.0.2, GHC==8.2.1 +synopsis: Law-abiding lenses for aeson +description: Law-abiding lenses for aeson + +extra-source-files: + .travis.yml + .ghci + .gitignore + .vim.custom + travis/cabal-apt-install + travis/config + AUTHORS.markdown + README.markdown + CHANGELOG.markdown + Warning.hs + +source-repository head + type: git + location: https://github.com/lens/lens-aeson + +custom-setup + setup-depends: + base >= 4 && < 5, + Cabal, + cabal-doctest >= 1 && < 1.1 + +-- You can disable the doctests test suite with -f-test-doctests +flag test-doctests + default: True + manual: True + +library + build-depends: + base >= 4.5 && < 5, + lens >= 4.4 && < 5, + text >= 0.11.1.10 && < 1.3, + vector >= 0.9 && < 0.13, + unordered-containers >= 0.2.3 && < 0.3, + attoparsec >= 0.10 && < 0.14, + bytestring >= 0.9 && < 0.11, + aeson >= 0.7.0.5 && < 1.5, + scientific >= 0.3.2 && < 0.4 + + exposed-modules: + Data.Aeson.Lens + + ghc-options: -Wall -fwarn-tabs -O2 + hs-source-dirs: src + +test-suite doctests + type: exitcode-stdio-1.0 + main-is: doctests.hs + ghc-options: -Wall -threaded + hs-source-dirs: tests + + if !flag(test-doctests) + buildable: False + else + build-depends: + base, + doctest >= 0.11.1 && < 0.17, + generic-deriving, + lens-aeson, + semigroups >= 0.9, + simple-reflect >= 0.3.1