Hello community,

here is the log from the commit of package ghc-executable-hash for 
openSUSE:Factory checked in at 2017-03-28 15:21:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-executable-hash (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-executable-hash.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-executable-hash"

Tue Mar 28 15:21:32 2017 rev:2 rq:479842 version:0.2.0.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-executable-hash/ghc-executable-hash.changes  
2017-03-09 01:55:36.169457181 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-executable-hash.new/ghc-executable-hash.changes 
    2017-03-28 15:21:36.210823431 +0200
@@ -1,0 +2,5 @@
+Mon Jan  9 06:33:47 UTC 2017 - [email protected]
+
+- Update to version 0.2.0.4 with cabal2obs.
+
+-------------------------------------------------------------------

Old:
----
  executable-hash-0.2.0.2.tar.gz

New:
----
  executable-hash-0.2.0.4.tar.gz

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

Other differences:
------------------
++++++ ghc-executable-hash.spec ++++++
--- /var/tmp/diff_new_pack.4ijjhd/_old  2017-03-28 15:21:36.854732236 +0200
+++ /var/tmp/diff_new_pack.4ijjhd/_new  2017-03-28 15:21:36.854732236 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-executable-hash
 #
-# 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,7 +18,7 @@
 
 %global pkg_name executable-hash
 Name:           ghc-%{pkg_name}
-Version:        0.2.0.2
+Version:        0.2.0.4
 Release:        0
 Summary:        Provides the SHA1 hash of the program executable
 License:        MIT
@@ -32,6 +32,7 @@
 BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-executable-path-devel
 BuildRequires:  ghc-file-embed-devel
+BuildRequires:  ghc-filepath-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-template-haskell-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -59,7 +60,7 @@
 
 %install
 %ghc_lib_install
-%ghc_fix_dynamic_rpath inject-executable-hash
+%ghc_fix_rpath %{pkg_name}-%{version}
 
 %post devel
 %ghc_pkg_recache

++++++ executable-hash-0.2.0.2.tar.gz -> executable-hash-0.2.0.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/executable-hash-0.2.0.2/ChangeLog.md 
new/executable-hash-0.2.0.4/ChangeLog.md
--- old/executable-hash-0.2.0.2/ChangeLog.md    2015-07-02 07:41:49.000000000 
+0200
+++ new/executable-hash-0.2.0.4/ChangeLog.md    2017-01-04 16:54:40.000000000 
+0100
@@ -1,3 +1,14 @@
+0.2.0.4
+=======
+
+Added `custom-setup` to `.cabal` file
+
+0.2.0.3
+=======
+
+Add a `PackageImport` to avoid conflicting module names for `Crypto.Hash.SHA1`
+introduced by the `cryptohash-sha1` package.
+
 0.2.0.0
 =======
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/executable-hash-0.2.0.2/System/Executable/Hash/Internal.hs 
new/executable-hash-0.2.0.4/System/Executable/Hash/Internal.hs
--- old/executable-hash-0.2.0.2/System/Executable/Hash/Internal.hs      
2015-07-02 07:41:49.000000000 +0200
+++ new/executable-hash-0.2.0.4/System/Executable/Hash/Internal.hs      
2017-01-04 16:48:59.000000000 +0100
@@ -1,3 +1,4 @@
+{-# LANGUAGE PackageImports #-}
 {-# LANGUAGE TemplateHaskell #-}
 {-# LANGUAGE OverloadedStrings #-}
 
@@ -6,7 +7,7 @@
 module System.Executable.Hash.Internal where
 
 import           Control.Exception (SomeException, handle)
-import           Crypto.Hash.SHA1 (hash)
+import "cryptohash" Crypto.Hash.SHA1 (hash)
 import qualified Data.ByteString as BS
 import           Data.FileEmbed (dummySpaceWith, injectWith)
 import           Language.Haskell.TH (Q, Exp)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/executable-hash-0.2.0.2/executable-hash.cabal 
new/executable-hash-0.2.0.4/executable-hash.cabal
--- old/executable-hash-0.2.0.2/executable-hash.cabal   2015-07-02 
07:41:49.000000000 +0200
+++ new/executable-hash-0.2.0.4/executable-hash.cabal   2017-01-04 
16:54:10.000000000 +0100
@@ -1,5 +1,5 @@
 name:                executable-hash
-version:             0.2.0.2
+version:             0.2.0.4
 synopsis:            Provides the SHA1 hash of the program executable
 description:         See README.md
 homepage:            https://github.com/fpco/executable-hash
@@ -19,6 +19,16 @@
   type: git
   location: git://github.com/fpco/executable-hash
 
+custom-setup
+  setup-depends: base
+               , bytestring
+               , Cabal
+               , cryptohash
+               , directory
+               , file-embed
+               , filepath
+               , template-haskell
+
 library
   exposed-modules:     System.Executable.Hash
                      , System.Executable.Hash.Internal


Reply via email to