diff --git a/coccinelle-1.0.6.tgz b/coccinelle-1.0.6.tgz deleted file mode 100644 index 82167fb..0000000 --- a/coccinelle-1.0.6.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8452ed265c209dae99cbb33b67bc7912e72f8bca1e24f33f1a88ba3d7985e909 -size 6684278 diff --git a/coccinelle-1.0.7.tar.gz b/coccinelle-1.0.7.tar.gz new file mode 100644 index 0000000..633dea4 --- /dev/null +++ b/coccinelle-1.0.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:475e2bed5486023d19d9e0dec5e109b04b872a9917b62faf83ce3521676f728b +size 6607407 diff --git a/coccinelle.changes b/coccinelle.changes index 861493e..2b5ade4 100644 --- a/coccinelle.changes +++ b/coccinelle.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Thu Aug 22 14:04:45 UTC 2019 - Jan Engelhardt + +- 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 diff --git a/coccinelle.spec b/coccinelle.spec index f8bcd95..a7a2138 100644 --- a/coccinelle.spec +++ b/coccinelle.spec @@ -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