diff --git a/coccinelle-1.0.0.tgz b/coccinelle-1.0.0.tgz deleted file mode 100644 index aa79659..0000000 --- a/coccinelle-1.0.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e18b4c77964c6f623c385dc8b2fcb46beacd9811927617144620b12d93289e74 -size 3427246 diff --git a/coccinelle-1.0.2.tgz b/coccinelle-1.0.2.tgz new file mode 100644 index 0000000..7e170ae --- /dev/null +++ b/coccinelle-1.0.2.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e45b904f42c9b84732168782d491c8c1ab23bb85db06c4b9ba2762bea8ac679 +size 2790829 diff --git a/coccinelle.changes b/coccinelle.changes index 48b4b41..a255ea7 100644 --- a/coccinelle.changes +++ b/coccinelle.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Sat Aug 22 14:30:59 UTC 2015 - mpluskal@suse.com + +- Update to 1.0.2 + * Positions of C tokens are now computed while lexing rather than + during a distinct pass. This makes use of the Lexing.new_line + function which has been introduced in OCaml 3.11. Coccinelle + can thus no longer be compiled with OCaml 3.10. --use-gitgrep + falls back to --use-coccigrep for a non-git repository. + * ocaml coccilib allows propagating identifiers, expressions, + statements, listlens, and positions to subsequent matching rules + * Allow @S, for statement metavariable S on expressions + * Exploit explicit positive constraints (no regexps) on + identifiers in file filtering + * Ability to declare a rule as matching an identifier. Doesn't + work properly for names of typedefs, enums, structures, or + unions. + * Iso: allow mixed for model for the case where the model is just + a metavar + * Allow ! to propagate into == or other ops in more cases. + +------------------------------------------------------------------- +Wed Aug 5 14:22:01 UTC 2015 - mpluskal@suse.com + +- Update to 1.0.1 + * Language: + + allow static on type-level declarers + * Features: + + add --use-gitgrep option, for scanning with git grep + * Bugfix: + + Take into account constraints when determining whether a + metavar is pure don't add switch fall through when a default + is hidden under another case label. + ------------------------------------------------------------------- Tue May 5 12:43:14 UTC 2015 - mpluskal@suse.com diff --git a/coccinelle.spec b/coccinelle.spec index 003614a..69935f4 100644 --- a/coccinelle.spec +++ b/coccinelle.spec @@ -17,7 +17,7 @@ Name: coccinelle -Version: 1.0.0 +Version: 1.0.2 Release: 0 Summary: Semantic patch utility License: GPL-2.0 @@ -68,24 +68,21 @@ export NO_DEBUGINFO_STRIP_DEBUG=true : >debugsources.list b="%buildroot" -make install DESTDIR="$b"; +make install DESTDIR="$b" # Remove coccilib, don't have the deps -rm -Rf "$b/%_datadir/%name"/{commons,globals,ocaml,parsing_c} \ +rm -Rf "$b/%_libdir/%name"/{commons,globals,ocaml,parsing_c} \ "$b/%_mandir/man3"/Coccilib*; mkdir -p "$b/%_libdir"; -mv "$b/%_datadir/%name/dllpycaml_stubs.so" "$b/%_libdir/"; -mv "$b/%_datadir/%name/spatch" "$b/%_bindir/spatch.bin" -ln -s %_bindir/spatch.bin "$b/%_datadir/%name/spatch" %fdupes %buildroot/%_prefix %files %defattr(-,root,root) %doc authors.txt bugs.txt changes.txt copyright.txt credits.txt %doc license.txt readme.txt -%doc %_mandir/man?/* +%_mandir/man?/* %_bindir/spatch* -%_libdir/dllpycaml_stubs.so -%_datadir/%name/ +%_bindir/pycocci +%_libdir/%name %changelog