Hello community,

here is the log from the commit of package coccinelle for openSUSE:Factory 
checked in at 2014-09-12 15:25:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/coccinelle (Old)
 and      /work/SRC/openSUSE:Factory/.coccinelle.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "coccinelle"

Changes:
--------
--- /work/SRC/openSUSE:Factory/coccinelle/coccinelle.changes    2013-05-13 
14:43:30.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.coccinelle.new/coccinelle.changes       
2014-09-12 15:25:33.000000000 +0200
@@ -1,0 +2,22 @@
+Thu Sep  9 14:25:25 UTC 2013 - [email protected]
+
+- Update to new upstream release 1.0.0~rc21
+* Support decimal type with the --ibm option
+* Support some matching on pragmas
+* Initialize and finalize rules contain a metavariable declaration
+  region.
+* Allow some parameters of a function not to have names.
+* Eliminate the reliance on grep in most cases for worth trying,
+  to improve performance.
+* Allow multidecls when removing variable names or when modifying
+  type.
+* Take fresh declarations into account when computing
+  get_constants to create dependencies
+* Leave ifdefs-like directives in unparsed code, if they don't have
+  beginning or ending counterparts.
+* Improve type inference performance when many files included by
+  using maps.
+- Add fix-no_prepare_ocamlcocci-arguments.patch: fix incorrect
+  call to two functions
+
+-------------------------------------------------------------------

Old:
----
  coccinelle-1.0.0-rc17.tar.xz

New:
----
  coccinelle-1.0.0-rc21.tgz
  fix-no_prepare_ocamlcocci-arguments.patch

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

Other differences:
------------------
++++++ coccinelle.spec ++++++
--- /var/tmp/diff_new_pack.ukZuvI/_old  2014-09-12 15:25:34.000000000 +0200
+++ /var/tmp/diff_new_pack.ukZuvI/_new  2014-09-12 15:25:34.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package coccinelle
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -17,23 +17,24 @@
 
 
 Name:           coccinelle
-Version:        1.0.0~rc17
+Version:        1.0.0~rc21
 Release:        0
 Summary:        Semantic patch utility
 License:        GPL-2.0
 Group:          Productivity/Text/Utilities
 Url:            http://coccinelle.lip6.fr/
-%define rversion       1.0.0-rc17
+%define rversion       1.0.0-rc21
 
 #Git-Clone:    git://github.com/coccinelle/coccinelle
-Source:         %name-%rversion.tar.xz
+Source:         http://coccinelle.lip6.fr/distrib/%name-%rversion.tgz
+Patch1:         fix-no_prepare_ocamlcocci-arguments.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ncurses-devel
 BuildRequires:  ocaml >= 3.11
 BuildRequires:  ocaml-camlp4-devel >= 3.11
+BuildRequires:  ocaml-findlib
 BuildRequires:  ocaml-ocamldoc >= 3.11
 BuildRequires:  pkg-config
-BuildRequires:  xz
 # Fails to link with PCRE
 #BuildRequires:  pkgconfig(libpcre)
 BuildRequires:  pkgconfig(python)
@@ -53,6 +54,7 @@
 
 %prep
 %setup -qn %name-%rversion
+%patch -P 1 -p1
 
 %build
 %configure

++++++ fix-no_prepare_ocamlcocci-arguments.patch ++++++
From: Luis R. Rodriguez <[email protected]>
Date: Tue, 9 Sep 2014 15:10:42 -0700
X-Upstream: should appear in 1.0.0~rc22

The functions do take five arguments, but these two call sites erroneously
just passed four.

--- a/ocaml/no_prepare_ocamlcocci.ml
+++ b/ocaml/no_prepare_ocamlcocci.ml
@@ -9,9 +9,9 @@
        function
            Ast_cocci.ScriptRule (name,"ocaml",deps,mv,script_vars,code) ->
              code :: prev
-         | Ast_cocci.InitialScriptRule (name,"ocaml",deps,code) ->
+         | Ast_cocci.InitialScriptRule (name,"ocaml",deps,mvs,code) ->
              code :: prev
-         | Ast_cocci.FinalScriptRule (name,"ocaml",deps,code) ->
+         | Ast_cocci.FinalScriptRule (name,"ocaml",deps,mvs,code) ->
              code :: prev
          | _ -> prev)
       [] code in
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to