[golang/el6: 1/2] remove %ghost ownership, so that clobbering occurs

Vincent Batts vbatts at fedoraproject.org
Wed May 21 16:52:20 UTC 2014


commit 4620c4841bbd3491817f6b9fdd6c38682bef850f
Author: Vincent Batts <vbatts at redhat.com>
Date:   Wed May 21 12:50:07 2014 -0400

    remove %ghost ownership, so that clobbering occurs

 golang.spec |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/golang.spec b/golang.spec
index 97ae1e9..4c3a7b2 100644
--- a/golang.spec
+++ b/golang.spec
@@ -39,7 +39,7 @@
 
 Name:           golang
 Version:        1.2.2
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        The Go Programming Language
 
 License:        BSD
@@ -772,8 +772,8 @@ GOROOT=%{goroot} GOOS=openbsd GOARCH=amd64 go install std
 %files pkg-bin-linux-386
 %{goroot}/bin/linux_386/
 # binary executables
-%ghost %{_bindir}/go
-%ghost %{_bindir}/gofmt
+%{_bindir}/go
+%{_bindir}/gofmt
 %dir %{goroot}/pkg/obj/linux_386
 %{goroot}/pkg/obj/linux_386/*
 %{goroot}/pkg/linux_386/runtime/cgo.a
@@ -813,8 +813,8 @@ GOROOT=%{goroot} GOOS=openbsd GOARCH=amd64 go install std
 %files pkg-bin-linux-amd64
 %{goroot}/bin/linux_amd64/
 # binary executables
-%ghost %{_bindir}/go
-%ghost %{_bindir}/gofmt
+%{_bindir}/go
+%{_bindir}/gofmt
 %dir %{goroot}/pkg/obj/linux_amd64
 %{goroot}/pkg/obj/linux_amd64/*
 %{goroot}/pkg/linux_amd64/runtime/cgo.a
@@ -850,8 +850,8 @@ GOROOT=%{goroot} GOOS=openbsd GOARCH=amd64 go install std
 %files pkg-bin-linux-arm
 %{goroot}/bin/linux_arm/
 # binary executables
-%ghost %{_bindir}/go
-%ghost %{_bindir}/gofmt
+%{_bindir}/go
+%{_bindir}/gofmt
 %dir %{goroot}/pkg/obj/linux_arm
 %{goroot}/pkg/obj/linux_arm/*
 %{goroot}/pkg/linux_arm/runtime/cgo.a
@@ -978,6 +978,9 @@ GOROOT=%{goroot} GOOS=openbsd GOARCH=amd64 go install std
 
 
 %changelog
+* Wed May 21 2014 Vincent Batts <vbatts at redhat.com> 1.2.2-7
+- bz1099206 ghost files are not what is needed
+
 * Tue May 20 2014 Vincent Batts <vbatts at redhat.com> 1.2.2-6
 - bz1099206 more fixing. The packages %%post need golang-bin present first
 


More information about the scm-commits mailing list