From e047d579ca8db38ebe4f5102b276182945ebb8d688f0d3c8c06a77c1de08bdf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 8 Jan 2016 11:18:32 +0000 Subject: [PATCH] - Version update to 0.15.3: * Syntax expansion and various updates * See CHANGELOG for in-depth details - Rebase patch to apply: * re2c-nogenerationdatedefault.patch OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=20 --- re2c-0.14.3.tar.gz | 3 --- re2c-0.15.3.tar.gz | 3 +++ re2c-nogenerationdatedefault.patch | 24 ++++++++++++------------ re2c.changes | 9 +++++++++ re2c.spec | 17 +++++------------ 5 files changed, 29 insertions(+), 27 deletions(-) delete mode 100644 re2c-0.14.3.tar.gz create mode 100644 re2c-0.15.3.tar.gz diff --git a/re2c-0.14.3.tar.gz b/re2c-0.14.3.tar.gz deleted file mode 100644 index c2bf3bb..0000000 --- a/re2c-0.14.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1c6806df599f3aef0804b576cfdf64bdba5ad590626dfca2d44e473460917e84 -size 2576859 diff --git a/re2c-0.15.3.tar.gz b/re2c-0.15.3.tar.gz new file mode 100644 index 0000000..183e5fe --- /dev/null +++ b/re2c-0.15.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f9d2a96c60a8c60d9c6c70e10590cbceaf0776d3115e7b3b35c7d7240cc1613b +size 4881197 diff --git a/re2c-nogenerationdatedefault.patch b/re2c-nogenerationdatedefault.patch index 5e162b5..9c71d86 100644 --- a/re2c-nogenerationdatedefault.patch +++ b/re2c-nogenerationdatedefault.patch @@ -1,13 +1,13 @@ -Index: re2c-0.14.3/main.cc +Index: re2c-0.15.3/src/conf/opt.h =================================================================== ---- re2c-0.14.3.orig/main.cc -+++ re2c-0.14.3/main.cc -@@ -34,7 +34,7 @@ bool rFlag = false; - bool sFlag = false; - bool tFlag = false; - --bool bNoGenerationDate = false; -+bool bNoGenerationDate = true; - - bool bSinglePass = false; - bool bFirstPass = true; +--- re2c-0.15.3.orig/src/conf/opt.h ++++ re2c-0.15.3/src/conf/opt.h +@@ -17,7 +17,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 ()) \ diff --git a/re2c.changes b/re2c.changes index 4ca3154..46b9d1f 100644 --- a/re2c.changes +++ b/re2c.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Jan 8 11:17:08 UTC 2016 - tchvatal@suse.com + +- Version update to 0.15.3: + * Syntax expansion and various updates + * See CHANGELOG for in-depth details +- Rebase patch to apply: + * re2c-nogenerationdatedefault.patch + ------------------------------------------------------------------- Mon Oct 5 14:31:57 UTC 2015 - mpluskal@suse.com diff --git a/re2c.spec b/re2c.spec index a5eeaad..ecef44a 100644 --- a/re2c.spec +++ b/re2c.spec @@ -1,7 +1,7 @@ # # spec file for package re2c # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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,16 +17,16 @@ Name: re2c -Version: 0.14.3 +Version: 0.15.3 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: http://sourceforge.net/projects/re2c/files/re2c/%{version}/re2c-%{version}.tar.gz +Source: https://github.com/skvadrik/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz +Patch0: re2c-nogenerationdatedefault.patch BuildRequires: gcc-c++ BuildRoot: %{_tmppath}/%{name}-%{version}-build -Patch0: re2c-nogenerationdatedefault.patch %description re2c is a tool for writing fast and flexible lexers. Unlike other such @@ -38,16 +38,9 @@ terms of size and speed. %prep %setup -q %patch0 -p1 -find lessons examples -type f -print0 \ - | xargs -r0 chmod -v a-x %build %configure -make %{?_smp_mflags} re2c -#regenerate file scanner.cc -rm -f scanner.cc -./re2c -g scanner.re > scanner.cc -rm -f re2c scanner.o make %{?_smp_mflags} %check @@ -62,6 +55,6 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags} %{_mandir}/man1/re2c.1* %doc doc/*.ps doc/sample.bib %doc README CHANGELOG -%doc lessons/ examples/ +%doc examples/ %changelog