update to 0.1.1.5

This commit is contained in:
Jens Petersen 2015-01-23 14:30:55 +09:00
parent ad9a8ea2ad
commit 36414cd4a5
3 changed files with 25 additions and 9 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
/zlib-bindings-0.1.0.1.tar.gz
/zlib-bindings-0.1.1.1.tar.gz
/zlib-bindings-0.1.1.3.tar.gz
/zlib-bindings-0.1.1.5.tar.gz

View File

@ -2,36 +2,42 @@
%global pkg_name zlib-bindings
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.1.1.3
Release: 5%{?dist}
Version: 0.1.1.5
Release: 1%{?dist}
Summary: Low-level bindings to the zlib package
License: BSD
URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-zlib-devel
%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.
Deprecated in favor of streaming-commons.
%package devel
Summary: Haskell %{pkg_name} library development files
Provides: %{name}-static = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
Requires: %{name} = %{version}-%{release}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package provides the Haskell zlib-bindings library development files.
This package provides the Haskell %{pkg_name} library development files.
%prep
@ -46,6 +52,12 @@ This package provides the Haskell zlib-bindings library development files.
%ghc_lib_install
%check
%if %{with tests}
%cabal test
%endif
%post devel
%ghc_pkg_recache
@ -62,6 +74,9 @@ This package provides the Haskell zlib-bindings library development files.
%changelog
* Fri Jan 23 2015 Jens Petersen <petersen@redhat.com> - 0.1.1.3-1
- update to 0.1.1.5
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

View File

@ -1 +1 @@
d0a535c01d6773e9ef9318e43707601c zlib-bindings-0.1.1.3.tar.gz
c8c3d5e20a5c46612f0715f777a2823e zlib-bindings-0.1.1.5.tar.gz