Hello community, here is the log from the commit of package ghc-entropy for openSUSE:Factory checked in at 2017-06-04 01:57:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-entropy (Old) and /work/SRC/openSUSE:Factory/.ghc-entropy.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-entropy" Sun Jun 4 01:57:11 2017 rev:3 rq:499694 version:0.3.7 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-entropy/ghc-entropy.changes 2016-07-21 08:12:50.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-entropy.new/ghc-entropy.changes 2017-06-04 01:57:12.370433015 +0200 @@ -1,0 +2,5 @@ +Mon May 22 08:08:52 UTC 2017 - [email protected] + +- Update to version 0.3.7 revision 1 with cabal2obs. + +------------------------------------------------------------------- New: ---- entropy.cabal ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-entropy.spec ++++++ --- /var/tmp/diff_new_pack.nqUi35/_old 2017-06-04 01:57:13.774234692 +0200 +++ /var/tmp/diff_new_pack.nqUi35/_new 2017-06-04 01:57:13.778234127 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-entropy # -# 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 @@ -22,16 +22,18 @@ Release: 0 Summary: A platform independent entropy source 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#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel -# Begin cabal-rpm deps: BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-directory-devel +BuildRequires: ghc-filepath-devel +BuildRequires: ghc-process-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-unix-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build -# End cabal-rpm deps %description A platform independent method to obtain cryptographically strong entropy @@ -52,16 +54,14 @@ %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 ++++++ entropy.cabal ++++++ name: entropy version: 0.3.7 x-revision: 1 description: A platform independent method to obtain cryptographically strong entropy (RDRAND when available anywhere, urandom on nix, CryptAPI on Windows, patches welcome) Users looking for cryptographically strong (number-theoretically sound) PRNGs should see the 'DRBG' package too. synopsis: A platform independent entropy source license: BSD3 license-file: LICENSE copyright: Thomas DuBuisson <[email protected]> author: Thomas DuBuisson <[email protected]> maintainer: Thomas DuBuisson <[email protected]> category: Data, Cryptography homepage: https://github.com/TomMD/entropy bug-reports: https://github.com/TomMD/entropy/issues stability: stable -- build-type: Simple -- ^^ Used for HaLVM build-type: Custom -- ^^ Test for RDRAND support using 'ghc' cabal-version: >=1.10 tested-with: GHC == 7.8.2 -- data-files: extra-source-files: ./cbits/rdrand.c, ./cbits/rdrand.h, README.md -- Notice to compile with HaLVM the above 'build-type' must be changed -- to 'Simple' instead of 'Custom'. The current build system naively -- runs GHC to determine if the compiler supports RDRAND before proceeding. flag halvm description: Build for the HaLVM default: False custom-setup setup-depends: Cabal >= 1.10 && < 2.2 , base < 5 , filepath < 1.5 , directory < 1.4 , process < 1.7 library ghc-options: -O2 exposed-modules: System.Entropy if os(windows) other-modules: System.EntropyWindows else { if os(halvm) other-modules: System.EntropyXen else other-modules: System.EntropyNix } other-extensions: CPP, ForeignFunctionInterface, BangPatterns, ScopedTypeVariables build-depends: base >= 4.3 && < 5, bytestring default-language: Haskell2010 if(os(halvm)) cpp-options: -DXEN -DHAVE_RDRAND cc-options: -DXEN -DHAVE_RDRAND if arch(x86_64) cpp-options: -Darch_x86_64 cc-options: -Darch_x86_64 -O2 -- gcc 4.8.2 on i386 fails to compile rdrand.c when using -fPIC! c-sources: cbits/rdrand.c include-dirs: cbits if arch(i386) cpp-options: -Darch_i386 cc-options: -Darch_i386 -O2 if os(windows) cpp-options: -DisWindows cc-options: -DisWindows extra-libraries: advapi32 else if !os(halvm) Build-Depends: unix source-repository head type: git location: https://github.com/TomMD/entropy
