Hello community,

here is the log from the commit of package ghc-deepseq-generics for 
openSUSE:Factory checked in at 2016-07-21 08:05:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-deepseq-generics (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-deepseq-generics.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-deepseq-generics"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/ghc-deepseq-generics/ghc-deepseq-generics.changes    
    2015-08-23 17:38:51.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-deepseq-generics.new/ghc-deepseq-generics.changes
   2016-07-21 08:05:33.000000000 +0200
@@ -1,0 +2,6 @@
+Sun Jul 10 17:18:17 UTC 2016 - [email protected]
+
+- Update to version 0.1.1.2 revision 1 with cabal2obs.
+  This update obsoletes deepseq-generics.cabal.patch.
+
+-------------------------------------------------------------------

Old:
----
  deepseq-generics.cabal.patch

New:
----
  1.cabal

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

Other differences:
------------------
++++++ ghc-deepseq-generics.spec ++++++
--- /var/tmp/diff_new_pack.Os7bXC/_old  2016-07-21 08:05:34.000000000 +0200
+++ /var/tmp/diff_new_pack.Os7bXC/_new  2016-07-21 08:05:34.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-deepseq-generics
 #
-# Copyright (c) 2015 SUSE LINUX Products 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,28 +15,23 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%global pkg_name deepseq-generics
 
+%global pkg_name deepseq-generics
 %bcond_with tests
-
-# no useful debuginfo for Haskell packages without C sources
-%global debug_package %{nil}
-
-Name:           ghc-deepseq-generics
+Name:           ghc-%{pkg_name}
 Version:        0.1.1.2
-Release:        1
+Release:        0
 Summary:        GHC.Generics-based Control.DeepSeq.rnf implementation
-Group:          Development/Languages/Other 
 License:        BSD-3-Clause
-Url:            http://hackage.haskell.org/package/%{pkg_name}
-Source0:        
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM deepseq-generics.cabal.patch fix dependency constraints - 
[email protected]
-Patch0:         deepseq-generics.cabal.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+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
+Source1:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-rpm-macros
 # Begin cabal-rpm deps:
 BuildRequires:  ghc-deepseq-devel
+BuildRequires:  ghc-rpm-macros
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 BuildRequires:  ghc-test-framework-devel
@@ -63,20 +58,22 @@
 also compatible with older 'deepseq' versions not yet providing
 "GHC.Generics"-support.
 
-
 %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}
 
 %description devel
 This package provides the Haskell %{pkg_name} library development
 files.
 
-
 %prep
 %setup -q -n %{pkg_name}-%{version}
-%patch0 -p1
+cp -p %{SOURCE1} %{pkg_name}.cabal
+
 
 %build
 %ghc_lib_build
@@ -88,25 +85,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 changelog
 
 %changelog

++++++ 1.cabal ++++++
name:                deepseq-generics
version:             0.1.1.2
x-revision: 1
synopsis:            GHC.Generics-based Control.DeepSeq.rnf implementation
homepage:            https://github.com/hvr/deepseq-generics
bug-reports:         https://github.com/hvr/deepseq-generics/issues
license:             BSD3
license-file:        LICENSE
author:              Herbert Valerio Riedel
maintainer:          [email protected]
copyright:           2012, Herbert Valerio Riedel
category:            Control
build-type:          Simple
cabal-version:       >=1.10
tested-with:         GHC==7.6.3, GHC==7.6.2, GHC==7.6.1, GHC==7.4.2, GHC==7.4.1
description:
    This package provides a "GHC.Generics"-based
    'Control.DeepSeq.Generics.genericRnf' function which can be used
    for providing a 'rnf' implementation. See the documentation for
    the 'genericRnf' function in the "Control.DeepSeq.Generics" module
    to get started.
    .
    The original idea was pioneered in the @generic-deepseq@ package
    (see 
<http://www.haskell.org/pipermail/haskell-cafe/2012-February/099551.html>
    for more information).
    .
    This package differs from the @generic-deepseq@ package by working
    in combination with the existing @deepseq@ package as opposed to
    defining a conflicting drop-in replacement for @deepseq@'s
    @Control.Deepseq@ module.
    .
    Note: The ability to auto-derive via "GHC.Generics" has been
    merged into @deepseq-1.4.0.0@. This package is now still useful
    for writing code that's also compatible with older @deepseq@
    versions not yet providing "GHC.Generics"-support.

extra-source-files: changelog

source-repository head
    type:     git
    location: https://github.com/hvr/deepseq-generics.git

library
    default-language:    Haskell2010
    exposed-modules:     Control.DeepSeq.Generics
    build-depends:       base >= 4.5 && < 4.9, ghc-prim >= 0.2 && < 0.5, 
deepseq >= 1.2.0.1 && < 1.5
    other-extensions:    BangPatterns, FlexibleContexts, TypeOperators
    ghc-options:         -Wall

test-suite deepseq-generics-tests
    default-language:    Haskell2010
    type:                exitcode-stdio-1.0
    hs-source-dirs:      test
    main-is:             Suite.hs
    other-extensions:    CPP, DeriveDataTypeable, DeriveGeneric, TupleSections
    ghc-options:         -Wall

    build-depends:
        base,
        deepseq,
        deepseq-generics,
        ghc-prim,
        -- end of packages with inherited version constraints
        test-framework,
        test-framework-hunit,
        HUnit

Reply via email to