From f7c2042f0b2f506b3cb1e603985718d923d4cd633e024fc03999b29161be974f Mon Sep 17 00:00:00 2001
From: Peter Simons <peter.simons@suse.com>
Date: Fri, 26 Aug 2016 08:50:37 +0000
Subject: [PATCH] Accepting request 422672 from devel:languages:haskell:lts:6

fix group

OBS-URL: https://build.opensuse.org/request/show/422672
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-mustache?expand=0&rev=2
---
 ghc-mustache.spec | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/ghc-mustache.spec b/ghc-mustache.spec
index 6d9633e..184eafa 100644
--- a/ghc-mustache.spec
+++ b/ghc-mustache.spec
@@ -23,10 +23,9 @@ Version:        1.0.2
 Release:        0
 Summary:        A mustache template parser library
 License:        BSD-3-Clause
-Group:          System/Libraries
+Group:          Development/Languages/Other
 Url:            https://hackage.haskell.org/package/%{pkg_name}
 Source0:        https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-# Begin cabal-rpm deps:
 BuildRequires:  chrpath
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-aeson-devel
@@ -51,7 +50,6 @@ BuildRequires:  ghc-hspec-devel
 BuildRequires:  ghc-process-devel
 BuildRequires:  ghc-temporary-devel
 %endif
-# End cabal-rpm deps
 
 %description
 Allows parsing and rendering template files with mustache markup. See the
@@ -75,22 +73,15 @@ This package provides the Haskell %{pkg_name} library development files.
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
-
 %ghc_fix_dynamic_rpath haskell-mustache
 
-
 %check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
 
 %post devel
 %ghc_pkg_recache