diff --git a/re2c-0.15.3.tar.gz b/re2c-0.15.3.tar.gz deleted file mode 100644 index 183e5fe..0000000 --- a/re2c-0.15.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f9d2a96c60a8c60d9c6c70e10590cbceaf0776d3115e7b3b35c7d7240cc1613b -size 4881197 diff --git a/re2c-0.16.tar.gz b/re2c-0.16.tar.gz new file mode 100644 index 0000000..ff81da8 --- /dev/null +++ b/re2c-0.16.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:48c12564297641cceb5ff05aead57f28118db6277f31e2262437feba89069e84 +size 4892417 diff --git a/re2c-nogenerationdatedefault.patch b/re2c-nogenerationdatedefault.patch index 9c71d86..8fc7d57 100644 --- a/re2c-nogenerationdatedefault.patch +++ b/re2c-nogenerationdatedefault.patch @@ -1,8 +1,8 @@ -Index: re2c-0.15.3/src/conf/opt.h +Index: re2c-0.16/src/conf/opt.h =================================================================== ---- re2c-0.15.3.orig/src/conf/opt.h -+++ re2c-0.15.3/src/conf/opt.h -@@ -17,7 +17,7 @@ namespace re2c +--- re2c-0.16.orig/src/conf/opt.h ++++ re2c-0.16/src/conf/opt.h +@@ -18,7 +18,7 @@ namespace re2c /* target */ \ OPT1 (opt_t::target_t, target, CODE) \ /* fingerprint */ \ diff --git a/re2c.changes b/re2c.changes index 46b9d1f..bddf537 100644 --- a/re2c.changes +++ b/re2c.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Sat Jan 30 21:50:07 UTC 2016 - mpluskal@suse.com + +- Update to 0.16 + * Fixed bug #127 "code generation error with wide chars and + bitmaps (omitted 'goto' statement)" + * Added DFA minimization and option '--dfa-minimization + ' + * Fixed bug #128 "very slow DFA construction (resulting in a very + large DFA)" + * Fixed bug #132 "test failure on big endian archs with 0.15.3" +- Make building more verbose + ------------------------------------------------------------------- Fri Jan 8 11:17:08 UTC 2016 - tchvatal@suse.com diff --git a/re2c.spec b/re2c.spec index ecef44a..f8b622f 100644 --- a/re2c.spec +++ b/re2c.spec @@ -17,14 +17,15 @@ Name: re2c -Version: 0.15.3 +Version: 0.16 Release: 0 Summary: Tool for generating C-based recognizers from regular expressions License: SUSE-Public-Domain Group: Development/Libraries/C and C++ Url: http://re2c.org/ -Source: https://github.com/skvadrik/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz +Source: https://github.com/skvadrik/re2c/releases/download/%{version}/%{name}-%{version}.tar.gz Patch0: re2c-nogenerationdatedefault.patch +BuildRequires: bison BuildRequires: gcc-c++ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -41,7 +42,7 @@ terms of size and speed. %build %configure -make %{?_smp_mflags} +make %{?_smp_mflags} V=1 %check make check %{?_smp_mflags}