commit ghc-uuid for openSUSE:Factory

2020-09-07 Thread root
Hello community,

here is the log from the commit of package ghc-uuid for openSUSE:Factory 
checked in at 2020-09-07 22:04:25

Comparing /work/SRC/openSUSE:Factory/ghc-uuid (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-uuid.new.3399 (New)


Package is "ghc-uuid"

Mon Sep  7 22:04:25 2020 rev:3 rq:832335 version:1.3.13

Changes:

--- /work/SRC/openSUSE:Factory/ghc-uuid/ghc-uuid.changes2020-08-28 
21:40:38.736871075 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-uuid.new.3399/ghc-uuid.changes  
2020-09-07 22:04:27.030124509 +0200
@@ -1,0 +2,6 @@
+Mon Aug 31 09:34:32 UTC 2020 - psim...@suse.com
+
+- Update uuid to version 1.3.13 revision 3.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+---



Other differences:
--



commit ghc-uuid for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-uuid for openSUSE:Factory 
checked in at 2020-08-28 21:40:37

Comparing /work/SRC/openSUSE:Factory/ghc-uuid (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-uuid.new.3399 (New)


Package is "ghc-uuid"

Fri Aug 28 21:40:37 2020 rev:2 rq:829478 version:1.3.13

Changes:

--- /work/SRC/openSUSE:Factory/ghc-uuid/ghc-uuid.changes2020-06-19 
17:05:24.076825231 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-uuid.new.3399/ghc-uuid.changes  
2020-08-28 21:40:38.736871075 +0200
@@ -1,0 +2,5 @@
+Tue Aug 18 10:46:30 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---



Other differences:
--
++ ghc-uuid.spec ++
--- /var/tmp/diff_new_pack.DvNi4E/_old  2020-08-28 21:40:39.652871412 +0200
+++ /var/tmp/diff_new_pack.DvNi4E/_new  2020-08-28 21:40:39.652871412 +0200
@@ -63,7 +63,7 @@
 This package provides the Haskell %{pkg_name} library development files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version}
 cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build




commit ghc-uuid for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-uuid for openSUSE:Factory 
checked in at 2017-09-15 22:22:43

Comparing /work/SRC/openSUSE:Factory/ghc-uuid (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-uuid.new (New)


Package is "ghc-uuid"

Fri Sep 15 22:22:43 2017 rev:7 rq:525626 version:1.3.13

Changes:

--- /work/SRC/openSUSE:Factory/ghc-uuid/ghc-uuid.changes2017-06-04 
01:59:07.326192679 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-uuid.new/ghc-uuid.changes   2017-09-15 
22:22:44.827854620 +0200
@@ -1,0 +2,5 @@
+Thu Aug  3 15:38:38 UTC 2017 - psim...@suse.com
+
+- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
+
+---



Other differences:
--
++ ghc-uuid.spec ++
--- /var/tmp/diff_new_pack.CEnlna/_old  2017-09-15 22:22:45.451766719 +0200
+++ /var/tmp/diff_new_pack.CEnlna/_new  2017-09-15 22:22:45.455766155 +0200
@@ -23,8 +23,8 @@
 Release:0
 Summary:For creating, comparing, parsing and printing Universally 
Unique Identifiers
 License:BSD-3-Clause
-Group:  Development/Languages/Other
-Url:https://hackage.haskell.org/package/%{pkg_name}
+Group:  Development/Libraries/Haskell
+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
@@ -39,7 +39,6 @@
 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
@@ -56,7 +55,7 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Other
+Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
@@ -85,11 +84,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc CHANGES.md
 
 %changelog




commit ghc-uuid for openSUSE:Factory

2017-06-03 Thread root
Hello community,

here is the log from the commit of package ghc-uuid for openSUSE:Factory 
checked in at 2017-06-04 01:59:06

Comparing /work/SRC/openSUSE:Factory/ghc-uuid (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-uuid.new (New)


Package is "ghc-uuid"

Sun Jun  4 01:59:06 2017 rev:6 rq:499736 version:1.3.13

Changes:

--- /work/SRC/openSUSE:Factory/ghc-uuid/ghc-uuid.changes2017-03-16 
09:36:06.172904044 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-uuid.new/ghc-uuid.changes   2017-06-04 
01:59:07.326192679 +0200
@@ -1,0 +2,5 @@
+Mon May 22 08:08:54 UTC 2017 - psim...@suse.com
+
+- Update to version 1.3.13 revision 1 with cabal2obs.
+
+---

New:

  uuid.cabal



Other differences:
--
++ ghc-uuid.spec ++
--- /var/tmp/diff_new_pack.CBJ1jp/_old  2017-06-04 01:59:07.834120922 +0200
+++ /var/tmp/diff_new_pack.CBJ1jp/_new  2017-06-04 01:59:07.834120922 +0200
@@ -26,6 +26,7 @@
 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
 BuildRequires:  ghc-binary-devel
 BuildRequires:  ghc-bytestring-devel
@@ -66,6 +67,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ uuid.cabal ++
Name: uuid
Version: 1.3.13
x-revision: 1
Copyright: (c) 2008-2014 Antoine Latter
Author: Antoine Latter
Maintainer: h...@gnu.org
License: BSD3
License-file: LICENSE
Category: Data
Build-Type: Simple
Cabal-Version: >= 1.10
Tested-With: GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2

Synopsis: For creating, comparing, parsing and printing Universally Unique 
Identifiers
Description:
 This library is useful for creating, comparing, parsing and
 printing Universally Unique Identifiers.
 .
 See  for the general idea.

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

Extra-Source-Files:
CHANGES.md

Source-Repository head
Type:  git
Location:  https://github.com/hvr/uuid.git
Subdir:uuid

Library
Build-Depends: base>= 4.3  && < 5,
   binary  >= 0.4  && < 0.9,
   bytestring  >= 0.10 && < 0.11,
   cryptohash-sha1 >= 0.11.100 && < 0.12,
   cryptohash-md5  >= 0.11.100 && < 0.12,
   entropy >= 0.3.7&& < 0.4,
   network-info== 0.2.*,
   random  >= 1.0.1&& < 1.2,
   time>= 1.1  && < 1.9,
   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

Default-Language:  Haskell2010
Default-Extensions: DeriveDataTypeable
Other-Extensions:  TypeFamilies
Ghc-Options:   -Wall

Test-Suite testuuid
Type:  exitcode-stdio-1.0
Main-is:   TestUUID.hs
Hs-source-dirs:tests
Default-Language:  Haskell2010
Default-Extensions: DeriveDataTypeable
Other-Extensions:  ViewPatterns
Ghc-Options:   -Wall -fno-warn-orphans
Build-Depends: uuid
Build-Depends: base >= 4.3   && < 5,
   bytestring   >= 0.9   && < 0.11,
   HUnit>= 1.2   && < 1.4,
   QuickCheck   >= 2.4   && < 2.10,
   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
Default-Language:  Haskell2010
Default-Extensions: DeriveDataTypeable, CPP
Ghc-Options:   -Wall -fno-warn-orphans
Build-Depends: uuid
Build-Depends: base   >= 4.3 && < 5,
   criterion  >= 0.4 && < 1.2,
   mersenne-random-pure64 >= 0.2 && < 0.3,
   random >= 1.0.1 && < 1.2



commit ghc-uuid for openSUSE:Factory

2017-03-16 Thread root
Hello community,

here is the log from the commit of package ghc-uuid for openSUSE:Factory 
checked in at 2017-03-16 09:36:05

Comparing /work/SRC/openSUSE:Factory/ghc-uuid (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-uuid.new (New)


Package is "ghc-uuid"

Thu Mar 16 09:36:05 2017 rev:5 rq:461689 version:1.3.13

Changes:

--- /work/SRC/openSUSE:Factory/ghc-uuid/ghc-uuid.changes2016-10-18 
10:41:10.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-uuid.new/ghc-uuid.changes   2017-03-16 
09:36:06.172904044 +0100
@@ -1,0 +2,10 @@
+Mon Dec 19 10:18:48 UTC 2016 - psim...@suse.com
+
+- Update to version 1.3.13 with cabal2obs.
+
+---
+Sun Dec 18 12:59:49 UTC 2016 - psim...@suse.com
+
+- Update to version 1.3.12 revision 3 with cabal2obs.
+
+---

Old:

  uuid-1.3.12.tar.gz
  uuid.cabal

New:

  uuid-1.3.13.tar.gz



Other differences:
--
++ ghc-uuid.spec ++
--- /var/tmp/diff_new_pack.J180g4/_old  2017-03-16 09:36:07.212756807 +0100
+++ /var/tmp/diff_new_pack.J180g4/_new  2017-03-16 09:36:07.216756241 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-uuid
 #
-# 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
@@ -19,19 +19,19 @@
 %global pkg_name uuid
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.3.12
+Version:1.3.13
 Release:0
 Summary:For creating, comparing, parsing and printing Universally 
Unique Identifiers
 License:BSD-3-Clause
 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/2.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-binary-devel
 BuildRequires:  ghc-bytestring-devel
-BuildRequires:  ghc-cryptonite-devel
-BuildRequires:  ghc-memory-devel
+BuildRequires:  ghc-cryptohash-md5-devel
+BuildRequires:  ghc-cryptohash-sha1-devel
+BuildRequires:  ghc-entropy-devel
 BuildRequires:  ghc-network-info-devel
 BuildRequires:  ghc-random-devel
 BuildRequires:  ghc-rpm-macros
@@ -49,8 +49,9 @@
 
 %description
 This library is useful for creating, comparing, parsing and printing
-Universally Unique Identifiers. See  for the
-general idea.
+Universally Unique Identifiers.
+
+See  for the general idea.
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
@@ -65,7 +66,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build
@@ -88,5 +88,6 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
+%doc CHANGES.md
 
 %changelog

++ uuid-1.3.12.tar.gz -> uuid-1.3.13.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/uuid-1.3.12/CHANGES new/uuid-1.3.13/CHANGES
--- old/uuid-1.3.12/CHANGES 2016-04-02 21:48:04.0 +0200
+++ new/uuid-1.3.13/CHANGES 1970-01-01 01:00:00.0 +0100
@@ -1,164 +0,0 @@
-1.3.12
-
-- Update package dependencies
-- Use `cryptonite` for crypto
-- The function `V4.nextRandom` is now implemented with functions from
-  `Crypto.Random` in package `cryptonite`. This does slow-down random
-  UUID generation but provides for far greater randomness. The
-  `Random` instance for `UUID` can be used to re-gain the old
-  behavior.
-
-1.3.11
-
-- Add toText/fromText
-
-1.3.10
-
-- Update dependencies in tests and benchmarks.
-
-1.3.9
-
-- Split definition of UUID data type into separate Cabal package to
-  enable 3rd party libraries to avoid some of the larger dependencies.
-
-1.3.8
-
-- Allow building against newer deepseq.
-
-1.3.7
-
-- Allow building against newer time.
-
-1.3.6
-
-- Move to GitHub.
-
-1.3.5
-
-- Allow building against newer random.
-
-1.3.4
-
-- Allow building against newer QuickCheck.
-
-1.3.3
-
-- More complex version constrainsts on hashable, to avoid building against
-  versions less than 1.1.1.0 or equal to 1.2.0.*.
-
-1.3.2
-
-- Fix for building against bytestring 0.9.*
-
-1.3.1
-
-- Allow building against 'hashable' 1.1.* in addition to 1.2.*
-
-1.3.0
-
-- New functions for parsing and printing UUIDs to and from ASCII BytesStrings
-- New module Data.UUID.Util. This module includes the type 'UnpackedUUID',

commit ghc-uuid for openSUSE:Factory

2016-10-18 Thread h_root
Hello community,

here is the log from the commit of package ghc-uuid for openSUSE:Factory 
checked in at 2016-10-18 10:41:09

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.changes2016-07-20 
09:24:07.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-uuid.new/ghc-uuid.changes   2016-10-18 
10:41:10.0 +0200
@@ -1,0 +2,5 @@
+Thu Sep 15 07:11:25 UTC 2016 - psim...@suse.com
+
+- Update to version 1.3.12 revision 2 with cabal2obs.
+
+---

Old:

  1.cabal

New:

  uuid.cabal



Other differences:
--
++ ghc-uuid.spec ++
--- /var/tmp/diff_new_pack.f9dYvW/_old  2016-10-18 10:41:11.0 +0200
+++ /var/tmp/diff_new_pack.f9dYvW/_new  2016-10-18 10:41:11.0 +0200
@@ -23,12 +23,11 @@
 Release:0
 Summary:For creating, comparing, parsing and printing Universally 
Unique Identifiers
 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
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-binary-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-cryptonite-devel
@@ -47,7 +46,6 @@
 BuildRequires:  ghc-tasty-hunit-devel
 BuildRequires:  ghc-tasty-quickcheck-devel
 %endif
-# End cabal-rpm deps
 
 %description
 This library is useful for creating, comparing, parsing and printing
@@ -69,20 +67,14 @@
 %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

++ uuid.cabal ++
Name: uuid
Version: 1.3.12
x-revision: 2
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  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.10,
   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



commit ghc-uuid for openSUSE:Factory

2016-07-20 Thread h_root
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.changes2016-04-03 
23:07:42.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-uuid.new/ghc-uuid.changes   2016-07-20 
09:24:07.0 +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.0 +0200
+++ /var/tmp/diff_new_pack.ihtrw0/_new  2016-07-20 09:24:08.0 +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  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  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:

commit ghc-uuid for openSUSE:Factory

2016-04-03 Thread h_root
Hello community,

here is the log from the commit of package ghc-uuid for openSUSE:Factory 
checked in at 2016-04-03 23:07:25

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.changes2015-12-09 
22:17:30.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-uuid.new/ghc-uuid.changes   2016-04-03 
23:07:42.0 +0200
@@ -1,0 +2,10 @@
+Sun Apr  3 15:18:34 UTC 2016 - mimi...@gmail.com
+
+- update to 1.3.12
+* Use `cryptonite` for crypto
+* The function `V4.nextRandom` is now implemented with functions from
+   `Crypto.Random` in package `cryptonite`. This does slow-down random
+   UUID generation but provides for far greater randomness. The
+   `Random` instance for `UUID` can be used to re-gain the old behavior.
+
+---

Old:

  uuid-1.3.11.tar.gz

New:

  uuid-1.3.12.tar.gz



Other differences:
--
++ ghc-uuid.spec ++
--- /var/tmp/diff_new_pack.54udf1/_old  2016-04-03 23:07:43.0 +0200
+++ /var/tmp/diff_new_pack.54udf1/_new  2016-04-03 23:07:43.0 +0200
@@ -21,7 +21,7 @@
 %bcond_with tests
 
 Name:   ghc-uuid
-Version:1.3.11
+Version:1.3.12
 Release:0
 Summary:For creating, comparing, parsing and printing Universally 
Unique Identifiers
 License:BSD-3-Clause
@@ -36,7 +36,8 @@
 # Begin cabal-rpm deps:
 BuildRequires:  ghc-binary-devel
 BuildRequires:  ghc-bytestring-devel
-BuildRequires:  ghc-cryptohash-devel
+BuildRequires:  ghc-cryptonite-devel
+BuildRequires:  ghc-memory-devel
 BuildRequires:  ghc-network-info-devel
 BuildRequires:  ghc-random-devel
 BuildRequires:  ghc-text-devel

++ uuid-1.3.11.tar.gz -> uuid-1.3.12.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/uuid-1.3.11/CHANGES new/uuid-1.3.12/CHANGES
--- old/uuid-1.3.11/CHANGES 2015-08-02 06:14:34.0 +0200
+++ new/uuid-1.3.12/CHANGES 2016-04-02 21:48:04.0 +0200
@@ -1,3 +1,13 @@
+1.3.12
+
+- Update package dependencies
+- Use `cryptonite` for crypto
+- The function `V4.nextRandom` is now implemented with functions from
+  `Crypto.Random` in package `cryptonite`. This does slow-down random
+  UUID generation but provides for far greater randomness. The
+  `Random` instance for `UUID` can be used to re-gain the old
+  behavior.
+
 1.3.11
 
 - Add toText/fromText
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/uuid-1.3.11/CONTRIBUTORS new/uuid-1.3.12/CONTRIBUTORS
--- old/uuid-1.3.11/CONTRIBUTORS2015-08-02 06:14:34.0 +0200
+++ new/uuid-1.3.12/CONTRIBUTORS1970-01-01 01:00:00.0 +0100
@@ -1,13 +0,0 @@
-In order of appearance:
-
-Antoine Latter
-Jason Dusek
-Tim Newsham
-Mark Lentczner
-Neil Mitchell
-Bas van Dijk
-Sergei Trofimovich
-davean
-Francesco Mazzoli
-Michael Snoyman
-Bardur Arantsson
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/uuid-1.3.11/Data/UUID/Named.hs 
new/uuid-1.3.12/Data/UUID/Named.hs
--- old/uuid-1.3.11/Data/UUID/Named.hs  2015-08-02 06:14:34.0 +0200
+++ new/uuid-1.3.12/Data/UUID/Named.hs  2016-04-02 21:48:04.0 +0200
@@ -33,19 +33,21 @@
 import Data.Maybe
 import Data.Word (Word8)
 
+import qualified Data.ByteArray as BA
 import qualified Data.ByteString as B
 import qualified Data.ByteString.Lazy as BL
 
 -- |Generate a 'UUID' within the specified namespace out of the given
 -- object.
-generateNamed :: (B.ByteString -> B.ByteString) -- ^Hash
+generateNamed :: BA.ByteArrayAccess bs
+  => (B.ByteString -> bs) -- ^Hash
   -> Word8   -- ^Version
   ->  UUID   -- ^Namespace
   -> [Word8] -- ^Object
   -> UUID
 generateNamed hash version namespace object =
 let chunk = B.pack $ toList namespace ++ object
-bytes = BL.fromChunks . (:[]) $ hash chunk
+bytes = BL.fromStrict . BA.convert $ hash chunk
 w = getWord32be
 unpackBytes = runGet $
  buildFromWords version <$> w <*> w <*> w <*> w
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/uuid-1.3.11/Data/UUID/V3.hs 
new/uuid-1.3.12/Data/UUID/V3.hs
--- old/uuid-1.3.11/Data/UUID/V3.hs 2015-08-02 06:14:34.0 +0200
+++ new/uuid-1.3.12/Data/UUID/V3.hs 2016-04-02 21:48:04.0 +0200
@@ -35,7 +35,7 @@
 
 import Data.UUID.Types.Internal
 import qualified Data.UUID.Named as Shared
-import qualified Crypto.Hash.MD5 as MD5
+import qualified Crypto.Hash as H
 
 
 -- |Generate a