Hello community, here is the log from the commit of package coccinelle for openSUSE:Factory checked in at Wed Feb 2 02:23:01 CET 2011. -------- New Changes file: --- /dev/null 2010-08-26 16:28:41.000000000 +0200 +++ /mounts/work_src_done/STABLE/coccinelle/coccinelle.changes 2011-01-20 21:23:39.000000000 +0100 @@ -0,0 +1,34 @@ +------------------------------------------------------------------- +Thu Jan 20 13:41:16 UTC 2011 - jengelh@medozas.de + +- Update to version 0.2.5-rc2 +* Make a very small attempt to parse C++ code, amounting to + accepting identifiers containing ::, tilde, and template + invocations. +* support matching and removing some preprocessor directives +* support for ocaml scripting +* print rule name when a script rule crashes +- Fix python x.y.0 detection + +------------------------------------------------------------------- +Sat Apr 24 19:14:40 UTC 2010 - jengelh@medozas.de + +- disable stripping on ocaml -custom binaries to make program + usable + +------------------------------------------------------------------- +Thu Mar 25 00:51:20 UTC 2010 - jengelh@medozas.de + +- install all files required by spatch, not just the binary itself + (otherwise it does not even run) + +------------------------------------------------------------------- +Mon Mar 15 12:25:23 UTC 2010 - jengelh@medozas.de + +- new upstream release: 0.2.2 + +------------------------------------------------------------------- +Thu Feb 25 00:34:23 UTC 2010 - jengelh@medozas.de + +- Initial submission of version 0.2.1 + calling whatdependson for head-i586 New: ---- cocci-cast.diff cocci-pythondetect.diff coccinelle-0.2.5-rc2.tar.xz coccinelle.changes coccinelle.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ coccinelle.spec ++++++ # # spec file for package coccinelle # # Copyright (c) 2011 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: coccinelle Version: 0.2.5 Release: 1 Summary: Semantic patch utility License: GPL2 Group: Productivity/Text/Utilities Url: http://coccinelle.lip6.fr/ %define rversion %version-rc2 Source: %name-%rversion.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ncurses-devel ocaml python-devel xz Patch1: cocci-cast.diff Patch2: cocci-pythondetect.diff %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. %prep %setup -qn %name-%rversion %patch -P 1 -P 2 -p1 %build # not autotools configure, don't use macro ./configure --prefix=%{_prefix} --opt 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}
debugfiles.list debugsources.list
b="%buildroot" rm -Rf "$b" mkdir "$b" make install DESTDIR="$b" MANDIR="%_mandir" LIBDIR="%_libdir" %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc authors.txt bugs.txt changes.txt copyright.txt credits.txt %doc license.txt readme.txt %doc %_mandir/*/* %_bindir/* %_libdir/*.so %_datadir/%name %changelog ++++++ cocci-cast.diff ++++++ Work around compiler warning pycaml_ml.c: In function 'pymodule_initmodule': pycaml_ml.c:1441: warning: assignment makes pointer from integer without a cast --- pycaml/pycaml_ml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: coccinelle-0.2.2/pycaml/pycaml_ml.c =================================================================== --- coccinelle-0.2.2.orig/pycaml/pycaml_ml.c +++ coccinelle-0.2.2/pycaml/pycaml_ml.c @@ -1438,7 +1438,7 @@ value pymodule_initmodule( value name, v for( i = 0; i < Wosize_val(funclist); i++ ) { item = Field(funclist,i); methods[i].ml_name = String_val(Field(item,0)); - methods[i].ml_meth = pywrap_closure(Field(item,1)); + methods[i].ml_meth = (void *)(long)pywrap_closure(Field(item,1)); methods[i].ml_flags = Int_val(Field(item,2)); methods[i].ml_doc = String_val(Field(item,3)); } ++++++ cocci-pythondetect.diff ++++++ --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: coccinelle-0.2.5-rc2/configure =================================================================== --- coccinelle-0.2.5-rc2.orig/configure +++ coccinelle-0.2.5-rc2/configure @@ -198,7 +198,7 @@ We need 3.XX", if($python) { if(check_config( "python --version 2>&1 |", - "Python 2\.[567]\..*", + qr/Python 2\.[567]\b/, "python is present", "python is missing or is not a good version." )) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org