Hello community,

here is the log from the commit of package ghc-uuid for openSUSE:Factory 
checked in at 2016-07-20 09:24:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-uuid (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-uuid.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-uuid"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-uuid/ghc-uuid.changes        2016-04-03 
23:07:42.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-uuid.new/ghc-uuid.changes   2016-07-20 
09:24:07.000000000 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:06:07 UTC 2016 - psim...@suse.com
+
+- Update to version 1.3.12 revision 1 with cabal2obs.
+
+-------------------------------------------------------------------

New:
----
  1.cabal

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

Other differences:
------------------
++++++ ghc-uuid.spec ++++++
--- /var/tmp/diff_new_pack.ihtrw0/_old  2016-07-20 09:24:08.000000000 +0200
+++ /var/tmp/diff_new_pack.ihtrw0/_new  2016-07-20 09:24:08.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-uuid
 #
-# 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,22 +17,17 @@
 
 
 %global pkg_name uuid
-
 %bcond_with tests
-
-Name:           ghc-uuid
+Name:           ghc-%{pkg_name}
 Version:        1.3.12
 Release:        0
 Summary:        For creating, comparing, parsing and printing Universally 
Unique Identifiers
 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
@@ -40,9 +35,11 @@
 BuildRequires:  ghc-memory-devel
 BuildRequires:  ghc-network-info-devel
 BuildRequires:  ghc-random-devel
+BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-time-devel
 BuildRequires:  ghc-uuid-types-devel
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 BuildRequires:  ghc-QuickCheck-devel
@@ -57,33 +54,36 @@
 Universally Unique Identifiers. See <http://en.wikipedia.org/wiki/UUID> for the
 general idea.
 
-
 %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
 
+
 %check
 %if %{with tests}
-%cabal test
+%{cabal} test
 %endif
 
+
 %post devel
 %ghc_pkg_recache
 

++++++ 1.cabal ++++++
Name: uuid
Version: 1.3.12
x-revision: 1
Copyright: (c) 2008-2014 Antoine Latter
Author: Antoine Latter
Maintainer: aslat...@gmail.com
License: BSD3
License-file: LICENSE

Category: Data
Build-Type: Simple
Cabal-Version: >= 1.8

Description:
 This library is useful for creating, comparing, parsing and
 printing Universally Unique Identifiers.
 See <http://en.wikipedia.org/wiki/UUID> for the general idea.

Synopsis: For creating, comparing, parsing and printing Universally Unique 
Identifiers

Homepage: https://github.com/aslatter/uuid
Bug-Reports: https://github.com/aslatter/uuid/issues

Extra-Source-Files:
     CHANGES


Library
 Build-Depends: base >=3 && < 5,
                binary >= 0.4 && < 0.9,
                bytestring >= 0.10 && < 0.11,
                cryptonite,
                memory,
                network-info == 0.2.*,
                random >= 1.0.1 && < 1.2,
                time >= 1.1 && < 1.7,
                text >= 1 && < 1.3,
                uuid-types >= 1.0.2 && < 2

 Exposed-Modules:
   Data.UUID
   Data.UUID.Util
   Data.UUID.V1
   Data.UUID.V3
   Data.UUID.V4
   Data.UUID.V5

 Other-Modules:
   Data.UUID.Named
   Data.Word.Util

 Extensions: DeriveDataTypeable
 Ghc-Options:        -Wall

source-repository   head
  type:             git
  location:         https://github.com/aslatter/uuid.git

Test-Suite testuuid
    Type:              exitcode-stdio-1.0
    Main-is:           TestUUID.hs
    Hs-source-dirs:    tests
    Extensions:        DeriveDataTypeable
    Ghc-Options:       -Wall -fno-warn-orphans
    Build-Depends:     base >= 3 && < 5,
                       uuid,
                       bytestring >= 0.9 && < 0.11,
                       HUnit >=1.2 && < 1.4,
                       QuickCheck >=2.4 && < 2.9,
                       random >= 1.0.1 && < 1.2,
                       tasty >= 0.10 && < 0.12,
                       tasty-hunit == 0.9.*,
                       tasty-quickcheck == 0.8.*

benchmark benchmark
    Type:              exitcode-stdio-1.0
    Main-is:           BenchUUID.hs
    Hs-source-dirs:    tests
    Extensions:        DeriveDataTypeable, CPP
    Ghc-Options:       -Wall -fno-warn-orphans
    Build-depends:     base == 4.*,
                       uuid,
                       criterion >= 0.4 && < 1.2,
                       mersenne-random-pure64,
                       random >= 1.0.1 && < 1.2

Reply via email to