- Update to new upstream release 1.0.7

OBS-URL: https://build.opensuse.org/package/show/devel:tools/coccinelle?expand=0&rev=65
This commit is contained in:
Jan Engelhardt 2019-08-22 14:05:35 +00:00 committed by Git OBS Bridge
parent 8c1a9218ad
commit 4bb8ca3d3f
4 changed files with 34 additions and 16 deletions

View File

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

3
coccinelle-1.0.7.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:475e2bed5486023d19d9e0dec5e109b04b872a9917b62faf83ce3521676f728b
size 6607407

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Thu Aug 22 14:04:45 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Update to new upstream release 1.0.7
* Allow constraints on any metavariables. Constraints can be
specified by comprehension (= { … } or != { … }, with each
item referring to a constant identifier or an inherited
meta-variable, and curly-brackets can be omitted for a single
item), regular expression (~ "..." or !~ "..."), integer
comparison (<, <, >=, >) or scripts (:script:…). Constraints
can be used in conjunctions (&&), disjunctions (||) and can
be negated (!) and parenthesed.
* Allow script finalizers for parallel computation. See
tests/countcalls.cocci and tests/countcalls_python.cocci
* Allow disjunctions on a wider range of syntactic
constructions (function definitions, variable declarations,
…).
-------------------------------------------------------------------
Mon Jul 29 09:43:52 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -17,14 +17,15 @@
Name: coccinelle
Version: 1.0.6
Version: 1.0.7
Release: 0
Summary: Semantic patch utility
License: GPL-2.0-only
Group: Productivity/Text/Utilities
URL: http://coccinelle.lip6.fr/
#Git-Clone: git://github.com/coccinelle/coccinelle
Source: http://coccinelle.lip6.fr/distrib/%{name}-%{version}.tgz
Source: http://coccinelle.lip6.fr/distrib/%name-%version.tar.gz
Patch1: kill-env.diff
BuildRequires: autoconf
BuildRequires: automake
@ -57,9 +58,8 @@ Beyond collateral evolutions, Coccinelle is used for finding and
fixing bugs in systems code.
%prep
%setup -q
%patch1 -p1
rm tools/spgen/source/spgen{,.opt}
%autosetup -p1
rm -fv tools/spgen/source/spgen{,.opt}
%build
autoreconf -fi
@ -71,24 +71,24 @@ make %{?_smp_mflags}
# with the -custom option."
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define __debug_install_post %{nil}
%define __debug_install_post %nil
: >debugfiles.list
: >debugsources.list
: >debugsourcefiles.list
%make_install
# Remove coccilib, don't have the deps
rm -Rf "%{buildroot}/%{_libdir}/%{name}"/{commons,globals,ocaml,parsing_c} \
"%{buildroot}/%{_mandir}/man3"/Coccilib*
%fdupes %{buildroot}/%{_prefix}
rm -Rf "%buildroot/%_libdir/%name"/{commons,globals,ocaml,parsing_c} \
"%buildroot/%_mandir/man3"/Coccilib*
%fdupes %buildroot/%_prefix
%files
%doc authors.txt bugs.txt changes.txt copyright.txt credits.txt
%license license.txt
%doc readme.txt
%{_mandir}/man?/*
%{_bindir}/sp*
%{_bindir}/pycocci
%{_libdir}/%{name}
%_mandir/man?/*
%_bindir/sp*
%_libdir/%name
%_datadir/bash-completion/
%changelog