Hello community,
here is the log from the commit of package ghc-hspec-smallcheck for
openSUSE:Factory checked in at 2017-02-11 01:40:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-hspec-smallcheck (Old)
and /work/SRC/openSUSE:Factory/.ghc-hspec-smallcheck.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-hspec-smallcheck"
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-hspec-smallcheck/ghc-hspec-smallcheck.changes
2017-01-12 15:45:07.914221207 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-hspec-smallcheck.new/ghc-hspec-smallcheck.changes
2017-02-11 01:41:00.458496246 +0100
@@ -1,0 +2,5 @@
+Thu Jan 26 16:20:12 UTC 2017 - [email protected]
+
+- Update to version 0.4.1 revision 1 with cabal2obs.
+
+-------------------------------------------------------------------
New:
----
hspec-smallcheck.cabal
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-hspec-smallcheck.spec ++++++
--- /var/tmp/diff_new_pack.8gHwF8/_old 2017-02-11 01:41:01.362368703 +0100
+++ /var/tmp/diff_new_pack.8gHwF8/_new 2017-02-11 01:41:01.366368139 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-hspec-smallcheck
#
-# 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
@@ -23,11 +23,11 @@
Release: 0
Summary: SmallCheck support for the Hspec testing framework
License: MIT
-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-hspec-core-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-smallcheck-devel
@@ -36,7 +36,6 @@
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-hspec-devel
%endif
-# End cabal-rpm deps
%description
SmallCheck support for the Hspec testing framework.
@@ -55,21 +54,16 @@
%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
-%endif
-
+%cabal_test
%post devel
%ghc_pkg_recache
++++++ hspec-smallcheck.cabal ++++++
name: hspec-smallcheck
version: 0.4.1
x-revision: 1
license: MIT
license-file: LICENSE
copyright: (c) 2013-2015 Simon Hengel
maintainer: Simon Hengel <[email protected]>
build-type: Simple
cabal-version: >= 1.8
category: Testing
bug-reports: https://github.com/hspec/hspec-smallcheck/issues
homepage: http://hspec.github.io/
synopsis: SmallCheck support for the Hspec testing framework
description: SmallCheck support for the Hspec testing framework
source-repository head
type: git
location: https://github.com/hspec/hspec-smallcheck
library
ghc-options:
-Wall
hs-source-dirs:
src
exposed-modules:
Test.Hspec.SmallCheck
build-depends:
base == 4.*
, hspec-core >= 2 && < 2.4
, smallcheck >= 1.0
test-suite spec
type:
exitcode-stdio-1.0
ghc-options:
-Wall
hs-source-dirs:
test
main-is:
Spec.hs
build-depends:
base == 4.*
, hspec
, hspec-core
, smallcheck
, hspec-smallcheck
, QuickCheck