diff --git a/re2c-nogenerationdatedefault.patch b/re2c-nogenerationdatedefault.patch new file mode 100644 index 0000000..3a7fad5 --- /dev/null +++ b/re2c-nogenerationdatedefault.patch @@ -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; diff --git a/re2c.changes b/re2c.changes index 606cdd1..45bcfb4 100644 --- a/re2c.changes +++ b/re2c.changes @@ -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 diff --git a/re2c.spec b/re2c.spec index 0a52069..05cc780 100644 --- a/re2c.spec +++ b/re2c.spec @@ -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