Accepting request 283858 from home:elvigia:branches:devel:tools:compiler

- re2c-nogenerationdatedefault.patch: Default to 
  --no-generation-date to avoid build-compare problems [BNC#915937]

OBS-URL: https://build.opensuse.org/request/show/283858
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=13
This commit is contained in:
Ismail Dönmez 2015-02-05 13:55:45 +00:00 committed by Git OBS Bridge
parent 2d8ccd2e02
commit fef61209fe
3 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- re2c-0.13.7.5.orig/main.cc
+++ re2c-0.13.7.5/main.cc
@@ -35,7 +35,7 @@ bool rFlag = false;
bool sFlag = false;
bool tFlag = false;
-bool bNoGenerationDate = false;
+bool bNoGenerationDate = true;
bool bSinglePass = false;
bool bFirstPass = true;

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Feb 3 11:35:34 UTC 2015 - crrodriguez@opensuse.org
- re2c-nogenerationdatedefault.patch: Default to
--no-generation-date to avoid build-compare problems [BNC#915937]
-------------------------------------------------------------------
Thu Dec 11 23:03:37 UTC 2014 - crrodriguez@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package re2c
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 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
@ -26,6 +26,7 @@ Url: http://re2c.org/
Source: %{name}-%{version}.tar.gz
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
@ -36,6 +37,7 @@ terms of size and speed.
%prep
%setup -q
%patch0 -p1
find lessons examples -type f -print0 \
| xargs -r0 chmod -v a-x