Hello community, here is the log from the commit of package ghc-split for openSUSE:Factory checked in at 2015-08-23 15:43:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-split (Old) and /work/SRC/openSUSE:Factory/.ghc-split.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-split" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-split/ghc-split.changes 2014-11-26 20:55:12.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-split.new/ghc-split.changes 2015-08-23 17:39:07.000000000 +0200 @@ -1,0 +2,6 @@ +Tue May 12 18:50:26 UTC 2015 - mimi...@gmail.com + +- regenerated spec file +- add split-base.patch change dep constrains in cabal file + +------------------------------------------------------------------- Old: ---- _service New: ---- split-base.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-split.spec ++++++ --- /var/tmp/diff_new_pack.J2pip9/_old 2015-08-23 17:39:08.000000000 +0200 +++ /var/tmp/diff_new_pack.J2pip9/_new 2015-08-23 17:39:08.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-split # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -18,6 +18,8 @@ %global pkg_name split +%bcond_with tests + Name: ghc-split Version: 0.2.2 Release: 0 @@ -25,16 +27,24 @@ License: BSD-3-Clause Group: System/Libraries -Url: http://hackage.haskell.org/package/%{pkg_name} -Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz +Url: https://hackage.haskell.org/package/%{pkg_name} +Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM split-base.patch fix cabal file dependency on base -- mimi...@gmail.com +Patch0: split-base.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: +%if %{with tests} +BuildRequires: ghc-QuickCheck-devel +%endif +# End cabal-rpm deps %description A collection of various methods for splitting lists into parts, akin to the -\"split\" function found in several mainstream languages. Here is its tale: +"split" function found in several mainstream languages. Here is its tale: Once upon a time the standard "Data.List" module held no function for splitting a list into parts according to a delimiter. Many a brave lambda-knight strove @@ -54,7 +64,6 @@ %package devel Summary: Haskell %{pkg_name} library development files Group: Development/Libraries/Other -Provides: %{name}-static = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} @@ -66,6 +75,7 @@ %prep %setup -q -n %{pkg_name}-%{version} +%patch0 -p1 %build %ghc_lib_build @@ -73,6 +83,11 @@ %install %ghc_lib_install +%check +%if %{with tests} +%cabal test +%endif + %post devel %ghc_pkg_recache ++++++ split-base.patch ++++++ diff --git a/split.cabal b/split.cabal index 695306c..11c86df 100644 --- a/split.cabal +++ b/split.cabal @@ -51,7 +51,7 @@ Source-repository head Library ghc-options: -Wall - build-depends: base <4.8 + build-depends: base <4.9 exposed-modules: Data.List.Split, Data.List.Split.Internals default-language: Haskell2010 Hs-source-dirs: src