Hello community,
here is the log from the commit of package happy for openSUSE:Factory checked in at 2016-07-21 08:13:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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 2015-08-23 17:40:19.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.happy.new/happy.changes 2016-07-21 08:14:06.000000000 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:23:32 UTC 2016 - psimons@suse.com
+
+- Update to version 1.19.5 revision 1 with cabal2obs.
+
+-------------------------------------------------------------------
Old:
----
_service
New:
----
1.cabal
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ happy.spec ++++++
--- /var/tmp/diff_new_pack.HZpqKD/_old 2016-07-21 08:14:07.000000000 +0200
+++ /var/tmp/diff_new_pack.HZpqKD/_new 2016-07-21 08:14:07.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package happy
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -16,29 +16,32 @@
#
-# no useful debuginfo for Haskell packages without C sources
-%global debug_package %{nil}
-%bcond_without tests
+%bcond_with tests
Name: happy
Version: 1.19.5
Release: 0
-Summary: The LALR(1) Parser Generator for Haskell
+Summary: Happy is a parser generator for Haskell
License: BSD-2-Clause
Group: Development/Languages/Other
-Url: http://hackage.haskell.org/package/%{name}
-Source0: http://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
+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
BuildRequires: autoconf
BuildRequires: docbook-dtd
BuildRequires: docbook-xsl-stylesheets
-BuildRequires: fop
-BuildRequires: ghc-Cabal-devel
+BuildRequires: libxml2
+BuildRequires: libxslt
+# Begin cabal-rpm deps:
BuildRequires: ghc-array-devel
BuildRequires: ghc-containers-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,
@@ -47,29 +50,32 @@
%prep
%setup -q
-find ./examples/glr/ -type f -exec sed -i 's/\r//' {} +
+cp -p %{SOURCE1} %{name}.cabal
+
%build
-%{ghc_bin_build}
+%ghc_bin_build
cd doc
autoreconf
%configure
make %{?_smp_mflags} html
%install
-%{ghc_bin_install}
+%ghc_bin_install
install -D --mode=444 doc/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
+
+%check
+%if %{with tests}
+%{cabal} test
+%endif
+
+
%files
-%defattr(-,root,root)
-%doc ANNOUNCE
-%doc CHANGES
+%defattr(-,root,root,-)
%doc LICENSE
-%doc README
-%doc TODO
-%doc doc/happy
-%doc examples
-%attr(755,root,root) %{_bindir}/%{name}
+%doc README TODO doc examples
+%{_bindir}/%{name}
%{_datadir}/%{name}-%{version}
%{_mandir}/man1/*
++++++ 1.cabal ++++++
name: happy
version: 1.19.5
x-revision: 1
license: BSD3
license-file: LICENSE
copyright: (c) Andy Gill, Simon Marlow
author: Andy Gill and Simon Marlow
maintainer: Simon Marlow