SHA256
1
0
forked from pool/coccinelle
Jan Engelhardt 2017-11-26 22:48:19 +00:00 committed by Git OBS Bridge
parent d43bc1e6a9
commit 96c088968d
5 changed files with 20 additions and 26 deletions

View File

@ -1,15 +0,0 @@
---
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],

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7f823813a2ea299c0f6c01d8419b83c4dc6617116d32ba99d726443a1c22b06d
size 2484218

3
coccinelle-1.0.6.tgz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8452ed265c209dae99cbb33b67bc7912e72f8bca1e24f33f1a88ba3d7985e909
size 6684278

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sun Nov 26 22:45:58 UTC 2017 - jengelh@inai.de
- 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.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 30 08:22:09 UTC 2016 - olaf@aepfle.de Mon May 30 08:22:09 UTC 2016 - olaf@aepfle.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package coccinelle # 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 # 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
@ -17,7 +17,7 @@
Name: coccinelle Name: coccinelle
Version: 1.0.4 Version: 1.0.6
Release: 0 Release: 0
Summary: Semantic patch utility Summary: Semantic patch utility
License: GPL-2.0 License: GPL-2.0
@ -26,7 +26,6 @@ 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: autoconf
BuildRequires: automake BuildRequires: automake
@ -58,7 +57,6 @@ 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 autoreconf -fi
@ -70,7 +68,7 @@ make
# with the -custom option." # with the -custom option."
export NO_BRP_STRIP_DEBUG=true export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true export NO_DEBUGINFO_STRIP_DEBUG=true
%define __debug_install_post %{nil} %define __debug_install_post %nil
: >debugfiles.list : >debugfiles.list
: >debugsources.list : >debugsources.list
@ -78,9 +76,9 @@ b="%buildroot"
make install DESTDIR="$b" make install DESTDIR="$b"
# Remove coccilib, don't have the deps # Remove coccilib, don't have the deps
rm -Rf "$b/%_libdir/%name"/{commons,globals,ocaml,parsing_c} \ rm -Rf "$b/%_libdir/%name"/{commons,globals,ocaml,parsing_c} \
"$b/%_mandir/man3"/Coccilib*; "$b/%_mandir/man3"/Coccilib*
mkdir -p "$b/%_libdir"; mkdir -p "$b/%_libdir"
%fdupes %buildroot/%_prefix %fdupes %buildroot/%_prefix
%files %files
@ -88,7 +86,7 @@ mkdir -p "$b/%_libdir";
%doc authors.txt bugs.txt changes.txt copyright.txt credits.txt %doc authors.txt bugs.txt changes.txt copyright.txt credits.txt
%doc license.txt readme.txt %doc license.txt readme.txt
%_mandir/man?/* %_mandir/man?/*
%_bindir/spatch* %_bindir/sp*
%_bindir/pycocci %_bindir/pycocci
%_libdir/%name %_libdir/%name