Hello community,
here is the log from the commit of package ghc-transformers-compat for
openSUSE:Factory checked in at 2016-07-20 09:24:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-transformers-compat (Old)
and /work/SRC/openSUSE:Factory/.ghc-transformers-compat.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-transformers-compat"
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-transformers-compat/ghc-transformers-compat.changes
2015-08-23 17:39:13.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-transformers-compat.new/ghc-transformers-compat.changes
2016-07-20 09:24:01.000000000 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:05:56 UTC 2016 - [email protected]
+
+- Update to version 0.4.0.4 revision 0 with cabal2obs.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-transformers-compat.spec ++++++
--- /var/tmp/diff_new_pack.GDSCsT/_old 2016-07-20 09:24:02.000000000 +0200
+++ /var/tmp/diff_new_pack.GDSCsT/_new 2016-07-20 09:24:02.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-transformers-compat
#
-# 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
@@ -15,24 +15,21 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-%global pkg_name transformers-compat
-Name: ghc-transformers-compat
+%global pkg_name transformers-compat
+Name: ghc-%{pkg_name}
Version: 0.4.0.4
Release: 0
-Summary: A small shim exposing the new types from transformers 0.4
-Group: System/Libraries
-
+Summary: A small compatibility shim exposing the new types from
transformers 0.3 and 0.4 to older Haskell platforms
License: BSD-3-Clause
+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
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
-BuildRequires: ghc-mtl-devel
# Begin cabal-rpm deps:
BuildRequires: ghc-transformers-devel
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
# End cabal-rpm deps
%description
@@ -40,18 +37,20 @@
transformers in transformers 0.3 and 0.4 for users who need strict transformers
0.2 or 0.3 compatibility to run on old versions of the platform, but also need
those types.
+
Those users should be able to just depend on 'transformers >= 0.2' and
'transformers-compat >= 0.3'.
+
Note: missing methods are not supplied, but this at least permits the types to
be used.
%package devel
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}
-Requires: %{name} = %{version}-%{release}
%description devel
This package provides the Haskell %{pkg_name} library development
@@ -60,12 +59,15 @@
%prep
%setup -q -n %{pkg_name}-%{version}
+
%build
%ghc_lib_build
+
%install
%ghc_lib_install
+
%post devel
%ghc_pkg_recache
@@ -78,6 +80,6 @@
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
-%doc README.markdown
+%doc CHANGELOG.markdown README.markdown
%changelog