Hello community, here is the log from the commit of package ghc-crypto-numbers for openSUSE:Factory checked in at 2016-07-21 08:14:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-crypto-numbers (Old) and /work/SRC/openSUSE:Factory/.ghc-crypto-numbers.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-crypto-numbers" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-crypto-numbers/ghc-crypto-numbers.changes 2015-05-21 08:37:56.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-crypto-numbers.new/ghc-crypto-numbers.changes 2016-07-21 08:14:44.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Jul 10 17:31:39 UTC 2016 - psimons@suse.com + +- Update to version 0.2.7 revision 1 with cabal2obs. + +------------------------------------------------------------------- New: ---- 1.cabal ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-crypto-numbers.spec ++++++ --- /var/tmp/diff_new_pack.WIb9rc/_old 2016-07-21 08:14:46.000000000 +0200 +++ /var/tmp/diff_new_pack.WIb9rc/_new 2016-07-21 08:14:46.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-crypto-numbers # -# 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,26 +17,23 @@ %global pkg_name crypto-numbers - %bcond_with tests - -Name: ghc-crypto-numbers +Name: ghc-%{pkg_name} Version: 0.2.7 Release: 0 Summary: Cryptographic numbers: functions and algorithms License: BSD-2-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-bytestring-devel BuildRequires: ghc-crypto-random-devel +BuildRequires: ghc-rpm-macros BuildRequires: ghc-vector-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-byteable-devel BuildRequires: ghc-tasty-devel @@ -48,33 +45,36 @@ %description Cryptographic numbers: functions and algorithms. - %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: crypto-numbers Version: 0.2.7 x-revision: 1 Description: Cryptographic numbers: functions and algorithms License: BSD3 License-file: LICENSE Copyright: Vincent Hanquez <vincent@snarc.org> Author: Vincent Hanquez <vincent@snarc.org> Maintainer: Vincent Hanquez <vincent@snarc.org> Synopsis: Cryptographic numbers: functions and algorithms Category: Cryptography Build-Type: Simple Homepage: https://github.com/vincenthz/hs-crypto-numbers Cabal-Version: >=1.8 Extra-Source-Files: Tests/*.hs Flag integer-gmp Description: Are we using integer-gmp? Default: True Library Build-Depends: base >= 4 && < 5 , bytestring , vector , crypto-random >= 0.0 && < 0.1 Exposed-modules: Crypto.Number.ModArithmetic Crypto.Number.Serialize Crypto.Number.Generate Crypto.Number.Basic Crypto.Number.Polynomial Crypto.Number.F2m Crypto.Number.Prime if impl(ghc) && flag(integer-gmp) Build-depends: integer-gmp >= 0.3 , ghc-prim ghc-options: -Wall Test-Suite test-crypto-numbers type: exitcode-stdio-1.0 hs-source-dirs: Tests Main-Is: Tests.hs Build-depends: base >= 4 && < 5 , crypto-random , crypto-numbers , bytestring , byteable , vector , tasty , tasty-quickcheck , tasty-hunit ghc-options: -Wall -O2 Benchmark bench-crypto-numbers hs-source-dirs: Benchmarks Main-Is: Benchmarks.hs type: exitcode-stdio-1.0 Build-depends: base >= 4 && < 5 , bytestring , crypto-numbers , criterion , mtl source-repository head type: git location: https://github.com/vincenthz/hs-crypto-numbers