Hello community, here is the log from the commit of package ghc-aeson-compat for openSUSE:Factory checked in at 2016-07-21 08:00:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-aeson-compat (Old) and /work/SRC/openSUSE:Factory/.ghc-aeson-compat.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-aeson-compat" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-aeson-compat/ghc-aeson-compat.changes 2016-07-12 23:52:38.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-aeson-compat.new/ghc-aeson-compat.changes 2016-07-21 08:01:05.000000000 +0200 @@ -1,0 +2,5 @@ +Thu Jul 14 12:25:28 UTC 2016 - psim...@suse.com + +- Remove obsolete remove_nats.patch. We ship ghc-nats now. + +------------------------------------------------------------------- @@ -4 +9 @@ -- update to 0.3.5.1 +- update to version 0.3.5.1 revision 0 Old: ---- remove_nats.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-aeson-compat.spec ++++++ --- /var/tmp/diff_new_pack.b1nPUr/_old 2016-07-21 08:01:06.000000000 +0200 +++ /var/tmp/diff_new_pack.b1nPUr/_new 2016-07-21 08:01:06.000000000 +0200 @@ -17,24 +17,16 @@ %global pkg_name aeson-compat - %bcond_with tests - -Name: ghc-aeson-compat +Name: ghc-%{pkg_name} Version: 0.3.5.1 Release: 0 Summary: Compatibility layer for aeson 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 -# PATCH-FIX-OPENSUSE remove_nats.patch -- mimi...@gmail.com -Patch0: remove_nats.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build - BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-aeson-devel BuildRequires: ghc-attoparsec-devel @@ -43,6 +35,8 @@ BuildRequires: ghc-containers-devel BuildRequires: ghc-exceptions-devel BuildRequires: ghc-hashable-devel +BuildRequires: ghc-nats-devel +BuildRequires: ghc-rpm-macros BuildRequires: ghc-scientific-devel BuildRequires: ghc-semigroups-devel BuildRequires: ghc-tagged-devel @@ -51,6 +45,7 @@ BuildRequires: ghc-time-locale-compat-devel BuildRequires: ghc-unordered-containers-devel BuildRequires: ghc-vector-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-base-orphans-devel @@ -64,34 +59,35 @@ %description Compatibility layer for 'aeson'. - %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} -%patch0 -p1 + %build %ghc_lib_build + %install %ghc_lib_install + %check %if %{with tests} -%cabal test +%{cabal} test %endif + %post devel %ghc_pkg_recache @@ -104,6 +100,6 @@ %files devel -f %{name}-devel.files %defattr(-,root,root,-) -%doc README.md +%doc CHANGELOG.md README.md %changelog