Hello community,

here is the log from the commit of package happy for openSUSE:Factory checked 
in at 2017-06-04 01:56:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/happy (Old)
 and      /work/SRC/openSUSE:Factory/.happy.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "happy"

Sun Jun  4 01:56:20 2017 rev:12 rq:494208 version:1.19.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/happy/happy.changes      2016-07-21 
08:14:06.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.happy.new/happy.changes 2017-06-04 
01:56:21.661597005 +0200
@@ -1,0 +2,5 @@
+Sat Apr 29 18:32:34 UTC 2017 - [email protected]
+
+- Update to version 1.19.5 revision 2 with cabal2obs.
+
+-------------------------------------------------------------------

Old:
----
  1.cabal

New:
----
  happy.cabal

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ happy.spec ++++++
--- /var/tmp/diff_new_pack.sSqC7l/_old  2017-06-04 01:56:22.377495864 +0200
+++ /var/tmp/diff_new_pack.sSqC7l/_new  2017-06-04 01:56:22.381495299 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package happy
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,23 +25,23 @@
 Group:          Development/Languages/Other
 Url:            https://hackage.haskell.org/package/%{name}
 Source0:        
https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
-Source1:        
https://hackage.haskell.org/package/%{name}-%{version}/revision/1.cabal
-BuildRequires:  ghc-Cabal-devel
+Source1:        
https://hackage.haskell.org/package/%{name}-%{version}/revision/2.cabal#/%{name}.cabal
 BuildRequires:  autoconf
 BuildRequires:  docbook-dtd
 BuildRequires:  docbook-xsl-stylesheets
-BuildRequires:  libxml2
-BuildRequires:  libxslt
-# Begin cabal-rpm deps:
+BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-array-devel
 BuildRequires:  ghc-containers-devel
+BuildRequires:  ghc-directory-devel
+BuildRequires:  ghc-filepath-devel
 BuildRequires:  ghc-mtl-devel
 BuildRequires:  ghc-rpm-macros
+BuildRequires:  libxml2
+BuildRequires:  libxslt
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-process-devel
 %endif
-# End cabal-rpm deps
 
 %description
 Happy is a parser generator for Haskell. Given a grammar specification in BNF,
@@ -52,7 +52,6 @@
 %setup -q
 cp -p %{SOURCE1} %{name}.cabal
 
-
 %build
 %ghc_bin_build
 cd doc
@@ -64,17 +63,13 @@
 %ghc_bin_install
 install -D --mode=444 doc/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
 
-
 %check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
 
 %files
 %defattr(-,root,root,-)
 %doc LICENSE
-%doc README TODO doc examples
+%doc CHANGES README TODO doc examples
 %{_bindir}/%{name}
 %{_datadir}/%{name}-%{version}
 %{_mandir}/man1/*

++++++ happy.cabal ++++++
name: happy
version: 1.19.5
x-revision: 2
license: BSD3
license-file: LICENSE
copyright: (c) Andy Gill, Simon Marlow
author: Andy Gill and Simon Marlow
maintainer: Simon Marlow <[email protected]>
bug-reports: https://github.com/simonmar/happy/issues
stability: stable
homepage: http://www.haskell.org/happy/
synopsis: Happy is a parser generator for Haskell
category: Development
cabal-version: >= 1.8
build-type: Custom

Description:
  Happy is a parser generator for Haskell.  Given a grammar
  specification in BNF, Happy generates Haskell code to parse the
  grammar.  Happy works in a similar way to the @yacc@ tool for C.

extra-source-files:
        ANNOUNCE
        CHANGES
        Makefile
        README
        TODO
        doc/Makefile
        doc/aclocal.m4
        doc/config.mk.in
        doc/configure.ac
        doc/docbook-xml.mk
        doc/fptools.css
        doc/happy.1.in
        doc/happy.xml
        examples/glr/nlp/Main.lhs
        examples/glr/nlp/Makefile
        examples/glr/nlp/README
        examples/glr/nlp/English.y
        examples/glr/nlp/Hugs.lhs
        examples/glr/Makefile
        examples/glr/Makefile.defs
        examples/glr/expr-eval/Main.lhs
        examples/glr/expr-eval/Makefile
        examples/glr/expr-eval/Expr.y
        examples/glr/expr-eval/README
        examples/glr/expr-eval/Hugs.lhs
        examples/glr/expr-tree/Main.lhs
        examples/glr/expr-tree/Makefile
        examples/glr/expr-tree/Expr.y
        examples/glr/expr-tree/README
        examples/glr/expr-tree/Tree.lhs
        examples/glr/expr-tree/Hugs.lhs
        examples/glr/highly-ambiguous/Main.lhs
        examples/glr/highly-ambiguous/Makefile
        examples/glr/highly-ambiguous/Expr.y
        examples/glr/highly-ambiguous/README
        examples/glr/highly-ambiguous/Hugs.lhs
        examples/glr/hidden-leftrec/Main.lhs
        examples/glr/hidden-leftrec/Makefile
        examples/glr/hidden-leftrec/Expr.y
        examples/glr/hidden-leftrec/README
        examples/glr/hidden-leftrec/Hugs.lhs
        examples/glr/expr-monad/Main.lhs
        examples/glr/expr-monad/Makefile
        examples/glr/expr-monad/Expr.y
        examples/glr/expr-monad/README
        examples/glr/expr-monad/Hugs.lhs
        examples/glr/bio-eg/Main.lhs
        examples/glr/bio-eg/Makefile
        examples/glr/bio-eg/Bio.y
        examples/glr/bio-eg/README
        examples/glr/bio-eg/1-1200.dna
        examples/glr/bio-eg/1-600.dna
        examples/glr/common/DV_lhs
        examples/glr/common/DaVinciTypes.hs
        examples/glr/packing/Main.lhs
        examples/glr/packing/Makefile
        examples/glr/packing/Expr.y
        examples/glr/packing/README
        examples/glr/packing/Hugs.lhs
        examples/PgnParser.ly
        examples/MonadTest.ly
        examples/igloo/ParserM.hs
        examples/igloo/Makefile
        examples/igloo/Parser.y
        examples/igloo/Foo.hs
        examples/igloo/README
        examples/igloo/Lexer.hs
        examples/igloo/Lexer.x
        examples/igloo/Parser.hs
        examples/README
        examples/Calc.ly
        examples/DavesExample.ly
        examples/ErrorTest.ly
        examples/ErlParser.ly
        examples/SimonsExample.ly
        examples/LexerTest.ly
        happy.spec
        src/ARRAY-NOTES
        templates/GLR_Base.hs
        templates/GenericTemplate.hs
        templates/GLR_Lib.hs
        tests/AttrGrammar001.y
        tests/AttrGrammar002.y
        tests/error001.y
        tests/error001.stdout
        tests/error001.stderr
        tests/monad001.y
        tests/monaderror.y
        tests/Makefile
        tests/TestMulti.ly
        tests/Partial.ly
        tests/precedence001.ly
        tests/TestPrecedence.ly
        tests/bogus-token.y
        tests/monad002.ly
        tests/bug001.ly
        tests/bug002.y
        tests/Test.ly
        tests/precedence002.y
        tests/test_rules.y

source-repository head
  type:     git
  location: http://github.com/simonmar/happy.git

flag small_base
  description: Deprecated. Does nothing.

custom-setup
  setup-depends: Cabal < 2.1, base < 5, directory < 1.4, filepath < 1.5

executable happy
  hs-source-dirs: src
  main-is: Main.lhs

  build-depends: base < 5,
                 array,
                 containers >= 0.4.2,
                 mtl >= 1.0

  extensions: CPP, MagicHash, FlexibleContexts
  ghc-options: -Wall -fno-warn-type-defaults
  other-modules:
        AbsSyn
        First
        GenUtils
        Grammar
        Info
        LALR
        Lexer
        Main
        ParseMonad
        Parser
        ProduceCode
        ProduceGLRCode
        NameSet
        Target
        AttrGrammar
        AttrGrammarParser
        ParamRules

test-suite tests
  type: exitcode-stdio-1.0
  main-is: test.hs
  build-depends: base, process

Reply via email to