- remove support for openSUSE < 11.0

- use "BuildRecommends: happy" for openSUSE >= 11.2

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/happy?expand=0&rev=24
This commit is contained in:
2009-10-28 20:27:42 +00:00
committed by Git OBS Bridge
parent 534c368cec
commit b1a2119734
2 changed files with 36 additions and 22 deletions
+6
View File
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 28 18:55:35 UTC 2009 - herbert@graeber-clan.de
- remove support for openSUSE < 11.0
- use "BuildRecommends: happy" for openSUSE >= 11.2
-------------------------------------------------------------------
Fri Sep 4 20:34:53 UTC 2009 - herbert@graeber-clan.de
+30 -22
View File
@@ -1,27 +1,35 @@
Name: happy
Version: 1.18.2
Release: 0
Summary: The LALR(1) Parser Generator for Haskell
License: BSD3
Group: Development/Languages/Haskell
URL: http://www.haskell.org/happy/
Source: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.bz2
BuildRequires: ghc
BuildRequires: happy
BuildRequires: libxslt
BuildRequires: sgml-skel
BuildRequires: docbook-xsl-stylesheets
BuildRequires: docbook-utils
BuildRequires: fop
%if 0%{?suse_version} >= 1100
BuildRequires: java-1_6_0-openjdk
# Copyright (c) 2005-2009 Herbert Graeber
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments to herbert@links2linux.de
# norootforbuild
Name: happy
Version: 1.18.2
Release: 0
Summary: The LALR(1) Parser Generator for Haskell
License: BSD3
Group: Development/Languages/Haskell
URL: http://www.haskell.org/happy/
Source: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.bz2
BuildRequires: ghc
%if %{suse_version} <= 1110
BuildRequires: happy
%else
BuildRequires: java-1_5_0-sun
BuildRecommends: happy
%endif
BuildRequires: licenses
Requires: licenses
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Prefix: /usr
BuildRequires: libxslt
BuildRequires: sgml-skel
BuildRequires: docbook-xsl-stylesheets
BuildRequires: docbook-utils
BuildRequires: fop
BuildRequires: java-1_6_0-openjdk
BuildRequires: licenses
Requires: licenses
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Prefix: /usr
%description
Happy is a parser generator system for Haskell, similar to the tool `yacc' for