[ghc-conduit] cblrpm refresh
Jens Petersen
petersen at fedoraproject.org
Tue Jan 27 14:12:05 UTC 2015
commit 2218e1057a3ce0d2938c3a2787bf1d38474caaa0
Author: Jens Petersen <petersen at fedoraproject.org>
Date: Tue Jan 27 23:11:49 2015 +0900
cblrpm refresh
ghc-conduit.spec | 23 +++++++++++++++++++----
1 files changed, 19 insertions(+), 4 deletions(-)
---
diff --git a/ghc-conduit.spec b/ghc-conduit.spec
index 8194d0e..fea0cb6 100644
--- a/ghc-conduit.spec
+++ b/ghc-conduit.spec
@@ -2,14 +2,16 @@
%global pkg_name conduit
+%bcond_with tests
+
Name: ghc-%{pkg_name}
Version: 1.0.13.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Streaming data processing library
License: MIT
-URL: http://hackage.haskell.org/package/%{pkg_name}
-Source0: http://hackage.haskell.org/package/%{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
@@ -26,10 +28,14 @@ BuildRequires: ghc-text-devel
BuildRequires: ghc-transformers-base-devel
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-void-devel
+%if %{with tests}
+BuildRequires: ghc-QuickCheck-devel
+BuildRequires: ghc-hspec-devel
+%endif
# End cabal-rpm deps
%description
-Conduit is a solution to the streaming data problem, allowing for production,
+'conduit' is a solution to the streaming data problem, allowing for production,
transformation, and consumption of streams of data in constant memory.
It is an alternative to lazy I/O which guarantees deterministic resource
handling, and fits in the same general solution space as enumerator, iteratee,
@@ -61,6 +67,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
@@ -77,6 +89,9 @@ This package provides the Haskell %{pkg_name} library development files.
%changelog
+* Tue Jan 27 2015 Jens Petersen <petersen at fedoraproject.org> - 1.0.13.1-4
+- cblrpm refresh
+
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.13.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
More information about the scm-commits
mailing list