Hello community,

here is the log from the commit of package coccinelle for openSUSE:Factory 
checked in at 2017-12-06 09:00:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/coccinelle (Old)
 and      /work/SRC/openSUSE:Factory/.coccinelle.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "coccinelle"

Wed Dec  6 09:00:22 2017 rev:22 rq:548610 version:1.0.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/coccinelle/coccinelle.changes    2016-08-05 
18:16:07.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.coccinelle.new/coccinelle.changes       
2017-12-06 09:00:31.772723501 +0100
@@ -1,0 +2,23 @@
+Tue Nov 28 10:25:02 UTC 2017 - [email protected]
+
+- Add kill-env.diff
+
+-------------------------------------------------------------------
+Tue Nov 28 01:14:03 UTC 2017 - [email protected]
+
+- use %make_install macro
+- remove useless directory creation
+
+-------------------------------------------------------------------
+Sun Nov 26 22:45:58 UTC 2017 - [email protected]
+
+- Update to new upstream release 1.0.6
+  * Allow \ in #define in semantic patch rules, to allow body
+    with multiple lines, potentially including changes. As a side
+    effect, \ is also allowed in when specifications, again to
+    allow patterns to stretch over multiple lines.
+  * Add identifier list metavariables for #define parameter lists
+  * Support for Python 3. Pycaml has been patched.
+- Remove coccinelle-1.0.4.patch (merged)
+
+-------------------------------------------------------------------

Old:
----
  coccinelle-1.0.4.patch
  coccinelle-1.0.4.tgz

New:
----
  coccinelle-1.0.6.tgz
  kill-env.diff

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

Other differences:
------------------
++++++ coccinelle.spec ++++++
--- /var/tmp/diff_new_pack.VrUJIl/_old  2017-12-06 09:00:32.868683386 +0100
+++ /var/tmp/diff_new_pack.VrUJIl/_new  2017-12-06 09:00:32.872683240 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package coccinelle
 #
-# 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
@@ -17,7 +17,7 @@
 
 
 Name:           coccinelle
-Version:        1.0.4
+Version:        1.0.6
 Release:        0
 Summary:        Semantic patch utility
 License:        GPL-2.0
@@ -26,7 +26,7 @@
 
 #Git-Clone:    git://github.com/coccinelle/coccinelle
 Source:         http://coccinelle.lip6.fr/distrib/%name-%version.tgz
-Patch0:         coccinelle-1.0.4.patch
+Patch1:         kill-env.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -47,40 +47,39 @@
 %description
 Coccinelle is a program matching and transformation engine which
 provides the language SmPL (Semantic Patch Language) for specifying
-desired matches and transformations in C code. Coccinelle was
-initially targeted towards performing collateral evolutions in Linux.
-Such evolutions comprise the changes that are needed in client code
-in response to evolutions in library APIs, and may include
-modifications such as renaming a function, adding a function argument
-whose value is somehow context-dependent, and reorganizing a data
-structure. Beyond collateral evolutions, Coccinelle is successfully
-used (by us and others) for finding and fixing bugs in systems code.
+desired matches and transformations in C code. [It does not recognize
+C++.]
+
+Coccinelle performs collateral evolutions in software. Such
+evolutions comprise the changes that are needed in client code in
+response to evolutions in library APIs, and may include modifications
+such as renaming a function, adding a function argument whose value
+is somehow context-dependent, and reorganizing a data structure.
+Beyond collateral evolutions, Coccinelle is used for finding and
+fixing bugs in systems code.
 
 %prep
-%setup -qn %name-%version
-%patch0 -p1
+%setup -q
+%patch -P 1 -p1
 
 %build
 autoreconf -fi
 %configure
-make
+make %{?_smp_mflags}
 
 %install
 # "because it is simply not possible to strip ocaml binaries that are built 
 # with the -custom option."
 export NO_BRP_STRIP_DEBUG=true
 export NO_DEBUGINFO_STRIP_DEBUG=true
-%define __debug_install_post %{nil}
+%define __debug_install_post %nil
 : >debugfiles.list
 : >debugsources.list
 
-b="%buildroot"
-make install DESTDIR="$b"
+%make_install
 # Remove coccilib, don't have the deps
-rm -Rf "$b/%_libdir/%name"/{commons,globals,ocaml,parsing_c} \
-       "$b/%_mandir/man3"/Coccilib*;
-
-mkdir -p "$b/%_libdir";
+rm -Rf "%buildroot/%_libdir/%name"/{commons,globals,ocaml,parsing_c} \
+       "%buildroot/%_mandir/man3"/Coccilib*
 %fdupes %buildroot/%_prefix
 
 %files
@@ -88,7 +87,7 @@
 %doc authors.txt bugs.txt changes.txt copyright.txt credits.txt
 %doc license.txt readme.txt
 %_mandir/man?/*
-%_bindir/spatch*
+%_bindir/sp*
 %_bindir/pycocci
 %_libdir/%name
 

++++++ coccinelle-1.0.4.tgz -> coccinelle-1.0.6.tgz ++++++
/work/SRC/openSUSE:Factory/coccinelle/coccinelle-1.0.4.tgz 
/work/SRC/openSUSE:Factory/.coccinelle.new/coccinelle-1.0.6.tgz differ: char 5, 
line 1

++++++ kill-env.diff ++++++
From: Jan Engelhardt <[email protected]>
Date: 2017-11-28 11:24:59.025640109 +0100

Don't choose arbitrary python interpreters from $PATH.
(It also misleads the rpm autodep scanner.)
---
 tools/pycocci |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: coccinelle-1.0.6/tools/pycocci
===================================================================
--- coccinelle-1.0.6.orig/tools/pycocci
+++ coccinelle-1.0.6/tools/pycocci
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
 #
 # Copyright (c) 2014 Luis R. Rodriguez  <[email protected]>
 # Copyright (c) 2013 Johannes Berg <[email protected]>

Reply via email to