From 1afe7e2655c3c021aa9dfc88e1455675ebdb0e8d 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 4b40d95..816eb66 100644 --- a/golang.spec +++ b/golang.spec @@ -39,7 +39,7 @@ Name: golang Version: 1.3 -Release: 6%{?dist} +Release: 7%{?dist} Summary: The Go Programming Language License: BSD @@ -428,6 +428,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 @@ -851,6 +853,9 @@ fi %changelog +* Fri Aug 08 2014 Vincent Batts - 1.3-7 +- update timestamps of source during %%install bz1099206 + * Wed Aug 06 2014 Vincent Batts - 1.3-6 - make the source subpackage arch'ed, instead of noarch