[ghc-system-fileio] update to 0.3.14
Jens Petersen
petersen at fedoraproject.org
Wed Aug 27 08:57:17 UTC 2014
commit 0b5229e3211cddc2b2d970931291e6735fbb0e62
Author: Jens Petersen <petersen at redhat.com>
Date: Wed Aug 27 17:57:15 2014 +0900
update to 0.3.14
.gitignore | 1 +
ghc-system-fileio.spec | 24 +++++++++++++++++++++---
sources | 2 +-
3 files changed, 23 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4df9bc2..72ff756 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/system-fileio-0.3.11.tar.gz
+/system-fileio-0.3.14.tar.gz
diff --git a/ghc-system-fileio.spec b/ghc-system-fileio.spec
index 71ce0c2..435d98d 100644
--- a/ghc-system-fileio.spec
+++ b/ghc-system-fileio.spec
@@ -2,14 +2,16 @@
%global pkg_name system-fileio
+%bcond_with tests
+
Name: ghc-%{pkg_name}
-Version: 0.3.11
-Release: 3%{?dist}
+Version: 0.3.14
+Release: 1%{?dist}
Summary: Consistent filesystem interaction across GHC versions
License: MIT
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
@@ -19,6 +21,11 @@ BuildRequires: ghc-system-filepath-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-unix-devel
+%if %{with tests}
+BuildRequires: ghc-chell-devel
+BuildRequires: ghc-temporary-devel
+BuildRequires: ghc-transformers-devel
+%endif
# End cabal-rpm deps
%description
@@ -32,6 +39,7 @@ which can't be decoded in the current locale encoding.
%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}
@@ -53,6 +61,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
@@ -69,6 +83,10 @@ This package provides the Haskell %{pkg_name} library development files.
%changelog
+* Wed Aug 27 2014 Jens Petersen <petersen at redhat.com> - 0.3.14-1
+- update to 0.3.14
+- refresh to 0.8.11
+
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
diff --git a/sources b/sources
index 46b1ab2..b154b40 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e702c83c3c423c3fa44c5c682e67a60d system-fileio-0.3.11.tar.gz
+146c723ba788ebc871c9c1ac1842381c system-fileio-0.3.14.tar.gz
More information about the scm-commits
mailing list