forked from pool/coccinelle
Accepting request 415235 from devel:tools
make the check script happy OBS-URL: https://build.opensuse.org/request/show/415235 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/coccinelle?expand=0&rev=21
This commit is contained in:
commit
b5d529ad46
15
coccinelle-1.0.4.patch
Normal file
15
coccinelle-1.0.4.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
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],
|
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 15 00:00:00 CET 2015 - dsterba@suse.cz
|
Tue Dec 15 00:00:00 CET 2015 - dsterba@suse.cz
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package coccinelle
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -26,16 +26,21 @@ Url: http://coccinelle.lip6.fr/
|
|||||||
|
|
||||||
#Git-Clone: git://github.com/coccinelle/coccinelle
|
#Git-Clone: git://github.com/coccinelle/coccinelle
|
||||||
Source: http://coccinelle.lip6.fr/distrib/%name-%version.tgz
|
Source: http://coccinelle.lip6.fr/distrib/%name-%version.tgz
|
||||||
|
Patch0: coccinelle-1.0.4.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: automake
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: ocaml >= 3.11
|
BuildRequires: ocaml >= 3.11
|
||||||
BuildRequires: ocaml-camlp4-devel >= 3.11
|
|
||||||
BuildRequires: ocaml-findlib
|
BuildRequires: ocaml-findlib
|
||||||
|
BuildRequires: ocaml-menhir-devel
|
||||||
|
BuildRequires: ocaml-ocamlbuild
|
||||||
BuildRequires: ocaml-ocamldoc >= 3.11
|
BuildRequires: ocaml-ocamldoc >= 3.11
|
||||||
|
BuildRequires: ocaml-parmap-devel
|
||||||
|
BuildRequires: ocaml-pcre-devel
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
# Fails to link with PCRE
|
BuildRequires: ocamlfind(camlp4)
|
||||||
#BuildRequires: pkgconfig(libpcre)
|
|
||||||
BuildRequires: pkgconfig(python)
|
BuildRequires: pkgconfig(python)
|
||||||
Requires: python-base
|
Requires: python-base
|
||||||
|
|
||||||
@ -53,10 +58,12 @@ used (by us and others) for finding and fixing bugs in systems code.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -qn %name-%version
|
%setup -qn %name-%version
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
autoreconf -fi
|
||||||
%configure
|
%configure
|
||||||
make %{?_smp_mflags}
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# "because it is simply not possible to strip ocaml binaries that are built
|
# "because it is simply not possible to strip ocaml binaries that are built
|
||||||
|
Loading…
Reference in New Issue
Block a user