Hello community,
here is the log from the commit of package ghc-mono-traversable for
openSUSE:Factory checked in at 2016-07-20 09:29:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-mono-traversable (Old)
and /work/SRC/openSUSE:Factory/.ghc-mono-traversable.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-mono-traversable"
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-mono-traversable/ghc-mono-traversable.changes
2016-04-22 16:25:26.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-mono-traversable.new/ghc-mono-traversable.changes
2016-07-20 09:29:08.000000000 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 16:55:40 UTC 2016 - [email protected]
+
+- Update to version 0.10.2 revision 0 with cabal2obs.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-mono-traversable.spec ++++++
--- /var/tmp/diff_new_pack.yBdIA4/_old 2016-07-20 09:29:09.000000000 +0200
+++ /var/tmp/diff_new_pack.yBdIA4/_new 2016-07-20 09:29:09.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-mono-traversable
#
-# 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,23 +15,18 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-%global pkg_name mono-traversable
+%global pkg_name mono-traversable
%bcond_with tests
-
-Name: ghc-mono-traversable
+Name: ghc-%{pkg_name}
Version: 0.10.2
Release: 0
Summary: Type classes for mapping, folding, and traversing monomorphic
containers
-Group: System/Libraries
-
License: MIT
+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
# Begin cabal-rpm deps:
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-comonad-devel
@@ -39,6 +34,7 @@
BuildRequires: ghc-dlist-devel
BuildRequires: ghc-dlist-instances-devel
BuildRequires: ghc-hashable-devel
+BuildRequires: ghc-rpm-macros
BuildRequires: ghc-semigroupoids-devel
BuildRequires: ghc-semigroups-devel
BuildRequires: ghc-split-devel
@@ -48,6 +44,7 @@
BuildRequires: ghc-vector-algorithms-devel
BuildRequires: ghc-vector-devel
BuildRequires: ghc-vector-instances-devel
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %{with tests}
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-QuickCheck-devel
@@ -62,20 +59,18 @@
In addition to what you are used to, it adds on an IsSequence typeclass and has
code for marking data structures as non-empty.
-
%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
files.
-
%prep
%setup -q -n %{pkg_name}-%{version}
@@ -90,26 +85,22 @@
%check
%if %{with tests}
-%cabal test
+%{cabal} test
%endif
%post devel
%ghc_pkg_recache
-
%postun devel
%ghc_pkg_recache
-
%files -f %{name}.files
%defattr(-,root,root,-)
%doc LICENSE
-
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
-%doc README.md
-
+%doc ChangeLog.md README.md
%changelog