diff --git a/.gitignore b/.gitignore index 8f0d407..11e6069 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /golang-19087:a15f344a9efa-xattrs.tar /go1.2.1.src.tar.gz /go1.2.2.src.tar.gz +/go1.3.src.tar.gz diff --git a/golang.spec b/golang.spec index 87a2d61..49d74e0 100644 --- a/golang.spec +++ b/golang.spec @@ -39,7 +39,7 @@ Name: golang Version: 1.2.2 -Release: 15%{?dist} +Release: 16%{?dist} Summary: The Go Programming Language License: BSD @@ -479,6 +479,10 @@ cp -apv api bin doc favicon.ico include lib pkg robots.txt src misc VERSION \ # bz1099206 find $RPM_BUILD_ROOT%{goroot}/src -exec touch -r $RPM_BUILD_ROOT%{goroot}/VERSION "{}" \; +# and level out all the built archives +touch $RPM_BUILD_ROOT%{goroot}/pkg +find $RPM_BUILD_ROOT%{goroot}/pkg -exec touch -r $RPM_BUILD_ROOT%{goroot}/pkg "{}" \; + # remove the unnecessary zoneinfo file (Go will always use the system one first) rm -rfv $RPM_BUILD_ROOT%{goroot}/lib/time @@ -890,6 +894,9 @@ fi %changelog +* Mon Aug 11 2014 Vincent Batts - 1.2.2-16 +- touch all the built archives to be the same + * Mon Aug 11 2014 Vincent Batts - 1.2.2-15 - make golang-src 'noarch' again, since that was not a fix, and takes up more space