Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package happy for openSUSE:Factory checked in at 2026-11-24 12:38:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/happy (Old) and /work/SRC/openSUSE:Factory/.happy.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "happy" Tue Nov 24 12:38:18 2026 rev:33 rq:1399435 version:2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/happy/happy.changes 2025-08-25 20:38:45.617755431 +0200 +++ /work/SRC/openSUSE:Factory/.happy.new.1340718/happy.changes 2026-11-24 12:44:44.999020392 +0100 @@ -1,0 +2,12 @@ +Thu Jan 15 14:19:57 UTC 2026 - Peter Simons <[email protected]> + +- Update happy to version 2.2. + ## 2.2 + + * Error out when `<$>` appears in semantic action code + ([#335](https://github.com/haskell/happy/issues/335)). + + * Tested with GHC 8.0 - 9.14.1. + The Haskell code generated by Happy is for GHC 8.0 and up. + +------------------------------------------------------------------- Old: ---- happy-2.1.7.tar.gz New: ---- happy-2.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ happy.spec ++++++ --- /var/tmp/diff_new_pack.R7beJS/_old 2026-11-24 12:44:45.977061842 +0100 +++ /var/tmp/diff_new_pack.R7beJS/_new 2026-11-24 12:44:45.981062012 +0100 @@ -1,7 +1,7 @@ # # spec file for package happy # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,32 +16,32 @@ # +%bcond_with ghc_prof %bcond_with tests Name: happy -Version: 2.1.7 +Version: 2.2 Release: 0 Summary: Happy is a parser generator for Haskell License: BSD-2-Clause URL: https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-array-devel -BuildRequires: ghc-array-prof BuildRequires: ghc-base-devel -BuildRequires: ghc-base-prof -BuildRequires: ghc-containers-devel -BuildRequires: ghc-containers-prof BuildRequires: ghc-happy-lib-devel -BuildRequires: ghc-happy-lib-prof -BuildRequires: ghc-mtl-devel -BuildRequires: ghc-mtl-prof -BuildRequires: ghc-rpm-macros -Requires: ghc-happy-lib-templates +BuildRequires: ghc-rpm-macros >= 2.9.2 +# happy reads its code templates from the data files of happy-lib at run-time. +Requires: happy-data = %{version} ExcludeArch: %{ix86} +%if %{with ghc_prof} +BuildRequires: ghc-base-prof +BuildRequires: ghc-happy-lib-prof +%endif %if %{with tests} BuildRequires: ghc-process-devel +%if %{with ghc_prof} BuildRequires: ghc-process-prof %endif +%endif %description Happy is a parser generator for Haskell. Given a grammar specification in BNF, @@ -49,7 +49,7 @@ to the 'yacc' tool for C. %prep -%autosetup +%autosetup -p1 %build %define cabal_configure_options -f-bootstrap ++++++ happy-2.1.7.tar.gz -> happy-2.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/happy-2.1.7/ChangeLog.md new/happy-2.2/ChangeLog.md --- old/happy-2.1.7/ChangeLog.md 2001-09-09 03:46:40.000000000 +0200 +++ new/happy-2.2/ChangeLog.md 2001-09-09 03:46:40.000000000 +0200 @@ -1,5 +1,13 @@ # Revision history for Happy +## 2.2 + +* Error out when `<$>` appears in semantic action code + ([#335](https://github.com/haskell/happy/issues/335)). + +* Tested with GHC 8.0 - 9.14.1. + The Haskell code generated by Happy is for GHC 8.0 and up. + ## 2.1.7 * Add support for `{-# OPTIONS_HAPPY ... #-}` pragmas diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/happy-2.1.7/happy.cabal new/happy-2.2/happy.cabal --- old/happy-2.1.7/happy.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/happy-2.2/happy.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,5 +1,6 @@ +cabal-version: 1.18 name: happy -version: 2.1.7 +version: 2.2 license: BSD2 license-file: LICENSE copyright: (c) Andy Gill, Simon Marlow @@ -10,7 +11,6 @@ homepage: https://www.haskell.org/happy/ synopsis: Happy is a parser generator for Haskell category: Development -cabal-version: >= 1.10 build-type: Simple Description: @@ -19,8 +19,9 @@ grammar. Happy works in a similar way to the @yacc@ tool for C. tested-with: + GHC == 9.14.1 GHC == 9.12.2 - GHC == 9.10.2 + GHC == 9.10.3 GHC == 9.8.4 GHC == 9.6.7 GHC == 9.4.8 @@ -33,10 +34,12 @@ GHC == 8.2.2 GHC == 8.0.2 -extra-source-files: +extra-doc-files: ChangeLog.md - Makefile README.md + +extra-source-files: + Makefile examples/glr/nlp/Main.lhs examples/glr/nlp/Makefile examples/glr/nlp/README @@ -111,6 +114,9 @@ tests/error001.stderr tests/error001.stdout tests/error001.y + tests/issue335.stderr + tests/issue335.stdout + tests/issue335.y tests/monad001.y tests/monad002.ly tests/monaderror.y @@ -138,10 +144,7 @@ main-is: Main.lhs build-depends: base >= 4.9 && < 5, - array, - containers >= 0.4.2, - mtl >= 2.2.1, - happy-lib == 2.1.7 + happy-lib == 2.2 default-language: Haskell98 default-extensions: CPP, MagicHash, FlexibleContexts, NamedFieldPuns diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/happy-2.1.7/tests/Makefile new/happy-2.2/tests/Makefile --- old/happy-2.1.7/tests/Makefile 2001-09-09 03:46:40.000000000 +0200 +++ new/happy-2.2/tests/Makefile 2001-09-09 03:46:40.000000000 +0200 @@ -41,7 +41,7 @@ AttrGrammar001.y AttrGrammar002.y \ Pragma.y -ERROR_TESTS = error001.y +ERROR_TESTS = error001.y issue335.y # NOTE: `cabal` will set the `happy_datadir` env-var accordingly before invoking the test-suite #TEST_HAPPY_OPTS = --strict --template=.. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/happy-2.1.7/tests/issue335.stderr new/happy-2.2/tests/issue335.stderr --- old/happy-2.1.7/tests/issue335.stderr 1970-01-01 01:00:00.000000000 +0100 +++ new/happy-2.2/tests/issue335.stderr 2001-09-09 03:46:40.000000000 +0200 @@ -0,0 +1,2 @@ +issue335.y: 7: Found '<$>' in semantic action code; either write '<\$>' (for what usually is fmap) or '< $>' (for "less than rightmost item") + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/happy-2.1.7/tests/issue335.y new/happy-2.2/tests/issue335.y --- old/happy-2.1.7/tests/issue335.y 1970-01-01 01:00:00.000000000 +0100 +++ new/happy-2.2/tests/issue335.y 2001-09-09 03:46:40.000000000 +0200 @@ -0,0 +1,6 @@ +%name foo +%tokentype { String } + +%% + +foo : foo { void <$> putStr "The '<$>' shall mean 'fmap' but happy will read it as '< $>' which is not what we want." }
