Hello community, here is the log from the commit of package coccinelle for openSUSE:Factory checked in at 2016-08-05 18:16:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2015-12-24 12:16:16.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.coccinelle.new/coccinelle.changes 2016-08-05 18:16:07.000000000 +0200 @@ -1,0 +2,13 @@ +Mon May 30 08:22:09 UTC 2016 - olaf@aepfle.de + +- Use ocamlfind(camlp4) to refer to camlp4 +- Add coccinelle-1.0.4.patch + +------------------------------------------------------------------- +Tue May 24 14:20:12 UTC 2016 - olaf@aepfle.de + +- Fix build with ocaml-4.03 + Use ocaml-parmap and ocaml-menhir instead of old built-in copies + Use ocaml-pcre + +------------------------------------------------------------------- New: ---- coccinelle-1.0.4.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ coccinelle.spec ++++++ --- /var/tmp/diff_new_pack.rvvKi1/_old 2016-08-05 18:16:08.000000000 +0200 +++ /var/tmp/diff_new_pack.rvvKi1/_new 2016-08-05 18:16:08.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package coccinelle # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -26,16 +26,21 @@ #Git-Clone: git://github.com/coccinelle/coccinelle Source: http://coccinelle.lip6.fr/distrib/%name-%version.tgz +Patch0: coccinelle-1.0.4.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: autoconf +BuildRequires: automake BuildRequires: fdupes BuildRequires: ncurses-devel BuildRequires: ocaml >= 3.11 -BuildRequires: ocaml-camlp4-devel >= 3.11 BuildRequires: ocaml-findlib +BuildRequires: ocaml-menhir-devel +BuildRequires: ocaml-ocamlbuild BuildRequires: ocaml-ocamldoc >= 3.11 +BuildRequires: ocaml-parmap-devel +BuildRequires: ocaml-pcre-devel BuildRequires: pkg-config -# Fails to link with PCRE -#BuildRequires: pkgconfig(libpcre) +BuildRequires: ocamlfind(camlp4) BuildRequires: pkgconfig(python) Requires: python-base @@ -53,10 +58,12 @@ %prep %setup -qn %name-%version +%patch0 -p1 %build +autoreconf -fi %configure -make %{?_smp_mflags} +make %install # "because it is simply not possible to strip ocaml binaries that are built ++++++ coccinelle-1.0.4.patch ++++++ --- setup/cocci.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/setup/cocci.m4 +++ b/setup/cocci.m4 @@ -285,7 +285,7 @@ AC_DEFUN([AC_COCCI_TOOL], AC_SUBST([$1], [no]) ], [dnl find the tool - AC_COCCI_FINDTOOL([$1],[[$]$1]) + AC_COCCI_FINDTOOL([$1],[$2]) ]) AS_IF([test -z "[$]$1" -o "x[$]$1" = xno],