Hello community,

here is the log from the commit of package ghc-lift-generics for 
openSUSE:Factory checked in at 2017-05-06 18:28:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-lift-generics (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-lift-generics.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-lift-generics"

Sat May  6 18:28:45 2017 rev:2 rq:491480 version:0.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-lift-generics/ghc-lift-generics.changes      
2017-03-24 01:56:00.245887305 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-lift-generics.new/ghc-lift-generics.changes 
2017-05-06 18:28:46.598633736 +0200
@@ -1,0 +2,5 @@
+Wed Apr 19 13:32:15 UTC 2017 - [email protected]
+
+- Update to version 0.1.1 revision 1 with cabal2obs.
+
+-------------------------------------------------------------------

New:
----
  lift-generics.cabal

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-lift-generics.spec ++++++
--- /var/tmp/diff_new_pack.G369Vi/_old  2017-05-06 18:28:47.290536105 +0200
+++ /var/tmp/diff_new_pack.G369Vi/_new  2017-05-06 18:28:47.294535540 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-lift-generics
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -23,11 +23,11 @@
 Release:        0
 Summary:        GHC.Generics-based Language.Haskell.TH.Syntax.lift 
implementation
 License:        BSD-3-Clause
-Group:          System/Libraries
+Group:          Development/Languages/Other
 Url:            https://hackage.haskell.org/package/%{pkg_name}
 Source0:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+Source1:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-generic-deriving-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-template-haskell-devel
@@ -36,7 +36,6 @@
 BuildRequires:  ghc-base-compat-devel
 BuildRequires:  ghc-hspec-devel
 %endif
-# End cabal-rpm deps
 
 %description
 This package provides a "GHC.Generics"-based 'genericLiftWithPkg' function
@@ -69,21 +68,16 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
 
 %post devel
 %ghc_pkg_recache

++++++ lift-generics.cabal ++++++
name:                lift-generics
version:             0.1.1
x-revision: 1
synopsis:            GHC.Generics-based Language.Haskell.TH.Syntax.lift 
implementation
description:         This package provides a "GHC.Generics"-based 
@genericLiftWithPkg@
                     function (intended for GHC 7.10 and earlier), as well as a
                     @genericLift@ function (only available on GHC 8.0 and 
later),
                     both of which can be used for providing a
                     @Language.Haskell.TH.Syntax.lift@ implementation. See the
                     documentation in the "Language.Haskell.TH.Lift.Generics" 
module
                     to get started.
                     .
                     Credit goes to Matthew Pickering for
                     <https://ghc.haskell.org/trac/ghc/ticket/1830#comment:12 
suggesting this idea>.
                     .
                     Note that due to API limitations, "GHC.Generics" wasn't 
powerful
                     enough to come up with the entirety of a `lift` 
implementation prior
                     to GHC 8.0. For this reason, @genericLiftWithPkg@ requires 
you to
                     produce the package name yourself, which proves to be no 
small feat
                     (see the documentation for more info).
                     .
                     Luckily, you don't have to jump through as many hoops on 
GHC 8.0 and
                     later: simply use the @genericLift@ function, and life is 
good.
homepage:            https://github.com/RyanGlScott/lift-generics
bug-reports:         https://github.com/RyanGlScott/lift-generics/issues
license:             BSD3
license-file:        LICENSE
author:              Ryan Scott
maintainer:          Ryan Scott <[email protected]>
stability:           Experimental
copyright:           (C) 2015 Ryan Scott
category:            Language
build-type:          Simple
tested-with:         GHC == 7.0.4
                   , GHC == 7.2.2
                   , GHC == 7.4.2
                   , GHC == 7.6.3
                   , GHC == 7.8.4
                   , GHC == 7.10.3
                   , GHC == 8.0.1
extra-source-files:  CHANGELOG.md, README.md
cabal-version:       >=1.10

source-repository head
  type:                git
  location:            https://github.com/RyanGlScott/lift-generics

library
  exposed-modules:     Language.Haskell.TH.Lift.Generics
  build-depends:       base             >= 4.3 && < 5
                     , generic-deriving >= 1.9 && < 2
                     , ghc-prim
                     , template-haskell >= 2.4 && < 2.13
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -Wall

test-suite spec
  type:                exitcode-stdio-1.0
  main-is:             Spec.hs
  other-modules:       LiftGenericsSpec
                       Types
                       Paths_lift_generics
  build-depends:       base             >= 4.3   && < 5
                     , base-compat      >= 0.8.2 && < 1
                     , generic-deriving >= 1.9   && < 2
                     , hspec            >= 2     && < 3
                     , lift-generics    == 0.1.1
                     , template-haskell >= 2.4   && < 2.13
  hs-source-dirs:      tests
  default-language:    Haskell2010
  ghc-options:         -Wall -threaded -rtsopts

Reply via email to