Accepting request 352566 from devel:tools:compiler

- 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/request/show/352566
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/re2c?expand=0&rev=30
This commit is contained in:
Dominique Leuenberger 2016-01-11 18:10:47 +00:00 committed by Git OBS Bridge
commit 6ddfef6143
5 changed files with 29 additions and 27 deletions

View File

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

3
re2c-0.15.3.tar.gz Normal file
View File

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

View File

@ -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.15.3.orig/src/conf/opt.h
+++ re2c-0.14.3/main.cc +++ re2c-0.15.3/src/conf/opt.h
@@ -34,7 +34,7 @@ bool rFlag = false; @@ -17,7 +17,7 @@ namespace re2c
bool sFlag = false; /* target */ \
bool tFlag = false; OPT1 (opt_t::target_t, target, CODE) \
/* fingerprint */ \
-bool bNoGenerationDate = false; - OPT (bool, bNoGenerationDate, false) \
+bool bNoGenerationDate = true; + OPT (bool, bNoGenerationDate, true) \
OPT (bool, version, true) \
bool bSinglePass = false; /* regular expressions */ \
bool bFirstPass = true; OPT (Enc, encoding, Enc ()) \

View File

@ -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 Mon Oct 5 14:31:57 UTC 2015 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package re2c # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,16 +17,16 @@
Name: re2c Name: re2c
Version: 0.14.3 Version: 0.15.3
Release: 0 Release: 0
Summary: Tool for generating C-based recognizers from regular expressions Summary: Tool for generating C-based recognizers from regular expressions
License: SUSE-Public-Domain License: SUSE-Public-Domain
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Url: http://re2c.org/ 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++ BuildRequires: gcc-c++
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch0: re2c-nogenerationdatedefault.patch
%description %description
re2c is a tool for writing fast and flexible lexers. Unlike other such re2c is a tool for writing fast and flexible lexers. Unlike other such
@ -38,16 +38,9 @@ terms of size and speed.
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
find lessons examples -type f -print0 \
| xargs -r0 chmod -v a-x
%build %build
%configure %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} make %{?_smp_mflags}
%check %check
@ -62,6 +55,6 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags}
%{_mandir}/man1/re2c.1* %{_mandir}/man1/re2c.1*
%doc doc/*.ps doc/sample.bib %doc doc/*.ps doc/sample.bib
%doc README CHANGELOG %doc README CHANGELOG
%doc lessons/ examples/ %doc examples/
%changelog %changelog