- 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
This commit is contained in:
parent
75370b442d
commit
e047d579ca
@ -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
3
re2c-0.15.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f9d2a96c60a8c60d9c6c70e10590cbceaf0776d3115e7b3b35c7d7240cc1613b
|
||||
size 4881197
|
@ -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 ()) \
|
||||
|
@ -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
|
||||
|
||||
|
17
re2c.spec
17
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
|
||||
|
Loading…
Reference in New Issue
Block a user