Hello community,

here is the log from the commit of package ghc-random for openSUSE:Factory 
checked in at 2017-02-11 01:41:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-random (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-random.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-random"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-random/ghc-random.changes    2016-07-21 
08:13:44.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-random.new/ghc-random.changes       
2017-02-11 01:41:48.291746676 +0100
@@ -1,0 +2,5 @@
+Thu Jan 26 16:20:16 UTC 2017 - [email protected]
+
+- Update to version 1.1 revision 1 with cabal2obs.
+
+-------------------------------------------------------------------

New:
----
  random.cabal

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

Other differences:
------------------
++++++ ghc-random.spec ++++++
--- /var/tmp/diff_new_pack.MUTwIY/_old  2017-02-11 01:41:49.923516425 +0100
+++ /var/tmp/diff_new_pack.MUTwIY/_new  2017-02-11 01:41:49.923516425 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-random
 #
-# 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,15 +22,14 @@
 Release:        0
 Summary:        Random number library
 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
 BuildRequires:  ghc-rpm-macros
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-time-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-# End cabal-rpm deps
 
 %description
 This package provides a basic random number generation library, including the
@@ -49,16 +48,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
 
@@ -71,6 +68,5 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
-%doc CHANGELOG.md README.md
 
 %changelog

++++++ random.cabal ++++++
name:           random
version:        1.1
x-revision: 1




license:        BSD3
license-file:   LICENSE
maintainer:     carter dot schonwald at google mail dot com
bug-reports:    https://github.com/haskell/random/issues
synopsis:       random number library
category:       System
description:
        This package provides a basic random number generation
        library, including the ability to split random number
        generators.

extra-source-files:
  .travis.yml
  README.md
  CHANGELOG.md
  .gitignore
  .darcs-boring



build-type: Simple
-- cabal-version 1.8 needed because "the field 'build-depends: random' refers
-- to a library which is defined within the same package"
cabal-version: >= 1.8



Library
    exposed-modules:
        System.Random
    extensions: CPP
    GHC-Options: -O2
    build-depends: base >= 3 && < 5, time

source-repository head
    type:     git
    location: http://git.haskell.org/packages/random.git

-- To run the Test-Suite:
-- $ cabal configure --enable-tests
-- $ cabal test --show-details=always --test-options="+RTS -M1M -RTS"

Test-Suite T7936
    type:           exitcode-stdio-1.0
    main-is:        T7936.hs
    hs-source-dirs: tests
    build-depends:  base >= 3 && < 5, random
    ghc-options:    -rtsopts -O2

Test-Suite TestRandomRs
    type:           exitcode-stdio-1.0
    main-is:        TestRandomRs.hs
    hs-source-dirs: tests
    build-depends:  base >= 3 && < 5, random
    ghc-options:    -rtsopts -O2
    -- TODO. Why does the following not work?
    --test-options:   +RTS -M1M -RTS

Test-Suite TestRandomIOs
    type:           exitcode-stdio-1.0
    main-is:        TestRandomIOs.hs
    hs-source-dirs: tests
    build-depends:  base >= 3 && < 5, random
    ghc-options:    -rtsopts -O2

Reply via email to