Hello community,
here is the log from the commit of package ghc-haskell-src-exts for
openSUSE:Factory checked in at 2016-07-21 08:04:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-haskell-src-exts (Old)
and /work/SRC/openSUSE:Factory/.ghc-haskell-src-exts.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-haskell-src-exts"
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-haskell-src-exts/ghc-haskell-src-exts.changes
2016-01-08 15:23:05.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-haskell-src-exts.new/ghc-haskell-src-exts.changes
2016-07-21 08:04:25.000000000 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:32:21 UTC 2016 - [email protected]
+
+- Update to version 1.17.1 revision 1 with cabal2obs.
+
+-------------------------------------------------------------------
New:
----
1.cabal
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-haskell-src-exts.spec ++++++
--- /var/tmp/diff_new_pack.jGw4fO/_old 2016-07-21 08:04:26.000000000 +0200
+++ /var/tmp/diff_new_pack.jGw4fO/_new 2016-07-21 08:04:26.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-haskell-src-exts
#
-# Copyright (c) 2014 SUSE LINUX Products 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
@@ -17,18 +17,18 @@
%global pkg_name haskell-src-exts
-# no useful debuginfo for Haskell packages without C sources
-%global debug_package %{nil}
%bcond_with tests
-Name: ghc-haskell-src-exts
+Name: ghc-%{pkg_name}
Version: 1.17.1
Release: 0
Summary: Manipulating Haskell source: abstract syntax, lexer, parser,
and pretty-printer
License: BSD-3-Clause
-Group: Development/Libraries/Other
-Url: http://hackage.haskell.org/package/%{pkg_name}
-Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
+Group: System/Libraries
+Url: https://hackage.haskell.org/package/%{pkg_name}
+Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal
BuildRequires: ghc-Cabal-devel
+# Begin cabal-rpm deps:
BuildRequires: ghc-array-devel
BuildRequires: ghc-cpphs-devel
BuildRequires: ghc-pretty-devel
@@ -40,12 +40,14 @@
BuildRequires: ghc-directory-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-mtl-devel
+BuildRequires: ghc-pretty-show-devel
BuildRequires: ghc-smallcheck-devel
BuildRequires: ghc-syb-devel
BuildRequires: ghc-tasty-devel
BuildRequires: ghc-tasty-golden-devel
BuildRequires: ghc-tasty-smallcheck-devel
%endif
+# End cabal-rpm deps
%description
Haskell-Source with Extensions (HSE, haskell-src-exts) is an extension of the
@@ -72,6 +74,9 @@
Summary: Haskell %{pkg_name} library development files
Group: Development/Libraries/Other
Requires: %{name} = %{version}-%{release}
+Requires: ghc-compiler = %{ghc_version}
+Requires(post): ghc-compiler = %{ghc_version}
+Requires(postun): ghc-compiler = %{ghc_version}
%description devel
This package provides the Haskell %{pkg_name} library development
@@ -79,23 +84,28 @@
%prep
%setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
+
%build
-%{ghc_lib_build}
+%ghc_lib_build
+
%install
-%{ghc_lib_install}
+%ghc_lib_install
+
%check
%if %{with tests}
%{cabal} test
%endif
+
%post devel
-%{ghc_pkg_recache}
+%ghc_pkg_recache
%postun devel
-%{ghc_pkg_recache}
+%ghc_pkg_recache
%files -f %{name}.files
%defattr(-,root,root,-)
@@ -103,5 +113,6 @@
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
+%doc CHANGELOG README.md
%changelog
++++++ 1.cabal ++++++
Name: haskell-src-exts
Version: 1.17.1
x-revision: 1
License: BSD3
License-File: LICENSE
Build-Type: Simple
Author: Niklas Broberg
Maintainer: Niklas Broberg <[email protected]>, Roman
Cheplyaka <[email protected]>
Category: Language
Synopsis: Manipulating Haskell source: abstract syntax, lexer,
parser, and pretty-printer
Description: Haskell-Source with Extensions (HSE, haskell-src-exts)
is an extension of the standard haskell-src package,
and handles most registered syntactic extensions to
Haskell, including:
.
* Multi-parameter type classes with functional
dependencies
.
* Indexed type families (including associated types)
.
* Empty data declarations
.
* GADTs
.
* Implicit parameters
.
* Template Haskell
.
and a few more. All extensions implemented in GHC are
supported.
Apart from these standard extensions,
it also handles regular patterns as per the HaRP
extension
as well as HSX-style embedded XML syntax.
Homepage: https://github.com/haskell-suite/haskell-src-exts
Stability: Stable
Cabal-Version: >= 1.10
Extra-Source-Files:
README.md
CHANGELOG
tests/examples/*.hs
tests/examples/*.lhs
tests/examples/*.hs.parser.golden
tests/examples/*.lhs.parser.golden
tests/examples/*.hs.exactprinter.golden
tests/examples/*.lhs.exactprinter.golden
tests/examples/*.hs.prettyprinter.golden
tests/examples/*.lhs.prettyprinter.golden
tests/examples/*.hs.prettyparser.golden
tests/examples/*.lhs.prettyparser.golden
tests/Runner.hs
tests/Extensions.hs
Library
Default-language: Haskell98
Build-Tools: happy >= 1.19
Build-Depends: array >= 0.1, pretty >= 1.0, cpphs >= 1.3,
base >= 4.5 && < 5,
-- this is needed to access GHC.Generics on GHC 7.4
ghc-prim
Exposed-modules: Language.Haskell.Exts,
Language.Haskell.Exts.Lexer,
Language.Haskell.Exts.Parser,
Language.Haskell.Exts.Pretty,
Language.Haskell.Exts.Syntax,
Language.Haskell.Exts.Extension,
Language.Haskell.Exts.Build,
Language.Haskell.Exts.Fixity,
Language.Haskell.Exts.Comments,
Language.Haskell.Exts.SrcLoc,
Language.Haskell.Exts.Annotated,
Language.Haskell.Exts.Annotated.Syntax,
Language.Haskell.Exts.Annotated.Fixity,
Language.Haskell.Exts.Annotated.Build,
Language.Haskell.Exts.Annotated.ExactPrint,
Language.Haskell.Exts.Annotated.Simplify,
Language.Haskell.Exts.Annotated.Parser,
Language.Haskell.Exts.Annotated.Comments
Other-modules: Language.Haskell.Exts.ExtScheme,
Language.Haskell.Exts.ParseMonad,
Language.Haskell.Exts.ParseSyntax,
Language.Haskell.Exts.InternalLexer,
Language.Haskell.Exts.ParseUtils,
Language.Haskell.Exts.InternalParser
Hs-source-dirs: src
Ghc-options: -Wall
Source-Repository head
Type: git
Location: https://github.com/haskell-suite/haskell-src-exts.git
Test-Suite test
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: Runner.hs
GHC-Options: -threaded -Wall
Default-language: Haskell2010
Build-depends: base < 5,
mtl,
containers,
haskell-src-exts,
smallcheck >= 1.0,
tasty >= 0.3,
tasty-smallcheck,
tasty-golden >= 2.2.2,
filepath,
directory,
syb,
pretty-show