Accepting request 325459 from devel:tools

- Update to 1.0.2

OBS-URL: https://build.opensuse.org/request/show/325459
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/coccinelle?expand=0&rev=19
This commit is contained in:
Stephan Kulow 2015-08-27 06:55:56 +00:00 committed by Git OBS Bridge
commit d9dae5b9d3
4 changed files with 43 additions and 12 deletions

View File

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

3
coccinelle-1.0.2.tgz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4e45b904f42c9b84732168782d491c8c1ab23bb85db06c4b9ba2762bea8ac679
size 2790829

View File

@ -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 Tue May 5 12:43:14 UTC 2015 - mpluskal@suse.com

View File

@ -17,7 +17,7 @@
Name: coccinelle Name: coccinelle
Version: 1.0.0 Version: 1.0.2
Release: 0 Release: 0
Summary: Semantic patch utility Summary: Semantic patch utility
License: GPL-2.0 License: GPL-2.0
@ -68,24 +68,21 @@ export NO_DEBUGINFO_STRIP_DEBUG=true
: >debugsources.list : >debugsources.list
b="%buildroot" 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/%_datadir/%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";
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 %fdupes %buildroot/%_prefix
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%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
%doc %_mandir/man?/* %_mandir/man?/*
%_bindir/spatch* %_bindir/spatch*
%_libdir/dllpycaml_stubs.so %_bindir/pycocci
%_datadir/%name/ %_libdir/%name
%changelog %changelog