diff --git a/re2c-0.16.tar.gz b/re2c-0.16.tar.gz deleted file mode 100644 index ff81da8..0000000 --- a/re2c-0.16.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:48c12564297641cceb5ff05aead57f28118db6277f31e2262437feba89069e84 -size 4892417 diff --git a/re2c-1.0.2.tar.gz b/re2c-1.0.2.tar.gz new file mode 100644 index 0000000..ad322eb --- /dev/null +++ b/re2c-1.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b0919585b50095a00e55b99212a81bc67c5fab61d877aca0d9d061aff3093f52 +size 5805526 diff --git a/re2c-nogenerationdatedefault.patch b/re2c-nogenerationdatedefault.patch index 8fc7d57..8eb7e70 100644 --- a/re2c-nogenerationdatedefault.patch +++ b/re2c-nogenerationdatedefault.patch @@ -1,13 +1,13 @@ -Index: re2c-0.16/src/conf/opt.h +Index: re2c-1.0.2/src/conf/opt.h =================================================================== ---- 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 */ \ -- OPT (bool, bNoGenerationDate, false) \ -+ OPT (bool, bNoGenerationDate, true) \ - OPT (bool, version, true) \ - /* regular expressions */ \ - OPT (Enc, encoding, Enc ()) \ +--- re2c-1.0.2.orig/src/conf/opt.h ++++ re2c-1.0.2/src/conf/opt.h +@@ -44,7 +44,7 @@ enum target_t + CONSTOPT1 (target_t, target, TARGET_CODE) \ + CONSTOPT (std::string, output_file, "") \ + CONSTOPT (std::string, header_file, "") \ +- CONSTOPT (bool, bNoGenerationDate, false) \ ++ CONSTOPT (bool, bNoGenerationDate, true) \ + CONSTOPT (bool, version, true) \ + CONSTOPT (bool, cFlag, false) \ + CONSTOPT (bool, fFlag, false) \ diff --git a/re2c.changes b/re2c.changes index bddf537..2a0138d 100644 --- a/re2c.changes +++ b/re2c.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Mon Sep 4 12:02:10 UTC 2017 - mpluskal@suse.com + +- Update to version 1.0.2: + * Fixed bug #194 “Build with --enable-docs” + * Updated documentation. +- Changes for version 1.0.1: + * Fixed bug #193 “1.0 build failure on macOS: error: calling a + * private constructor of class ‘re2c::Rule’” +- Changes for version 1.0: + * Added several new options + * Added new inplace confgurations + * Added warning -Wnondeterministic-tags + * Added fuzz-testing scripts + * Added paper “Tagged Deterministic Finite Automata with Lookahead” + * See provided CHANGELOG for full list of new features + * Fixed bugs: + + #121 “trailing contexts are fundamentally broken” + + #135 “In installation make check give syntax error” + + #137 “run_tests.sh fail when running configure script with absolute path” + + #138 “website improvement” + + #141 “Tests under Windows” + + #142 “segvault with null terminated input” + + #145 “Values for enum YYCONDTYPE are not generated when default rules with conditions are used” + + #147 “Please add symbol name to “can’t find symbol” error message” + + #152 “Line number in #line directive after enum YYCONDTYPE is 0-based” + + #156 “Build with Visual Studio 14 2015: symbol name conflict” + + #158 “Inconsistent forward declaration of struct/class vs definition” + + #160 “Open text files with “wb” causes issues on Windows” + + #162 “Reading files with “rb” causes issues in Windows” + + #165 “Trailing context consumed if initial expression matches it” + + #176 “re2c help message is too wide for most terminals” + + #184 “Small documentation issue” + ------------------------------------------------------------------- Sat Jan 30 21:50:07 UTC 2016 - mpluskal@suse.com diff --git a/re2c.spec b/re2c.spec index f8b622f..afb74ea 100644 --- a/re2c.spec +++ b/re2c.spec @@ -1,7 +1,7 @@ # # spec file for package re2c # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: re2c -Version: 0.16 +Version: 1.0.2 Release: 0 Summary: Tool for generating C-based recognizers from regular expressions License: SUSE-Public-Domain @@ -27,7 +27,6 @@ Source: https://github.com/skvadrik/re2c/releases/download/%{version}/%{ Patch0: re2c-nogenerationdatedefault.patch BuildRequires: bison BuildRequires: gcc-c++ -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description re2c is a tool for writing fast and flexible lexers. Unlike other such @@ -48,14 +47,13 @@ make %{?_smp_mflags} V=1 make check %{?_smp_mflags} %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%make_install %files -%defattr(-,root,root,-) -%{_bindir}/re2c -%{_mandir}/man1/re2c.1* %doc doc/*.ps doc/sample.bib %doc README CHANGELOG %doc examples/ +%{_bindir}/re2c +%{_mandir}/man1/re2c.1%{ext_man} %changelog