Hello community, here is the log from the commit of package ghc-warp for openSUSE:Factory checked in at 2016-07-20 09:22:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-warp (Old) and /work/SRC/openSUSE:Factory/.ghc-warp.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-warp" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-warp/ghc-warp.changes 2016-07-12 23:53:01.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-warp.new/ghc-warp.changes 2016-07-20 09:22:27.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Jul 18 07:51:44 UTC 2016 - [email protected] + +- Update to version 3.2.7 revision 0 with cabal2obs. + This update obsoletes cabal-deps.patch. + +------------------------------------------------------------------- Old: ---- cabal-deps.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-warp.spec ++++++ --- /var/tmp/diff_new_pack.gTJXoM/_old 2016-07-20 09:22:28.000000000 +0200 +++ /var/tmp/diff_new_pack.gTJXoM/_new 2016-07-20 09:22:28.000000000 +0200 @@ -17,30 +17,22 @@ %global pkg_name warp - %bcond_with tests - -Name: ghc-warp +Name: ghc-%{pkg_name} Version: 3.2.7 Release: 0 Summary: A fast, light-weight web server for WAI applications 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 cabal-deps.patch [email protected] -Patch0: cabal-deps.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-build - BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-array-devel BuildRequires: ghc-async-devel BuildRequires: ghc-auto-update-devel BuildRequires: ghc-blaze-builder-devel +BuildRequires: ghc-bytestring-builder-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-case-insensitive-devel BuildRequires: ghc-containers-devel @@ -50,6 +42,7 @@ BuildRequires: ghc-http2-devel BuildRequires: ghc-iproute-devel BuildRequires: ghc-network-devel +BuildRequires: ghc-rpm-macros BuildRequires: ghc-simple-sendfile-devel BuildRequires: ghc-stm-devel BuildRequires: ghc-streaming-commons-devel @@ -59,6 +52,7 @@ BuildRequires: ghc-vault-devel BuildRequires: ghc-wai-devel BuildRequires: ghc-word8-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-HTTP-devel BuildRequires: ghc-HUnit-devel @@ -79,34 +73,35 @@ and ALPN (in TLS) but not upgrade. API docs and the README are available at <http://www.stackage.org/package/warp>. - %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 @@ -119,6 +114,6 @@ %files devel -f %{name}-devel.files %defattr(-,root,root,-) -%doc README.md +%doc ChangeLog.md README.md %changelog
