Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-entropy for openSUSE:Factory checked in at 2021-11-11 21:37:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-entropy (Old) and /work/SRC/openSUSE:Factory/.ghc-entropy.new.1890 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-entropy" Thu Nov 11 21:37:34 2021 rev:5 rq:930433 version:0.4.1.7 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-entropy/ghc-entropy.changes 2021-06-23 17:38:26.976489448 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-entropy.new.1890/ghc-entropy.changes 2021-11-11 21:38:21.256973207 +0100 @@ -1,0 +2,6 @@ +Wed Nov 3 15:52:45 UTC 2021 - [email protected] + +- Update entropy to version 0.4.1.7. + Upstream does not provide a change log file. + +------------------------------------------------------------------- Old: ---- entropy-0.4.1.6.tar.gz entropy.cabal New: ---- entropy-0.4.1.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-entropy.spec ++++++ --- /var/tmp/diff_new_pack.ZJ8egK/_old 2021-11-11 21:38:21.684973519 +0100 +++ /var/tmp/diff_new_pack.ZJ8egK/_new 2021-11-11 21:38:21.688973522 +0100 @@ -18,13 +18,12 @@ %global pkg_name entropy Name: ghc-%{pkg_name} -Version: 0.4.1.6 +Version: 0.4.1.7 Release: 0 Summary: A platform independent entropy source License: BSD-3-Clause 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-bytestring-devel BuildRequires: ghc-directory-devel @@ -52,7 +51,6 @@ %prep %autosetup -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build ++++++ entropy-0.4.1.6.tar.gz -> entropy-0.4.1.7.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/entropy-0.4.1.6/Setup.hs new/entropy-0.4.1.7/Setup.hs --- old/entropy-0.4.1.6/Setup.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/entropy-0.4.1.7/Setup.hs 2001-09-09 03:46:40.000000000 +0200 @@ -26,7 +26,7 @@ compileCheck :: FilePath -> String -> String -> String -> IO Bool compileCheck cc testName message sourceCode = do - withTempDirectory normal "" testName $ \tmpDir -> do + withTempDirectory normal "" testName $ \tmpDir -> do writeFile (tmpDir ++ "/" ++ testName ++ ".c") sourceCode ec <- myRawSystemExitCode normal cc [tmpDir </> testName ++ ".c", "-o", tmpDir ++ "/a","-no-hs-main"] notice normal $ message ++ show (ec == ExitSuccess) @@ -54,7 +54,7 @@ checkGetrandom :: FilePath -> LocalBuildInfo -> IO LocalBuildInfo checkGetrandom cc lbi = do - libcGetrandom <- compileCheck cc "testLibcGetrandom" "Result of libc getrandom() Test: " + libcGetrandom <- compileCheck cc "testLibcGetrandom" "Result of libc getrandom() Test: " (unlines [ "#define _GNU_SOURCE" , "#include <errno.h>" , "#include <sys/random.h>" @@ -65,8 +65,8 @@ , " return getrandom(&tmp, sizeof(tmp), GRND_NONBLOCK) != -1;" , "}" ]) - if libcGetrandom then return $ addOptions cArgsLibc cArgsLibc lbi - else do + if libcGetrandom then return $ addOptions cArgsLibc cArgsLibc lbi + else do syscallGetrandom <- compileCheck cc "testSyscallGetrandom" "Result of syscall getrandom() Test: " (unlines [ "#define _GNU_SOURCE" , "#include <errno.h>" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/entropy-0.4.1.6/entropy.cabal new/entropy-0.4.1.7/entropy.cabal --- old/entropy-0.4.1.6/entropy.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/entropy-0.4.1.7/entropy.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,5 +1,6 @@ name: entropy -version: 0.4.1.6 + +version: 0.4.1.7 description: A mostly platform independent method to obtain cryptographically strong entropy (RDRAND, urandom, CryptAPI, and patches welcome) Users looking for cryptographically strong (number-theoretically @@ -34,7 +35,7 @@ custom-setup - setup-depends: Cabal >= 1.10 && < 3.3 + setup-depends: Cabal >= 1.10 && < 3.7 , base < 5 , filepath < 1.5 , directory < 1.4
