commit ghc-nonce for openSUSE:Factory

2017-09-15 Thread root
Hello community,

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

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


Package is "ghc-nonce"

Fri Sep 15 22:01:34 2017 rev:4 rq:525088 version:1.0.4

Changes:

--- /work/SRC/openSUSE:Factory/ghc-nonce/ghc-nonce.changes  2017-06-22 
10:38:23.266585114 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-nonce.new/ghc-nonce.changes 2017-09-15 
22:01:36.106592074 +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-nonce.spec ++
--- /var/tmp/diff_new_pack.CPFkrn/_old  2017-09-15 22:01:36.750501340 +0200
+++ /var/tmp/diff_new_pack.CPFkrn/_new  2017-09-15 22:01:36.754500776 +0200
@@ -22,8 +22,8 @@
 Release:0
 Summary:Generate cryptographic nonces
 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
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-base64-bytestring-devel
@@ -32,7 +32,6 @@
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-transformers-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 According to the Wikipedia, a nonce is an arbitrary number used only once in a
@@ -46,7 +45,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}
@@ -71,10 +70,8 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 
 %changelog




commit ghc-nonce for openSUSE:Factory

2017-06-22 Thread root
Hello community,

here is the log from the commit of package ghc-nonce for openSUSE:Factory 
checked in at 2017-06-22 10:38:22

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


Package is "ghc-nonce"

Thu Jun 22 10:38:22 2017 rev:3 rq:504089 version:1.0.4

Changes:

--- /work/SRC/openSUSE:Factory/ghc-nonce/ghc-nonce.changes  2016-07-20 
09:28:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-nonce.new/ghc-nonce.changes 2017-06-22 
10:38:23.266585114 +0200
@@ -1,0 +2,5 @@
+Wed May 31 14:01:08 UTC 2017 - psim...@suse.com
+
+- Update to version 1.0.4.
+
+---

Old:

  1.cabal
  nonce-1.0.2.tar.gz

New:

  nonce-1.0.4.tar.gz



Other differences:
--
++ ghc-nonce.spec ++
--- /var/tmp/diff_new_pack.al2Spp/_old  2017-06-22 10:38:23.746517452 +0200
+++ /var/tmp/diff_new_pack.al2Spp/_new  2017-06-22 10:38:23.746517452 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-nonce
 #
-# 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
@@ -18,25 +18,21 @@
 
 %global pkg_name nonce
 Name:   ghc-%{pkg_name}
-Version:1.0.2
+Version:1.0.4
 Release:0
 Summary:Generate cryptographic nonces
 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
 BuildRequires:  ghc-Cabal-devel
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-base64-bytestring-devel
 BuildRequires:  ghc-bytestring-devel
-BuildRequires:  ghc-cprng-aes-devel
-BuildRequires:  ghc-crypto-random-devel
+BuildRequires:  ghc-entropy-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-transformers-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-# End cabal-rpm deps
 
 %description
 According to the Wikipedia, a nonce is an arbitrary number used only once in a
@@ -61,17 +57,13 @@
 
 %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
 

++ nonce-1.0.2.tar.gz -> nonce-1.0.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nonce-1.0.2/nonce.cabal new/nonce-1.0.4/nonce.cabal
--- old/nonce-1.0.2/nonce.cabal 2015-04-08 22:14:31.0 +0200
+++ new/nonce-1.0.4/nonce.cabal 2017-05-28 12:08:12.0 +0200
@@ -1,5 +1,5 @@
 name:nonce
-version: 1.0.2
+version: 1.0.4
 synopsis:Generate cryptographic nonces.
 homepage:https://github.com/prowdsponsor/nonce
 license: BSD3
@@ -28,13 +28,12 @@
   exposed-modules:
 Crypto.Nonce
   build-depends:
-  base  >= 4.5   && < 4.9
+  base  >= 4.5   && < 4.11
 , base64-bytestring == 1.0.*
 , bytestring>= 0.9
-, crypto-random == 0.0.*
-, cprng-aes >= 0.5   && < 0.7
 , text  >= 0.9
 , transformers  >= 0.2
+, entropy   >= 0.3.7 && < 0.4
   hs-source-dirs: src/
   default-language: Haskell2010
   ghc-options: -Wall
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nonce-1.0.2/src/Crypto/Nonce.hs 
new/nonce-1.0.4/src/Crypto/Nonce.hs
--- old/nonce-1.0.2/src/Crypto/Nonce.hs 2015-04-08 22:14:31.0 +0200
+++ new/nonce-1.0.4/src/Crypto/Nonce.hs 2017-05-28 12:08:12.0 +0200
@@ -32,21 +32,17 @@
 
 import Control.Monad (liftM)
 import Control.Monad.IO.Class (MonadIO, liftIO)
-import Data.Tuple (swap)
+import qualified System.Entropy as Entropy
 import Data.Typeable (Typeable)
 
-import qualified Crypto.Random as R
-import qualified Crypto.Random.AESCtr as AESCtr
 import qualified Data.ByteString as B
 import qualified Data.ByteString.Base64.URL as B64URL
-import qualified Data.IORef as I
 import qualified Data.Text as T
 import qualified Data.Text.Encoding as TE
 
 
 -- | An encapsulated nonce generator.
-data Generator =
-  G (I.IORef AESCtr.AESRNG)
+data Generator = G Entropy.CryptHandle
   deriving (Typeable)
 
 instance Show Generator where
@@ -55,12 +51,12 @@
 
 -- | Create a new nonce generator using the system entropy.
 new 

commit ghc-nonce for openSUSE:Factory

2016-07-20 Thread h_root
Hello community,

here is the log from the commit of package ghc-nonce for openSUSE:Factory 
checked in at 2016-07-20 09:28:07

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


Package is "ghc-nonce"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-nonce/ghc-nonce.changes  2016-05-03 
09:35:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-nonce.new/ghc-nonce.changes 2016-07-20 
09:28:12.0 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:00:05 UTC 2016 - psim...@suse.com
+
+- Update to version 1.0.2 revision 1 with cabal2obs.
+
+---

New:

  1.cabal



Other differences:
--
++ ghc-nonce.spec ++
--- /var/tmp/diff_new_pack.YwWkAR/_old  2016-07-20 09:28:13.0 +0200
+++ /var/tmp/diff_new_pack.YwWkAR/_new  2016-07-20 09:28:13.0 +0200
@@ -25,6 +25,7 @@
 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
 # Begin cabal-rpm deps:
 BuildRequires:  ghc-base64-bytestring-devel
@@ -60,23 +61,22 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 
 %build
-%{ghc_lib_build}
+%ghc_lib_build
 
 
 %install
-%{ghc_lib_install}
+%ghc_lib_install
 
 
 %post devel
-%{ghc_pkg_recache}
-
+%ghc_pkg_recache
 
 %postun devel
-%{ghc_pkg_recache}
-
+%ghc_pkg_recache
 
 %files -f %{name}.files
 %defattr(-,root,root,-)

++ 1.cabal ++
name:nonce
version: 1.0.2
x-revision: 1
synopsis:Generate cryptographic nonces.
homepage:https://github.com/prowdsponsor/nonce
license: BSD3
license-file:LICENSE
author:  Felipe Lessa 
maintainer:  Prowdsponsor 
copyright:   (c) 2014 Prowdsponsor
category:Cryptography
build-type:  Simple
cabal-version:   >= 1.10
description:
  According to the Wikipedia, a nonce is an arbitrary number used
  only once in a cryptographic communication.  This package
  contain helper functions for generating nonces.
  .
  There are many kinds of nonces used in different situations.
  It's not guaranteed that by using the nonces from this package
  you won't have any security issues.  Please make sure that the
  nonces generated via this package are usable on your design.

source-repository head
  type: git
  location: git://github.com/prowdsponsor/nonce.git

library
  exposed-modules:
Crypto.Nonce
  build-depends:
  base  >= 4.5   && < 4.10
, base64-bytestring == 1.0.*
, bytestring>= 0.9
, crypto-random == 0.0.*
, cprng-aes >= 0.5   && < 0.7
, text  >= 0.9
, transformers  >= 0.2
  hs-source-dirs: src/
  default-language: Haskell2010
  ghc-options: -Wall
  default-extensions:
DeriveDataTypeable