Hello community,

here is the log from the commit of package ghc-HUnit for openSUSE:Factory 
checked in at 2013-08-06 06:51:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-HUnit (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-HUnit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-HUnit"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-HUnit/ghc-HUnit.changes      2013-01-01 
11:59:16.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-HUnit.new/ghc-HUnit.changes 2013-08-06 
06:51:39.000000000 +0200
@@ -1,0 +2,8 @@
+Mon May  6 08:45:33 UTC 2013 - peter.tromm...@ohm-hochschule.de
+
+- update to 1.2.5.2 from upstream
+* no upstream changelog
+- update required for Haskell Platform 2013.2 
+- more transparent packaging (fewer macros)
+
+-------------------------------------------------------------------

Old:
----
  HUnit-1.2.5.1.tar.gz

New:
----
  HUnit-1.2.5.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-HUnit.spec ++++++
--- /var/tmp/diff_new_pack.YUjrUP/_old  2013-08-06 06:51:40.000000000 +0200
+++ /var/tmp/diff_new_pack.YUjrUP/_new  2013-08-06 06:51:40.000000000 +0200
@@ -1,8 +1,7 @@
 #
-# spec file for ghc-HUnit
+# spec file for package ghc-HUnit
 #
-
-# Copyright (c) 2012 Peter Trommler peter.tromm...@ohm-hochschule.de
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +15,10 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
 %global pkg_name HUnit
 
 %global common_summary A unit testing framework for Haskell
@@ -23,48 +26,58 @@
 %global common_description HUnit is a unit testing framework for Haskell, 
inspired by the JUnit tool for Java, see: http://www.junit.org.
 
 Name:           ghc-HUnit
-Version:        1.2.5.1
-Release:        1
+Version:        1.2.5.2
+Release:        0
 Summary:        %{common_summary}
-
-Group:          System/Libraries
 License:        BSD-3-Clause
+Group:          System/Libraries
+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # BEGIN cabal2spec
-URL:            http://hackage.haskell.org/package/%{pkg_name}
+Url:            http://hackage.haskell.org/package/%{pkg_name}
 Source0:        
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
 ExclusiveArch:  %{ix86} x86_64 %{ghc_arches}
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
+BuildRequires:  ghc-deepseq-devel
+BuildRequires:  ghc-rpm-macros
 # END cabal2spec
 
 %description
 %{common_description}
 
+%package devel
+Summary:        Haskell %{pkg_name} library development files
+Group:          Development/Languages/Other
+Requires:       ghc-compiler
+Requires(post): ghc-compiler
+Requires(postun): ghc-compiler
+Requires:       %{name} = %{version}-%{release}
+
+%description devel
+%{common_description}
+This package contains the development files.
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
+%post devel
+%ghc_pkg_recache
 
-# devel subpackage
-%ghc_devel_package
-
-%ghc_devel_description
-
-
-%ghc_devel_post_postun
-
+%postun devel
+%ghc_pkg_recache
 
-%ghc_files LICENSE
-%doc %{_datadir}/%{pkg_name}-%{version}
+%files -f %{name}.files
+%defattr(-,root,root,-)
+%doc LICENSE
+%{_datadir}/%{pkg_name}-%{version}
 
+%files devel -f %{name}-devel.files
+%defattr(-,root,root,-)
 
 %changelog

++++++ HUnit-1.2.5.1.tar.gz -> HUnit-1.2.5.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HUnit-1.2.5.1/HUnit.cabal 
new/HUnit-1.2.5.2/HUnit.cabal
--- old/HUnit-1.2.5.1/HUnit.cabal       2012-07-20 10:14:28.000000000 +0200
+++ new/HUnit-1.2.5.2/HUnit.cabal       2013-04-01 22:00:42.000000000 +0200
@@ -1,5 +1,5 @@
 Name:                   HUnit
-Version:                1.2.5.1
+Version:                1.2.5.2
 Cabal-Version:          >= 1.8
 License:                BSD3
 License-File:           LICENSE
@@ -13,8 +13,9 @@
     HUnit is a unit testing framework for Haskell, inspired by the
     JUnit tool for Java, see: <http://www.junit.org>.
 Tested-With:
-    GHC == 7.0.4
     GHC == 7.4.1
+    GHC == 7.4.2
+    GHC == 7.7
 Build-Type:             Simple
 Extra-Source-Files:
     HUnit.cabal.hugs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HUnit-1.2.5.1/HUnit.cabal.tests 
new/HUnit-1.2.5.2/HUnit.cabal.tests
--- old/HUnit-1.2.5.1/HUnit.cabal.tests 2012-07-20 10:14:28.000000000 +0200
+++ new/HUnit-1.2.5.2/HUnit.cabal.tests 2013-04-01 22:00:42.000000000 +0200
@@ -6,7 +6,7 @@
 -- To use this file, simply copy it to HUnit.cabal, then build as normal.  You
 -- may rename the existing version of HUnit.cabal first, if you like.
 Name:                   HUnit
-Version:                1.2.5.1
+Version:                1.2.5.2
 Cabal-Version:          >= 1.8
 License:                BSD3
 License-File:           LICENSE
@@ -20,8 +20,9 @@
     HUnit is a unit testing framework for Haskell, inspired by the
     JUnit tool for Java, see: <http://www.junit.org>.
 Tested-With:
-    GHC == 7.0.4
     GHC == 7.4.1
+    GHC == 7.4.2
+    GHC == 7.7
 Build-Type:             Simple
 Extra-Source-Files:
     HUnit.cabal.hugs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HUnit-1.2.5.1/Test/HUnit/Lang.hs 
new/HUnit-1.2.5.2/Test/HUnit/Lang.hs
--- old/HUnit-1.2.5.1/Test/HUnit/Lang.hs        2012-07-20 10:14:28.000000000 
+0200
+++ new/HUnit-1.2.5.2/Test/HUnit/Lang.hs        2013-04-01 22:00:42.000000000 
+0200
@@ -1,6 +1,11 @@
 -- | This module abstracts the differences between implementations of 
 -- Haskell (e.g., GHC, Hugs, and NHC).
 
+{-# LANGUAGE CPP #-} 
+#if __GLASGOW_HASKELL__ >= 707
+{-# LANGUAGE DeriveDataTypeable #-}
+#endif
+
 module Test.HUnit.Lang
 (
   Assertion,
@@ -75,6 +80,9 @@
 
 #if defined(__GLASGOW_HASKELL__) || defined(__HUGS__)
 data HUnitFailure = HUnitFailure String
+#if __GLASGOW_HASKELL__ >= 707
+    deriving (Show, Typeable)
+#else
     deriving Show
 
 hunitFailureTc :: TyCon
@@ -87,6 +95,8 @@
  
 instance Typeable HUnitFailure where
     typeOf _ = mkTyConApp hunitFailureTc []
+#endif
+
 #ifdef BASE4
 instance Exception HUnitFailure
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to