[golang/f21] set source directory timestamps during %install
by Vincent Batts
commit 1afe7e2655c3c021aa9dfc88e1455675ebdb0e8d
Author: Vincent Batts <vbatts(a)redhat.com>
Date: Fri Aug 8 21:11:50 2014 +0000
set source directory timestamps during %install
golang.spec | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
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 <vbatts(a)fedoraproject.org> - 1.3-7
+- update timestamps of source during %%install bz1099206
+
* Wed Aug 06 2014 Vincent Batts <vbatts(a)fedoraproject.org> - 1.3-6
- make the source subpackage arch'ed, instead of noarch
9 years, 10 months