commit ghc-inline-c for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-inline-c for openSUSE:Factory 
checked in at 2017-09-15 21:51:56

Comparing /work/SRC/openSUSE:Factory/ghc-inline-c (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-inline-c.new (New)


Package is "ghc-inline-c"

Fri Sep 15 21:51:56 2017 rev:4 rq:524858 version:0.5.6.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-inline-c/ghc-inline-c.changes
2017-02-11 01:41:10.233116977 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-inline-c.new/ghc-inline-c.changes   
2017-09-15 21:51:58.376010248 +0200
@@ -1,0 +2,5 @@
+Thu Aug  3 15:38:38 UTC 2017 - psim...@suse.com
+
+- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
+
+---



Other differences:
--
++ ghc-inline-c.spec ++
--- /var/tmp/diff_new_pack.SarcyL/_old  2017-09-15 21:51:59.003921747 +0200
+++ /var/tmp/diff_new_pack.SarcyL/_new  2017-09-15 21:51:59.007921183 +0200
@@ -23,8 +23,8 @@
 Release:0
 Summary:Write Haskell source files including C code inline. No FFI 
required
 License:MIT
-Group:  Development/Languages/Other
-Url:https://hackage.haskell.org/package/%{pkg_name}
+Group:  Development/Libraries/Haskell
+URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-QuickCheck-devel
@@ -44,7 +44,6 @@
 BuildRequires:  ghc-transformers-devel
 BuildRequires:  ghc-unordered-containers-devel
 BuildRequires:  ghc-vector-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-hspec-devel
 BuildRequires:  ghc-raw-strings-qq-devel
@@ -56,7 +55,7 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Other
+Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
@@ -84,11 +83,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc README.md changelog.md examples
 
 %changelog




commit ghc-inline-c for openSUSE:Factory

2017-02-10 Thread root
Hello community,

here is the log from the commit of package ghc-inline-c for openSUSE:Factory 
checked in at 2017-02-11 01:41:08

Comparing /work/SRC/openSUSE:Factory/ghc-inline-c (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-inline-c.new (New)


Package is "ghc-inline-c"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-inline-c/ghc-inline-c.changes
2016-11-10 13:22:15.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-inline-c.new/ghc-inline-c.changes   
2017-02-11 01:41:10.233116977 +0100
@@ -1,0 +2,5 @@
+Thu Jan 26 16:21:52 UTC 2017 - psim...@suse.com
+
+- Update to version 0.5.6.1 with cabal2obs.
+
+---

Old:

  inline-c-0.5.5.9.tar.gz

New:

  inline-c-0.5.6.1.tar.gz



Other differences:
--
++ ghc-inline-c.spec ++
--- /var/tmp/diff_new_pack.iPgqdf/_old  2017-02-11 01:41:11.744903654 +0100
+++ /var/tmp/diff_new_pack.iPgqdf/_new  2017-02-11 01:41:11.744903654 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-inline-c
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -19,7 +19,7 @@
 %global pkg_name inline-c
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.5.5.9
+Version:0.5.6.1
 Release:0
 Summary:Write Haskell source files including C code inline. No FFI 
required
 License:MIT

++ inline-c-0.5.5.9.tar.gz -> inline-c-0.5.6.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/inline-c-0.5.5.9/README.md 
new/inline-c-0.5.6.1/README.md
--- old/inline-c-0.5.5.9/README.md  2016-06-15 11:26:10.0 +0200
+++ new/inline-c-0.5.6.1/README.md  2017-01-21 13:30:18.0 +0100
@@ -307,9 +307,10 @@
 Each module that uses at least one of the `inline-c` functions gets a C
 file associated to it, where the filename of said file will be the same
 as the module but with a C extension.  This C file must be built after
-the Haskell code and linked appropriately.  If you use cabal, all you
-have to do is declare each associated C file in the `.cabal` file and
-you are good.
+the Haskell code and linked appropriately.
+
+If you use cabal, you **must** manually declare each associated C file in
+the `c-sources` section of the `.cabal` file and you are good.
 
 For example we might have
 
@@ -317,10 +318,13 @@
 executable foo
   main-is: Main.hs, Foo.hs, Bar.hs
   hs-source-dirs:  src
+
+  -- IMPORTANT!
   -- Here the corresponding C sources must be listed for every module
   -- that uses C code.  In this example, Main.hs and Bar.hs do, but
   -- Foo.hs does not.
   c-sources:   src/Main.c, src/Bar.c
+
   -- These flags will be passed to the C compiler
   cc-options:  -Wall -O2
   -- Libraries to link the code with.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/inline-c-0.5.5.9/changelog.md 
new/inline-c-0.5.6.1/changelog.md
--- old/inline-c-0.5.5.9/changelog.md   2016-09-15 13:28:42.0 +0200
+++ new/inline-c-0.5.6.1/changelog.md   2017-01-21 13:30:18.0 +0100
@@ -1,3 +1,4 @@
+- 0.5.6.0: Add `ForeignPtr` anti-quoter
 - 0.5.5.9: Make tests work with QuickCheck < 2.9
 - 0.5.5.8: Add workaround for QuickCheck-2.9 bug. See issue #51
 - 0.5.5.2: Add docs regarding internals. See issue #41.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/inline-c-0.5.5.9/inline-c.cabal 
new/inline-c-0.5.6.1/inline-c.cabal
--- old/inline-c-0.5.5.9/inline-c.cabal 2016-09-15 13:28:42.0 +0200
+++ new/inline-c-0.5.6.1/inline-c.cabal 2017-01-21 13:30:18.0 +0100
@@ -1,5 +1,5 @@
 name:inline-c
-version: 0.5.5.9
+version: 0.5.6.1
 synopsis:Write Haskell source files including C code inline. No 
FFI required.
 description: See 
.
 license: MIT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/inline-c-0.5.5.9/src/Language/C/Inline/Context.hs 
new/inline-c-0.5.6.1/src/Language/C/Inline/Context.hs
--- old/inline-c-0.5.5.9/src/Language/C/Inline/Context.hs   2016-07-04 
11:41:41.0 +0200
+++ new/inline-c-0.5.6.1/src/Language/C/Inline/Context.hs   2017-01-21 
13:30:18.0 +0100
@@ -35,6 +35,7 @@
 -- * 'Context'
   , Context(..)
   , baseCtx
+  , fptrCtx
   , funCtx
   , vecCtx
   , VecCtx(..)
@@ -47,6 +48,7 @@
 import   

commit ghc-inline-c for openSUSE:Factory

2016-11-10 Thread h_root
Hello community,

here is the log from the commit of package ghc-inline-c for openSUSE:Factory 
checked in at 2016-11-10 13:22:13

Comparing /work/SRC/openSUSE:Factory/ghc-inline-c (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-inline-c.new (New)


Package is "ghc-inline-c"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-inline-c/ghc-inline-c.changes
2016-11-01 09:56:54.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-inline-c.new/ghc-inline-c.changes   
2016-11-10 13:22:15.0 +0100
@@ -1,0 +2,15 @@
+Mon Sep 26 06:51:57 UTC 2016 - psim...@suse.com
+
+- Update to version 0.5.5.9 with cabal2obs.
+
+---
+Thu Sep 15 06:38:35 UTC 2016 - psim...@suse.com
+
+- Update to version 0.5.5.7 revision 0 with cabal2obs.
+
+---
+Mon Jul 25 11:12:43 UTC 2016 - psim...@suse.com
+
+- Update to version 0.5.5.5 revision 0 with cabal2obs.
+
+---

Old:

  inline-c-0.5.5.4.tar.gz

New:

  inline-c-0.5.5.9.tar.gz



Other differences:
--
++ ghc-inline-c.spec ++
--- /var/tmp/diff_new_pack.YsMD1r/_old  2016-11-10 13:22:16.0 +0100
+++ /var/tmp/diff_new_pack.YsMD1r/_new  2016-11-10 13:22:16.0 +0100
@@ -19,15 +19,14 @@
 %global pkg_name inline-c
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.5.5.4
+Version:0.5.5.9
 Release:0
 Summary:Write Haskell source files including C code inline. No FFI 
required
 License:MIT
-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
 BuildRequires:  ghc-Cabal-devel
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-QuickCheck-devel
 BuildRequires:  ghc-ansi-wl-pprint-devel
 BuildRequires:  ghc-binary-devel
@@ -51,7 +50,6 @@
 BuildRequires:  ghc-raw-strings-qq-devel
 BuildRequires:  ghc-regex-posix-devel
 %endif
-# End cabal-rpm deps
 
 %description
 See .
@@ -70,20 +68,14 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
 
 %post devel
 %ghc_pkg_recache

++ inline-c-0.5.5.4.tar.gz -> inline-c-0.5.5.9.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/inline-c-0.5.5.4/changelog.md 
new/inline-c-0.5.5.9/changelog.md
--- old/inline-c-0.5.5.4/changelog.md   2016-06-15 11:26:10.0 +0200
+++ new/inline-c-0.5.5.9/changelog.md   2016-09-15 13:28:42.0 +0200
@@ -1,3 +1,5 @@
+- 0.5.5.9: Make tests work with QuickCheck < 2.9
+- 0.5.5.8: Add workaround for QuickCheck-2.9 bug. See issue #51
 - 0.5.5.2: Add docs regarding internals. See issue #41.
 - 0.5.5.1: Add support for Interruptible calls. The version skip is
   simply because I forgot to update the changelog for 0.5.5.0.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/inline-c-0.5.5.4/inline-c.cabal 
new/inline-c-0.5.5.9/inline-c.cabal
--- old/inline-c-0.5.5.4/inline-c.cabal 2016-07-04 11:43:10.0 +0200
+++ new/inline-c-0.5.5.9/inline-c.cabal 2016-09-15 13:28:42.0 +0200
@@ -1,5 +1,5 @@
 name:inline-c
-version: 0.5.5.4
+version: 0.5.5.9
 synopsis:Write Haskell source files including C code inline. No 
FFI required.
 description: See 
.
 license: MIT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/inline-c-0.5.5.4/src/Language/C/Inline/Internal.hs 
new/inline-c-0.5.5.9/src/Language/C/Inline/Internal.hs
--- old/inline-c-0.5.5.4/src/Language/C/Inline/Internal.hs  2016-06-15 
11:26:10.0 +0200
+++ new/inline-c-0.5.5.9/src/Language/C/Inline/Internal.hs  2016-08-31 
11:07:53.0 +0200
@@ -8,6 +8,8 @@
 {-# LANGUAGE TemplateHaskell #-}
 {-# LANGUAGE TupleSections #-}
 {-# LANGUAGE TypeOperators #-}
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE DeriveDataTypeable #-}
 
 module Language.C.Inline.Internal
 ( -- * Context handling
@@ -48,7 +50,6 @@
 ) where
 
 import   Control.Applicative
-import   Control.Concurrent.MVar (MVar, newMVar, modifyMVar, readMVar)
 import   Control.Exception (catch, throwIO)
 import   Control.Monad (forM, void, msum, unless)
 import   Control.Monad.State (evalStateT, StateT, get, put)