[ghc-scotty] update to 0.8.2
Jens Petersen
petersen at fedoraproject.org
Mon Sep 1 10:45:49 UTC 2014
commit 61ccb85a77dfe5ae7f73c46b532bbc5980002560
Author: Jens Petersen <petersen at redhat.com>
Date: Mon Sep 1 19:45:54 2014 +0900
update to 0.8.2
.gitignore | 1 +
ghc-scotty.spec | 25 +++++++++++++++++++++++--
sources | 2 +-
3 files changed, 25 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 83f93ef..8bf7639 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/scotty-0.5.0.tar.gz
+/scotty-0.8.2.tar.gz
diff --git a/ghc-scotty.spec b/ghc-scotty.spec
index b4a019b..0c9270c 100644
--- a/ghc-scotty.spec
+++ b/ghc-scotty.spec
@@ -2,9 +2,14 @@
%global pkg_name scotty
+%bcond_with tests
+
+# no useful debuginfo for Haskell packages without C sources
+%global debug_package %{nil}
+
Name: ghc-%{pkg_name}
-Version: 0.5.0
-Release: 6%{?dist}
+Version: 0.8.2
+Release: 1%{?dist}
Summary: Haskell web framework inspired by Ruby's Sinatra
License: BSD
@@ -21,13 +26,19 @@ BuildRequires: ghc-case-insensitive-devel
BuildRequires: ghc-conduit-devel
BuildRequires: ghc-data-default-devel
BuildRequires: ghc-http-types-devel
+BuildRequires: ghc-monad-control-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-regex-compat-devel
BuildRequires: ghc-text-devel
+BuildRequires: ghc-transformers-base-devel
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-wai-devel
BuildRequires: ghc-wai-extra-devel
BuildRequires: ghc-warp-devel
+%if %{with tests}
+BuildRequires: ghc-hspec-devel
+BuildRequires: ghc-lifted-base-devel
+%endif
# End cabal-rpm deps
%description
@@ -65,6 +76,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
@@ -82,6 +99,10 @@ This package provides the Haskell %{pkg_name} library development files.
%changelog
+* Mon Sep 01 2014 Jens Petersen <petersen at redhat.com> - 0.8.2-1
+- update to 0.8.2
+- refresh to cblrpm-0.8.11
+
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
diff --git a/sources b/sources
index ba281cb..3063e2d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f4d74114165619371562470ba5513f74 scotty-0.5.0.tar.gz
+dbf8d468b42173541346d38222e258f5 scotty-0.8.2.tar.gz
More information about the scm-commits
mailing list