This commit is contained in:
parent
bce224f168
commit
15dca88a6f
26
guile-fake-buildstamp.patch
Normal file
26
guile-fake-buildstamp.patch
Normal file
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user