Hello community, here is the log from the commit of package ghc-wai-extra for openSUSE:Factory checked in at 2016-07-20 09:23:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-wai-extra (Old) and /work/SRC/openSUSE:Factory/.ghc-wai-extra.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-wai-extra" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-wai-extra/ghc-wai-extra.changes 2016-07-12 23:52:58.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-wai-extra.new/ghc-wai-extra.changes 2016-07-20 09:23:22.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Jul 18 07:50:33 UTC 2016 - psimons@suse.com + +- Update to version 3.0.16.1 revision 0 with cabal2obs. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-wai-extra.spec ++++++ --- /var/tmp/diff_new_pack.nBXEAN/_old 2016-07-20 09:23:23.000000000 +0200 +++ /var/tmp/diff_new_pack.nBXEAN/_new 2016-07-20 09:23:23.000000000 +0200 @@ -17,22 +17,16 @@ %global pkg_name wai-extra - %bcond_with tests - -Name: ghc-wai-extra +Name: ghc-%{pkg_name} Version: 3.0.16.1 Release: 0 Summary: Provides some basic WAI handlers and middleware 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 -BuildRoot: %{_tmppath}/%{name}-%{version}-build - BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-aeson-devel BuildRequires: ghc-ansi-terminal-devel @@ -52,6 +46,7 @@ BuildRequires: ghc-network-devel BuildRequires: ghc-old-locale-devel BuildRequires: ghc-resourcet-devel +BuildRequires: ghc-rpm-macros BuildRequires: ghc-streaming-commons-devel BuildRequires: ghc-stringsearch-devel BuildRequires: ghc-text-devel @@ -64,55 +59,69 @@ BuildRequires: ghc-wai-devel BuildRequires: ghc-wai-logger-devel BuildRequires: ghc-word8-devel +BuildRequires: ghc-zlib-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-hspec-devel -BuildRequires: ghc-zlib-devel %endif # End cabal-rpm deps %description Provides basic WAI handler and middleware functionality: + * WAI Testing Framework Hspec testing facilities and helpers for WAI. + * Event Source/Event Stream Send server events to the client. Compatible with the JavaScript EventSource API. + * Accept Override Override the Accept header in a request. Special handling for the _accept query parameter (which is used throughout WAI override the Accept header). + * Add Headers WAI Middleware for adding arbitrary headers to an HTTP request. + * Clean Path Clean a request path to a canonical form. + * GZip Compression Negotiate HTTP payload gzip compression. + * HTTP Basic Authentication WAI Basic Authentication Middleware which uses Authorization header. + * JSONP "JSON with Padding" middleware. Automatic wrapping of JSON responses to convert into JSONP. + * Method Override / Post Allows overriding of the HTTP request method via the _method query string parameter. + * Request Logging Request logging middleware for development and production environments + * Request Rewrite Rewrite request path info based on a custom conversion rules. + * Stream Files Convert ResponseFile type responses into ResponseStream type. + * Virtual Host Redirect incoming requests to a new host based on custom rules. @@ -120,33 +129,35 @@ API docs and the README are available at http://www.stackage.org/package/wai-extra. - %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} + %build %ghc_lib_build + %install %ghc_lib_install + %check %if %{with tests} -%cabal test +%{cabal} test %endif + %post devel %ghc_pkg_recache @@ -159,6 +170,6 @@ %files devel -f %{name}-devel.files %defattr(-,root,root,-) -%doc README.md +%doc ChangeLog.md README.md %changelog