diff --git a/golang.spec b/golang.spec index f4e5701..628cdd0 100644 --- a/golang.spec +++ b/golang.spec @@ -39,7 +39,7 @@ Name: golang Version: 1.2.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: The Go Programming Language License: BSD @@ -577,6 +577,59 @@ if [ $1 = 0 ]; then fi %endif +# All these archives need to be newer than the corresponding source in goroot +# https://bugzilla.redhat.com/show_bug.cgi?id=1099206 +%post pkg-linux-386 +find %{goroot}/pkg/linux_386/ -type f -name '*.a' -exec touch "{}" \; + +%post pkg-linux-amd64 +find %{goroot}/pkg/linux_amd64/ -type f -name '*.a' -exec touch "{}" \; + +%post pkg-linux-arm +find %{goroot}/pkg/linux_arm/ -type f -name '*.a' -exec touch "{}" \; + +%post pkg-darwin-386 +find %{goroot}/pkg/darwin_386/ -type f -name '*.a' -exec touch "{}" \; + +%post pkg-darwin-amd64 +find %{goroot}/pkg/darwin_amd64/ -type f -name '*.a' -exec touch "{}" \; + +%post pkg-windows-386 +find %{goroot}/pkg/windows_386/ -type f -name '*.a' -exec touch "{}" \; + +%post pkg-windows-amd64 +find %{goroot}/pkg/windows_amd64/ -type f -name '*.a' -exec touch "{}" \; + +%post pkg-plan9-386 +find %{goroot}/pkg/plan9_386/ -type f -name '*.a' -exec touch "{}" \; + +%post pkg-plan9-amd64 +find %{goroot}/pkg/plan9_amd64/ -type f -name '*.a' -exec touch "{}" \; + +%post pkg-freebsd-386 +find %{goroot}/pkg/freebsd_386/ -type f -name '*.a' -exec touch "{}" \; + +%post pkg-freebsd-amd64 +find %{goroot}/pkg/freebsd_amd64/ -type f -name '*.a' -exec touch "{}" \; + +%post pkg-freebsd-arm +find %{goroot}/pkg/freebsd_arm/ -type f -name '*.a' -exec touch "{}" \; + +%post pkg-netbsd-386 +find %{goroot}/pkg/netbsd_386/ -type f -name '*.a' -exec touch "{}" \; + +%post pkg-netbsd-amd64 +find %{goroot}/pkg/netbsd_amd64/ -type f -name '*.a' -exec touch "{}" \; + +%post pkg-netbsd-arm +find %{goroot}/pkg/netbsd_arm/ -type f -name '*.a' -exec touch "{}" \; + +%post pkg-openbsd-386 +find %{goroot}/pkg/openbsd_386/ -type f -name '*.a' -exec touch "{}" \; + +%post pkg-openbsd-amd64 +find %{goroot}/pkg/openbsd_amd64/ -type f -name '*.a' -exec touch "{}" \; + %files %doc AUTHORS CONTRIBUTORS LICENSE PATENTS VERSION @@ -904,6 +957,9 @@ fi %changelog +* Mon May 19 2014 Vincent Batts 1.2.2-3 +- bz1099206 fix timestamp issue caused by koji builders + * Fri May 09 2014 Vincent Batts 1.2.2-2 - more arch file shuffling