From 62ffe94f58608966fa675d20ec6596319605a8e7ca0b08193b60acb781f280f4 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Wed, 5 Feb 2020 08:55:22 +0000 Subject: [PATCH] - Update to version 1.3: * Added option: ``--stadfa``. * Added warning: ``-Wsentinel-in-midrule``. * Added generic API primitives: + ``YYSTAGPD`` + ``YYMTAGPD`` * Added configurations: + ``re2c:sentinel = 0;`` + ``re2c:define:YYSTAGPD = "YYSTAGPD";`` + ``re2c:define:YYMTAGPD = "YYMTAGPD";`` * Worked on reproducible builds OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=35 --- re2c-1.2.1.tar.xz | 3 --- re2c-1.3.tar.xz | 3 +++ re2c.changes | 15 +++++++++++++++ re2c.spec | 16 ++++++++-------- 4 files changed, 26 insertions(+), 11 deletions(-) delete mode 100644 re2c-1.2.1.tar.xz create mode 100644 re2c-1.3.tar.xz diff --git a/re2c-1.2.1.tar.xz b/re2c-1.2.1.tar.xz deleted file mode 100644 index af61cfe..0000000 --- a/re2c-1.2.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1a4cd706b5b966aeffd78e3cf8b24239470ded30551e813610f9cd1a4e01b817 -size 2059304 diff --git a/re2c-1.3.tar.xz b/re2c-1.3.tar.xz new file mode 100644 index 0000000..3066fdc --- /dev/null +++ b/re2c-1.3.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f37f25ff760e90088e7d03d1232002c2c2672646d5844fdf8e0d51a5cd75a503 +size 1239280 diff --git a/re2c.changes b/re2c.changes index a8b8617..e45f8dd 100644 --- a/re2c.changes +++ b/re2c.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Wed Feb 5 08:52:11 UTC 2020 - Martin Pluskal + +- Update to version 1.3: + * Added option: ``--stadfa``. + * Added warning: ``-Wsentinel-in-midrule``. + * Added generic API primitives: + + ``YYSTAGPD`` + + ``YYMTAGPD`` + * Added configurations: + + ``re2c:sentinel = 0;`` + + ``re2c:define:YYSTAGPD = "YYSTAGPD";`` + + ``re2c:define:YYMTAGPD = "YYMTAGPD";`` + * Worked on reproducible builds + ------------------------------------------------------------------- Wed Aug 14 15:37:39 UTC 2019 - Martin Pluskal diff --git a/re2c.spec b/re2c.spec index 1ca7075..222c8ad 100644 --- a/re2c.spec +++ b/re2c.spec @@ -1,7 +1,7 @@ # # spec file for package re2c # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,12 +17,12 @@ Name: re2c -Version: 1.2.1 +Version: 1.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/ +URL: https://re2c.org/ Source: https://github.com/skvadrik/re2c/releases/download/%{version}/%{name}-%{version}.tar.xz BuildRequires: bison BuildRequires: gcc-c++ @@ -40,13 +40,13 @@ terms of size and speed. %build %configure %if 0%{?do_profiling} - make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" V=1 + %make_build CFLAGS="%{optflags} %{cflags_profile_generate}" # do not run profiling in parallel for reproducible builds (boo#1040589 boo#1102408) - make CFLAGS="%{optflags} %{cflags_profile_generate}" check - make %{?_smp_mflags} clean - make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" V=1 + %make_build CFLAGS="%{optflags} %{cflags_profile_generate}" check + %make_build clean + %make_build CFLAGS="%{optflags} %{cflags_profile_feedback}" %else - make %{?_smp_mflags} CFLAGS="%{optflags}" + %make_build CFLAGS="%{optflags}" %endif %install