Hello community,

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

Package is "ghc-semigroups"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-semigroups/ghc-semigroups.changes    
2016-02-01 19:57:23.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-semigroups.new/ghc-semigroups.changes       
2016-07-21 08:13:05.000000000 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:08:40 UTC 2016 - [email protected]
+
+- Update to version 0.18.1 revision 1 with cabal2obs.
+
+-------------------------------------------------------------------

New:
----
  1.cabal

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

Other differences:
------------------
++++++ ghc-semigroups.spec ++++++
--- /var/tmp/diff_new_pack.CEvh56/_old  2016-07-21 08:13:06.000000000 +0200
+++ /var/tmp/diff_new_pack.CEvh56/_new  2016-07-21 08:13:06.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-semigroups
 #
-# 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
@@ -17,29 +17,28 @@
 
 
 %global pkg_name semigroups
-
-Name:           ghc-semigroups
+Name:           ghc-%{pkg_name}
 Version:        0.18.1
 Release:        0
 Summary:        Anything that associates
 License:        BSD-3-Clause
 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/1.cabal
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-rpm-macros
 # Begin cabal-rpm deps:
+BuildRequires:  ghc-binary-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-containers-devel
 BuildRequires:  ghc-deepseq-devel
 BuildRequires:  ghc-hashable-devel
+BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-tagged-devel
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-transformers-devel
 BuildRequires:  ghc-unordered-containers-devel
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # End cabal-rpm deps
 
 %description
@@ -49,28 +48,30 @@
 generalized a group (a monoid with all inverses) to a type where every element
 did not have to have an inverse, thus the name semigroup.
 
-
 %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}
+cp -p %{SOURCE1} %{pkg_name}.cabal
+
 
 %build
 %ghc_lib_build
 
+
 %install
 %ghc_lib_install
 
+
 %post devel
 %ghc_pkg_recache
 
@@ -83,6 +84,6 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
-%doc README.markdown
+%doc CHANGELOG.markdown README.markdown
 
 %changelog

++++++ 1.cabal ++++++
name:          semigroups
category:      Algebra, Data, Data Structures, Math
version:       0.18.1
x-revision: 1
license:       BSD3
cabal-version: >= 1.10
license-file:  LICENSE
author:        Edward A. Kmett
maintainer:    Edward A. Kmett <[email protected]>
stability:     provisional
homepage:      http://github.com/ekmett/semigroups/
bug-reports:   http://github.com/ekmett/semigroups/issues
copyright:     Copyright (C) 2011-2015 Edward A. Kmett
synopsis:      Anything that associates
description:
    In mathematics, a semigroup is an algebraic structure consisting of a set 
together with an associative binary operation. A semigroup generalizes a monoid 
in that there might not exist an identity element. It also (originally) 
generalized a group (a monoid with all inverses) to a type where every element 
did not have to have an inverse, thus the name semigroup.
build-type:    Simple
extra-source-files: .travis.yml README.markdown CHANGELOG.markdown

source-repository head
  type: git
  location: git://github.com/ekmett/semigroups.git

flag hashable
  description:
    You can disable the use of the `hashable` package using `-f-hashable`.
    .
    Disabling this is an unsupported configuration, but it may be useful for 
accelerating builds in sandboxes for expert users.
    .
    If disabled we will not supply instances of `Hashable`
    .
    Note: `-f-hashable` implies `-f-unordered-containers`, as we are 
necessarily not able to supply those instances as well.
  default: True
  manual: True

flag binary
  description:
    You can disable the use of the `binary` package using `-f-binary`.
    .
    Disabling this is an unsupported configuration, but it may be useful for 
accelerating builds in sandboxes for expert users.
  default: True
  manual: True

flag bytestring
  description:
    You can disable the use of the `bytestring` package using `-f-bytestring`.
    .
    Disabling this is an unsupported configuration, but it may be useful for 
accelerating builds in sandboxes for expert users.
  default: True
  manual: True

flag containers
  description:
    You can disable the use of the `containers` package using `-f-containers`.
    .
    Disabing this is an unsupported configuration, but it may be useful for 
accelerating builds in sandboxes for expert users.
  default: True
  manual: True

flag deepseq
  description:
    You can disable the use of the `deepseq` package using `-f-deepseq`.
    .
    Disabing this is an unsupported configuration, but it may be useful for 
accelerating builds in sandboxes for expert users.
  default: True
  manual: True

flag tagged
  description:
    You can disable the use of the `tagged` package using `-f-tagged`.
    .
    Disabling this is an unsupported configuration, but it may be useful for 
accelerating builds in sandboxes for expert users.
  default: True
  manual: True

flag text
  description:
    You can disable the use of the `text` package using `-f-text`.
    .
    Disabling this is an unsupported configuration, but it may be useful for 
accelerating builds in sandboxes for expert users.
  default: True
  manual: True

flag transformers
  description:
    You can disable the use of the `transformers` package using 
`-f-transformers`.
    .
    Disabling this is an unsupported configuration, but it may be useful for 
accelerating builds in sa    ndboxes for expert users.
  default: True
  manual: True

flag unordered-containers
  description:
    You can disable the use of the `unordered-containers` package using 
`-f-unordered-containers`.
    .
    Disabling this is an unsupported configuration, but it may be useful for 
accelerating builds in sandboxes for expert users.
  default: True
  manual: True

library
  default-language: Haskell98
  hs-source-dirs: src
  ghc-options: -Wall

  build-depends: base >= 2 && < 5

  if impl(ghc >= 7.4)
    exposed-modules:
      Data.Semigroup.Generic

  -- legacy configuration
  if impl(ghc < 7.11.20151002)
    -- starting with GHC 8 these modules are provided by `base`
    hs-source-dirs: src-ghc7
    exposed-modules:
      Data.Semigroup
      Data.List.NonEmpty

    -- Not needed anymore since GHC 7.10
    if impl(ghc < 7.10)
      build-depends: nats >= 0.1 && < 2

    if impl(ghc >= 7.4 && < 7.5)
      build-depends: ghc-prim

    if flag(binary)
      build-depends: binary < 0.8.3

    if flag(bytestring)
      build-depends: bytestring >= 0.9 && < 1

    if flag(containers)
      build-depends: containers >= 0.3 && < 0.6

    if flag(deepseq)
      build-depends: deepseq >= 1.1 && < 1.5

    if flag(tagged)
      build-depends: tagged >= 0.4.4 && < 1

    if flag(text)
      build-depends: text >= 0.10 && < 2

    if flag(hashable)
      build-depends: hashable >= 1.1  && < 1.3

    if flag(hashable) && flag(unordered-containers)
      build-depends: unordered-containers >= 0.2  && < 0.3

    if flag(transformers)
      build-depends: transformers >= 0.2 && < 0.6

Reply via email to