Hello community, here is the log from the commit of package ghc-lens-aeson for openSUSE:Factory checked in at 2016-07-20 09:23:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-lens-aeson (Old) and /work/SRC/openSUSE:Factory/.ghc-lens-aeson.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-lens-aeson" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-lens-aeson/ghc-lens-aeson.changes 2016-05-31 12:24:42.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-lens-aeson.new/ghc-lens-aeson.changes 2016-07-20 09:23:30.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Jul 10 16:56:35 UTC 2016 - [email protected] + +- Update to version 1.0.0.5 revision 2 with cabal2obs. + +------------------------------------------------------------------- New: ---- 2.cabal ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-lens-aeson.spec ++++++ --- /var/tmp/diff_new_pack.Zw5ewj/_old 2016-07-20 09:23:31.000000000 +0200 +++ /var/tmp/diff_new_pack.Zw5ewj/_new 2016-07-20 09:23:31.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-lens-aeson # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,32 +15,30 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%global pkg_name lens-aeson +%global pkg_name lens-aeson %bcond_with tests - -Name: ghc-lens-aeson +Name: ghc-%{pkg_name} Version: 1.0.0.5 Release: 0 Summary: Law-abiding lenses for aeson -Group: System/Libraries - License: MIT +Group: System/Libraries Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build - +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-aeson-devel BuildRequires: ghc-attoparsec-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-lens-devel +BuildRequires: ghc-rpm-macros BuildRequires: ghc-scientific-devel BuildRequires: ghc-text-devel BuildRequires: ghc-unordered-containers-devel BuildRequires: ghc-vector-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-directory-devel BuildRequires: ghc-doctest-devel @@ -54,24 +52,21 @@ %description Law-abiding lenses for aeson. -The goal of lens-aeson is to provide traversals and prisms for the Aeson library's -Value type, while obeying the Traversal/Prism laws. - %package devel Summary: Haskell %{pkg_name} library development files Group: Development/Libraries/Other +Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} -Requires: %{name} = %{version}-%{release} %description devel This package provides the Haskell %{pkg_name} library development files. - %prep %setup -q -n %{pkg_name}-%{version} -cabal-tweak-dep-ver aeson '< 0.10' '< 0.12' +cp -p %{SOURCE1} %{pkg_name}.cabal + %build %ghc_lib_build @@ -83,26 +78,22 @@ %check %if %{with tests} -%cabal test +%{cabal} test %endif %post devel %ghc_pkg_recache - %postun devel %ghc_pkg_recache - %files -f %{name}.files %defattr(-,root,root,-) %doc LICENSE - %files devel -f %{name}-devel.files %defattr(-,root,root,-) -%doc AUTHORS.markdown README.markdown - +%doc AUTHORS.markdown CHANGELOG.markdown README.markdown %changelog ++++++ 2.cabal ++++++ name: lens-aeson category: Numeric version: 1.0.0.5 x-revision: 2 license: MIT cabal-version: >= 1.8 license-file: LICENSE author: Edward A. Kmett maintainer: Edward A. Kmett <[email protected]> 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.1, GHC == 7.6.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 source-repository head type: git location: git://github.com/lens/lens-aeson.git -- 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.12, unordered-containers >= 0.2.3 && < 0.3, attoparsec >= 0.10 && < 0.14, bytestring >= 0.9 && < 0.11, aeson >= 0.7.0.5 && < 0.12, 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, directory >= 1.0, doctest >= 0.9.1, filepath, generic-deriving, semigroups >= 0.9, simple-reflect >= 0.3.1
