Hello community, here is the log from the commit of package ghc-wai for openSUSE:Factory checked in at 2016-07-20 09:20:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-wai (Old) and /work/SRC/openSUSE:Factory/.ghc-wai.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-wai" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-wai/ghc-wai.changes 2016-05-31 12:24:40.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-wai.new/ghc-wai.changes 2016-07-20 09:20:24.000000000 +0200 @@ -1,0 +2,6 @@ +Sun Jul 10 17:31:24 UTC 2016 - [email protected] + +- Update to version 3.2.1.1 revision 0 with cabal2obs. + This update obsoletes remove-dep.patch. + +------------------------------------------------------------------- Old: ---- remove-dep.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-wai.spec ++++++ --- /var/tmp/diff_new_pack.FNlWOz/_old 2016-07-20 09:20:26.000000000 +0200 +++ /var/tmp/diff_new_pack.FNlWOz/_new 2016-07-20 09:20:26.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-wai # -# 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,34 +17,27 @@ %global pkg_name wai - %bcond_with tests - -Name: ghc-wai +Name: ghc-%{pkg_name} Version: 3.2.1.1 Release: 0 Summary: Web Application Interface License: MIT 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 -# PATCH-FIX-OPENSUSE remove-dep.path -- [email protected] remove unused dependency -Patch0: remove-dep.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-build - BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-blaze-builder-devel +BuildRequires: ghc-bytestring-builder-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-http-types-devel BuildRequires: ghc-network-devel +BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-devel BuildRequires: ghc-transformers-devel -BuildRequires: ghc-unix-compat-devel BuildRequires: ghc-vault-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-hspec-devel %endif @@ -53,34 +46,35 @@ %description API docs and the README are available at <http://www.stackage.org/package/wai>. - %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} -%patch0 -p1 + %build %ghc_lib_build + %install %ghc_lib_install + %check %if %{with tests} -%cabal test +%{cabal} test %endif + %post devel %ghc_pkg_recache @@ -93,6 +87,6 @@ %files devel -f %{name}-devel.files %defattr(-,root,root,-) -%doc README.md +%doc ChangeLog.md README.md %changelog
