update to cblrpm-0.8.11

This commit is contained in:
Jens Petersen 2014-06-10 17:29:00 +09:00
parent d98723477e
commit 4fdd670877

View File

@ -2,14 +2,19 @@
%global pkg_name simple-sendfile
%bcond_with tests
# no useful debuginfo for Haskell packages without C sources
%global debug_package %{nil}
Name: ghc-%{pkg_name}
Version: 0.2.11
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Cross-platform sendfile system call
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
Source0: http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
@ -17,6 +22,14 @@ BuildRequires: ghc-rpm-macros
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-network-devel
BuildRequires: ghc-unix-devel
%if %{with tests}
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-conduit-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-hspec-devel
BuildRequires: ghc-network-conduit-devel
BuildRequires: ghc-process-devel
%endif
# End cabal-rpm deps
%description
@ -27,13 +40,15 @@ since they are a bottleneck for web servers.
%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 %{pkg_name} library development files.
This package provides the Haskell %{pkg_name} library development
files.
%prep
@ -48,6 +63,12 @@ This package provides the Haskell %{pkg_name} library development files.
%ghc_lib_install
%check
%if %{with tests}
%cabal test
%endif
%post devel
%ghc_pkg_recache
@ -64,6 +85,9 @@ This package provides the Haskell %{pkg_name} library development files.
%changelog
* Tue Jun 10 2014 Jens Petersen <petersen@redhat.com> - 0.2.11-5
- update to cblrpm-0.8.11
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.11-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild