From 7841b06adbdbf44560f60b3e2424fd661f89db0c0d06130bc1b6b6ec13049c39 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 3 May 2013 06:39:15 +0000 Subject: [PATCH 1/2] coccinelle-1.0.0~rc17 OBS-URL: https://build.opensuse.org/package/show/devel:tools/coccinelle?expand=0&rev=28 --- coccinelle-1.0.0-rc15.tar.xz | 3 --- coccinelle-1.0.0-rc17.tar.xz | 3 +++ coccinelle.changes | 12 ++++++++++++ coccinelle.spec | 8 +++++--- 4 files changed, 20 insertions(+), 6 deletions(-) delete mode 100644 coccinelle-1.0.0-rc15.tar.xz create mode 100644 coccinelle-1.0.0-rc17.tar.xz diff --git a/coccinelle-1.0.0-rc15.tar.xz b/coccinelle-1.0.0-rc15.tar.xz deleted file mode 100644 index 7f72251..0000000 --- a/coccinelle-1.0.0-rc15.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:64d27fc4e6bc81d2a2485e82fe8e6bf9cddbd62a17029de4a27b774e1e8234c1 -size 2557896 diff --git a/coccinelle-1.0.0-rc17.tar.xz b/coccinelle-1.0.0-rc17.tar.xz new file mode 100644 index 0000000..1074016 --- /dev/null +++ b/coccinelle-1.0.0-rc17.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:20653f2e3599554bea6cf31c90f85500d5125bd2ab105a2ce13edc97e4c206a1 +size 2286028 diff --git a/coccinelle.changes b/coccinelle.changes index 2c77a2c..1f1b276 100644 --- a/coccinelle.changes +++ b/coccinelle.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Fri May 3 06:30:09 UTC 2013 - jengelh@inai.de + +- Update to new upstream release 1.0.0~rc17 +* allow __ at the beginning of a struct or union name +* unparsing with precedence (insertion of parentheses when needed) +* Type metavariables no longer match a case where there is no type + in the C code. +* An expression list metavariable can now be attached with @ to a + parameter list metavariable, to allow using the parameter names as + an argument list. + ------------------------------------------------------------------- Wed Oct 3 16:18:10 UTC 2012 - jengelh@inai.de diff --git a/coccinelle.spec b/coccinelle.spec index 0511dc2..daa7fd0 100644 --- a/coccinelle.spec +++ b/coccinelle.spec @@ -1,7 +1,7 @@ # # spec file for package coccinelle # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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 @@ -17,13 +17,15 @@ Name: coccinelle -Version: 1.0.0 +Version: 1.0.0~rc17 Release: 0 Summary: Semantic patch utility License: GPL-2.0 Group: Productivity/Text/Utilities Url: http://coccinelle.lip6.fr/ -%define rversion %version-rc15 +%define rversion 1.0.0-rc17 + +#Git-Clone: git://github.com/coccinelle/coccinelle Source: %name-%rversion.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ncurses-devel From bd1ccd3af1eec41009c2e95771b6604233ea8cc649d3d8288509ee0e486f40d7 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 9 May 2013 17:52:04 +0000 Subject: [PATCH 2/2] Switch to pkgconfig() requires OBS-URL: https://build.opensuse.org/package/show/devel:tools/coccinelle?expand=0&rev=29 --- coccinelle.changes | 5 +++++ coccinelle.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/coccinelle.changes b/coccinelle.changes index 1f1b276..499b5d1 100644 --- a/coccinelle.changes +++ b/coccinelle.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 9 17:51:39 UTC 2013 - jengelh@inai.de + +- Switch to using pkgconfig()-type BuildRequires + ------------------------------------------------------------------- Fri May 3 06:30:09 UTC 2013 - jengelh@inai.de diff --git a/coccinelle.spec b/coccinelle.spec index daa7fd0..0ceeabd 100644 --- a/coccinelle.spec +++ b/coccinelle.spec @@ -32,8 +32,11 @@ BuildRequires: ncurses-devel BuildRequires: ocaml >= 3.11 BuildRequires: ocaml-camlp4-devel >= 3.11 BuildRequires: ocaml-ocamldoc >= 3.11 -BuildRequires: python-devel +BuildRequires: pkg-config BuildRequires: xz +# Fails to link with PCRE +#BuildRequires: pkgconfig(libpcre) +BuildRequires: pkgconfig(python) Requires: python-base %description