[happy] update to 1.19.3 (cblrpm-0.8.11)
Jens Petersen
petersen at fedoraproject.org
Wed Jun 4 12:38:31 UTC 2014
commit b23271b58595201e7e6633d17fa3b3bd991ac521
Author: Jens Petersen <petersen at redhat.com>
Date: Wed Jun 4 21:38:35 2014 +0900
update to 1.19.3 (cblrpm-0.8.11)
.gitignore | 1 +
happy.spec | 21 +++++++++++++++------
sources | 2 +-
3 files changed, 17 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e98a46d..609fac6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ happy-1.18.5.tar.gz
/happy-1.18.9.tar.gz
/happy-1.18.10.tar.gz
/happy-1.19.2.tar.gz
+/happy-1.19.3.tar.gz
diff --git a/happy.spec b/happy.spec
index 200d28e..510848c 100644
--- a/happy.spec
+++ b/happy.spec
@@ -1,11 +1,13 @@
# https://fedoraproject.org/wiki/Packaging:Haskell
+%bcond_without tests
+
# no useful debuginfo for Haskell packages without C sources
%global debug_package %{nil}
Name: happy
# part of haskell-platform
-Version: 1.19.2
+Version: 1.19.3
Release: 1%{?dist}
Summary: Parser Generator for Haskell
@@ -19,12 +21,10 @@ BuildRequires: ghc-rpm-macros
BuildRequires: ghc-array-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-mtl-devel
+%if %{with tests}
+BuildRequires: ghc-process-devel
+%endif
# End cabal-rpm deps
-BuildRequires: autoconf
-BuildRequires: docbook-dtds
-BuildRequires: docbook-style-xsl
-BuildRequires: libxml2
-BuildRequires: libxslt
%description
Happy is a LALR(1) parser generator system for Haskell, similar to the tool
@@ -56,6 +56,12 @@ cd ..
%ghc_bin_install
+%check
+%if %{with tests}
+%cabal test
+%endif
+
+
%files
%doc ANNOUNCE CHANGES LICENSE README TODO doc/happy
%{_bindir}/happy
@@ -63,6 +69,9 @@ cd ..
%changelog
+* Wed Jun 04 2014 Jens Petersen <petersen at redhat.com> - 1.19.3-1
+- update to 1.19.3
+
* Wed May 14 2014 Jens Petersen <petersen at redhat.com> - 1.19.2-1
- update to 1.19.2
diff --git a/sources b/sources
index 6b0403e..be2c721 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-36602c3c6e3004f49754ea6c173d2c39 happy-1.19.2.tar.gz
+fb9f4aec9d9e3b92be95a8abc43704b4 happy-1.19.3.tar.gz
More information about the scm-commits
mailing list