From 90e73267ad61eecb9d5b354ba2bbd7115ff1da55 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Fri, 8 Aug 2014 21:11:50 +0000 Subject: [PATCH] set source directory timestamps during %install --- golang.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/golang.spec b/golang.spec index 10ea702..ac10839 100644 --- a/golang.spec +++ b/golang.spec @@ -39,7 +39,7 @@ Name: golang Version: 1.2.2 -Release: 12%{?dist} +Release: 13%{?dist} Summary: The Go Programming Language License: BSD @@ -476,6 +476,8 @@ mkdir -p $RPM_BUILD_ROOT%{goroot} cp -apv api bin doc favicon.ico include lib pkg robots.txt src misc VERSION \ $RPM_BUILD_ROOT%{goroot} +find $RPM_BUILD_ROOT%{goroot}/src -type d -exec touch -r $RPM_BUILD_ROOT%{goroot}/VERSION "{}" \; + # remove the unnecessary zoneinfo file (Go will always use the system one first) rm -rfv $RPM_BUILD_ROOT%{goroot}/lib/time @@ -886,6 +888,9 @@ fi %changelog +* Fri Aug 08 2014 Vincent Batts - 1.2.2-13 +- update timestamps of source during %%install bz1099206 + * Fri Aug 08 2014 Vincent Batts - 1.2.2-12 - set another version constraint on xemacs due to bz1127518