Hello community,

here is the log from the commit of package happy for openSUSE:Factory checked 
in at 2015-02-10 20:23:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/happy (Old)
 and      /work/SRC/openSUSE:Factory/.happy.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "happy"

Changes:
--------
--- /work/SRC/openSUSE:Factory/happy/happy.changes      2014-11-26 
20:55:24.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.happy.new/happy.changes 2015-02-10 
20:23:46.000000000 +0100
@@ -1,0 +2,36 @@
+Mon Feb  2 19:11:21 UTC 2015 - [email protected]
+
+- downgrade to 1.19.4
+* strict version requirement by Haskell Platform 
+
+-------------------------------------------------------------------
+Mon Feb  2 12:02:42 UTC 2015 - [email protected]
+
+- change line endings from dos to unix in examples
+
+-------------------------------------------------------------------
+Sun Jan 18 20:18:58 UTC 2015 - [email protected]
+
+- update to 1.19.5
+- remove rpmlintrc
+* fixes for GHC 7.10
+* Code cleanups (thanks Index Int <[email protected]>) 
+
+-------------------------------------------------------------------
+Mon Nov 24 08:29:34 UTC 2014 - [email protected]
+
+- change licence to BSD-2-Clause 
+
+-------------------------------------------------------------------
+Sun Nov 23 19:02:58 UTC 2014 - [email protected]
+
+- typo in Summary
+
+-------------------------------------------------------------------
+Sun Nov 23 18:20:06 UTC 2014 - [email protected]
+
+- add tests
+- suppres warnings with rpmlintrc
+- spec file cleanup with cabal-rpm and spec-cleaner
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ happy.spec ++++++
--- /var/tmp/diff_new_pack.lb6Z3q/_old  2015-02-10 20:23:47.000000000 +0100
+++ /var/tmp/diff_new_pack.lb6Z3q/_new  2015-02-10 20:23:47.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package happy
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,12 +16,17 @@
 #
 
 
+# no useful debuginfo for Haskell packages without C sources
+%global debug_package %{nil}
+%bcond_without tests
 Name:           happy
 Version:        1.19.4
 Release:        0
-# BEGIN cabal2spec
+Summary:        The LALR(1) Parser Generator for Haskell
+License:        BSD-2-Clause
+Group:          Development/Languages/Other
 Url:            http://hackage.haskell.org/package/%{name}
-Source0:        
http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz
+Source0:        
http://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
 BuildRequires:  autoconf
 BuildRequires:  docbook-dtd
 BuildRequires:  docbook-xsl-stylesheets
@@ -33,41 +38,35 @@
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  libxml2
 BuildRequires:  libxslt
-# END cabal2spec
-
-Summary:        The LALR(1) Parser Generator for Haskell
-License:        BSD-2-Clause
-Group:          Development/Languages/Other
-
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%if %{with tests}
+BuildRequires:  ghc-process-devel
+%endif
 
 %description
-Parser generator system for Haskell, similar to the tool
-`yacc' for C. Like `yacc', it takes a file containing an annotated BNF
-specification of a grammar and produces a Haskell module containing a
-parser for the grammar.
-
-Happy is flexible: you can have several Happy parsers in the same
-program, and several entry points to a single grammar. Happy can work
-in conjunction with a lexical analyser supplied by the user (either
-hand-written or generated by another program), or it can parse a
-stream of characters directly (but this isn't practical in most
-cases).
+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.
 
 %prep
 %setup -q
+find  ./examples/glr/ -type f -exec sed -i 's/\r//' {} +
 
 %build
-%ghc_bin_build
+%{ghc_bin_build}
 cd doc
-test -f configure || autoreconf
-./configure
-make html
+autoreconf
+%configure
+make %{?_smp_mflags} html
+
+%check
+%if %{with tests}
+%{cabal} test
+%endif
 
 %install
-%ghc_bin_install
-mkdir -p %{buildroot}/%{_mandir}/man1
-cp doc/%{name}.1 %{buildroot}/%{_mandir}/man1
+%{ghc_bin_install}
+install -D --mode=444 doc/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
 
 %files
 %defattr(-,root,root)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to