From 15dca88a6fd67654ccd853e9596e0e71f60aae3cfb44b26871f2dc23b6cdcf76 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Thu, 5 Feb 2015 10:11:20 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/guile?expand=0&rev=70 --- guile-fake-buildstamp.patch | 26 ++++++++++++++++++++++++++ guile.spec | 5 ++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 guile-fake-buildstamp.patch diff --git a/guile-fake-buildstamp.patch b/guile-fake-buildstamp.patch new file mode 100644 index 0000000..b5b49ae --- /dev/null +++ b/guile-fake-buildstamp.patch @@ -0,0 +1,26 @@ +Index: libguile/Makefile.am +=================================================================== +--- libguile/Makefile.am.orig 2014-03-16 23:43:13.000000000 +0100 ++++ libguile/Makefile.am 2015-02-05 10:08:50.703439774 +0100 +@@ -717,7 +717,7 @@ + >> libpath.tmp + @echo ' { "LIBS", "@GUILE_LIBS@" }, \' >> libpath.tmp + @echo ' { "CFLAGS", "@GUILE_CFLAGS@" }, \' >> libpath.tmp +- @echo ' { "buildstamp", "'`date -u +'%Y-%m-%d %T'`'" }, \' >> libpath.tmp ++ @echo ' { "buildstamp", "'1970-01-01 00:00:01'" }, \' >> libpath.tmp + @echo '}' >> libpath.tmp + $(AM_V_GEN)mv libpath.tmp libpath.h + +Index: libguile/Makefile.in +=================================================================== +--- libguile/Makefile.in.orig 2014-03-20 09:16:24.000000000 +0100 ++++ libguile/Makefile.in 2015-02-05 10:11:12.347315156 +0100 +@@ -3707,7 +3707,7 @@ + >> libpath.tmp + @echo ' { "LIBS", "@GUILE_LIBS@" }, \' >> libpath.tmp + @echo ' { "CFLAGS", "@GUILE_CFLAGS@" }, \' >> libpath.tmp +- @echo ' { "buildstamp", "'`date -u +'%Y-%m-%d %T'`'" }, \' >> libpath.tmp ++ @echo ' { "buildstamp", "'1970-01-01 00:00:02'" }, \' >> libpath.tmp + @echo '}' >> libpath.tmp + $(AM_V_GEN)mv libpath.tmp libpath.h + diff --git a/guile.spec b/guile.spec index 07f3bc6..1b0269b 100644 --- a/guile.spec +++ b/guile.spec @@ -1,7 +1,7 @@ # # spec file for package guile # -# 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 @@ -41,6 +41,8 @@ Group: Development/Languages/Scheme Url: http://www.gnu.org/software/guile/ Source0: ftp://ftp.gnu.org/gnu/guile/%{name}-%{version}.tar.gz Source1: guile-rpmlintrc +# suse specific +Patch0: %{name}-fake-buildstamp.patch Patch1: %{name}-64bit.patch Patch2: %{name}-1.6.10-mktemp.patch Patch3: %{name}-threads-test.patch @@ -111,6 +113,7 @@ linked in as a library when building extensible programs. %prep %setup -q +%patch0 %patch1 %patch2 %patch3 -p1