Hello community, here is the log from the commit of package ghc-shelly for openSUSE:Factory checked in at 2016-07-27 16:09:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-shelly (Old) and /work/SRC/openSUSE:Factory/.ghc-shelly.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-shelly" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-shelly/ghc-shelly.changes 2016-07-05 09:52:56.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-shelly.new/ghc-shelly.changes 2016-07-27 16:09:33.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Jul 10 17:27:18 UTC 2016 - psimons@suse.com + +- Update to version 1.6.8 revision 0 with cabal2obs. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-shelly.spec ++++++ --- /var/tmp/diff_new_pack.dTElN4/_old 2016-07-27 16:09:34.000000000 +0200 +++ /var/tmp/diff_new_pack.dTElN4/_new 2016-07-27 16:09:34.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-shelly # -# 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,22 +17,16 @@ %global pkg_name shelly - %bcond_with tests - -Name: ghc-shelly +Name: ghc-%{pkg_name} Version: 1.6.8 Release: 0 Summary: Shell-like (systems) programming in Haskell License: BSD-3-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 - BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-async-devel BuildRequires: ghc-bytestring-devel @@ -45,6 +39,7 @@ BuildRequires: ghc-monad-control-devel BuildRequires: ghc-mtl-devel BuildRequires: ghc-process-devel +BuildRequires: ghc-rpm-macros BuildRequires: ghc-system-fileio-devel BuildRequires: ghc-system-filepath-devel BuildRequires: ghc-text-devel @@ -52,6 +47,7 @@ BuildRequires: ghc-transformers-base-devel BuildRequires: ghc-transformers-devel BuildRequires: ghc-unix-compat-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-hspec-devel @@ -78,34 +74,35 @@ An overview is available in the README: https://github.com/yesodweb/Shelly.hs/blob/master/README.md. - %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} -cabal-tweak-dep-ver time '< 1.6' '< 1.7' + %build %ghc_lib_build + %install %ghc_lib_install + %check %if %{with tests} -%cabal test +%{cabal} test %endif + %post devel %ghc_pkg_recache @@ -118,6 +115,6 @@ %files devel -f %{name}-devel.files %defattr(-,root,root,-) -%doc README.md +%doc ChangeLog.md README.md %changelog