Hello community, here is the log from the commit of package ghc-zlib-bindings for openSUSE:Factory checked in at 2016-07-20 09:22:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-zlib-bindings (Old) and /work/SRC/openSUSE:Factory/.ghc-zlib-bindings.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-zlib-bindings" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-zlib-bindings/ghc-zlib-bindings.changes 2015-05-28 09:54:37.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-zlib-bindings.new/ghc-zlib-bindings.changes 2016-07-20 09:22:42.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Jul 10 17:29:26 UTC 2016 - [email protected] + +- Update to version 0.1.1.5 revision 2 with cabal2obs. + +------------------------------------------------------------------- New: ---- 2.cabal ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-zlib-bindings.spec ++++++ --- /var/tmp/diff_new_pack.vvDVZ3/_old 2016-07-20 09:22:44.000000000 +0200 +++ /var/tmp/diff_new_pack.vvDVZ3/_new 2016-07-20 09:22:44.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-zlib-bindings # -# 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,50 +17,61 @@ %global pkg_name zlib-bindings - -Name: ghc-zlib-bindings +%bcond_with tests +Name: ghc-%{pkg_name} Version: 0.1.1.5 Release: 0 Summary: Low-level bindings to the zlib package License: BSD-2-Clause Group: System/Libraries - -Url: http://hackage.haskell.org/package/%{pkg_name} -Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build - +Url: https://hackage.haskell.org/package/%{pkg_name} +Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-rpm-macros BuildRequires: ghc-zlib-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if %{with tests} +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-hspec-devel +%endif # End cabal-rpm deps %description -Provides necessary functions for producing a streaming interface. This is used -for example by 'zlib-conduit' and 'zlib-enum'. - +Low-level bindings to the zlib package. %package devel Summary: Haskell %{pkg_name} library development files Group: Development/Libraries/Other -Provides: %{name}-static = %{version}-%{release} Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} %description devel This package provides the Haskell %{pkg_name} library development files. - %prep %setup -q -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal + %build %ghc_lib_build + %install %ghc_lib_install + +%check +%if %{with tests} +%{cabal} test +%endif + + %post devel %ghc_pkg_recache ++++++ 2.cabal ++++++ name: zlib-bindings version: 0.1.1.5 x-revision: 2 license: BSD3 license-file: LICENSE author: Michael Snoyman <[email protected]> maintainer: Gregory Collins <[email protected]> synopsis: Low-level bindings to the zlib package. description: Low-level bindings to the zlib package. category: Codec stability: Experimental cabal-version: >= 1.8 build-type: Simple homepage: http://github.com/snapframework/zlib-bindings extra-source-files: cbits/crc32.h cbits/inffast.h cbits/inflate.h cbits/trees.h cbits/deflate.h cbits/inffixed.h cbits/inftrees.h cbits/zutil.h, test/main.hs, LICENSE.gz library build-depends: base >= 4 && < 5 , bytestring >= 0.9.1.4 , zlib >= 0.5.2.0 exposed-modules: Codec.Zlib Codec.Zlib.Lowlevel ghc-options: -Wall c-sources: c/helper.c if os(windows) include-dirs: cbits install-includes: zlib.h zconf.h test-suite test main-is: main.hs hs-source-dirs: test type: exitcode-stdio-1.0 build-depends: base >= 4 && < 5 , bytestring , zlib , zlib-bindings , hspec >= 1.3 , QuickCheck >= 2.3 ghc-options: -Wall source-repository head type: git location: git://github.com/snapframework/zlib-bindings.git
