set source directory timestamps during %install
This commit is contained in:
parent
42cdf8daca
commit
1afe7e2655
@ -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@fedoraproject.org> - 1.3-7
|
||||
- update timestamps of source during %%install bz1099206
|
||||
|
||||
* Wed Aug 06 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-6
|
||||
- make the source subpackage arch'ed, instead of noarch
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user