Hello community, here is the log from the commit of package ghc-hslogger for openSUSE:Factory checked in at 2017-09-15 21:49:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-hslogger (Old) and /work/SRC/openSUSE:Factory/.ghc-hslogger.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-hslogger" Fri Sep 15 21:49:34 2017 rev:3 rq:524788 version:1.2.10 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-hslogger/ghc-hslogger.changes 2016-07-21 08:11:35.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-hslogger.new/ghc-hslogger.changes 2017-09-15 21:49:34.572279370 +0200 @@ -1,0 +2,5 @@ +Thu Aug 3 15:38:38 UTC 2017 - [email protected] + +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-hslogger.spec ++++++ --- /var/tmp/diff_new_pack.AWQhn1/_old 2017-09-15 21:49:35.388164367 +0200 +++ /var/tmp/diff_new_pack.AWQhn1/_new 2017-09-15 21:49:35.392163804 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-hslogger # -# 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 @@ -17,16 +17,16 @@ %global pkg_name hslogger +%bcond_with tests Name: ghc-%{pkg_name} Version: 1.2.10 Release: 0 Summary: Versatile logging framework License: BSD-3-Clause -Group: System/Libraries -Url: https://hackage.haskell.org/package/%{pkg_name} +Group: Development/Libraries/Haskell +URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel -# Begin cabal-rpm deps: BuildRequires: ghc-containers-devel BuildRequires: ghc-directory-devel BuildRequires: ghc-mtl-devel @@ -36,8 +36,9 @@ BuildRequires: ghc-rpm-macros BuildRequires: ghc-time-devel BuildRequires: ghc-unix-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build -# End cabal-rpm deps +%if %{with tests} +BuildRequires: ghc-HUnit-devel +%endif %description Hslogger is a logging framework for Haskell, roughly similar to Python's @@ -50,7 +51,7 @@ %package devel Summary: Haskell %{pkg_name} library development files -Group: Development/Libraries/Other +Group: Development/Libraries/Haskell Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} @@ -62,14 +63,14 @@ %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install +%check +%cabal_test %post devel %ghc_pkg_recache @@ -78,10 +79,8 @@ %ghc_pkg_recache %files -f %{name}.files -%defattr(-,root,root,-) %doc LICENSE %files devel -f %{name}-devel.files -%defattr(-,root,root,-) %changelog
