[golang-github-openshift-go-systemd] use BR: golang

lsm5 lsm5 at fedoraproject.org
Tue Aug 26 21:22:40 UTC 2014


commit 20bf8e1ed7999f1b80d5b35a47e7bc6def056138
Author: Lokesh Mandvekar <lsm5 at fedoraproject.org>
Date:   Tue Aug 26 16:22:36 2014 -0500

    use BR: golang

 golang-github-openshift-go-systemd.spec |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/golang-github-openshift-go-systemd.spec b/golang-github-openshift-go-systemd.spec
index 3fd4d4a..4580af4 100644
--- a/golang-github-openshift-go-systemd.spec
+++ b/golang-github-openshift-go-systemd.spec
@@ -16,6 +16,7 @@ ExclusiveArch:  %{ix86} x86_64 %{arm}
 %{summary}
 
 %package devel
+BuildRequires:  golang >= 1.2.1-3
 Requires:       golang(github.com/godbus/dbus)
 Requires:       golang >= 1.2.1-3
 Summary:        Go bindings to systemd D-BUS APIs
@@ -29,16 +30,15 @@ which use openshift/go-systemd.
 
 %prep
 %setup -n go-systemd-%{commit}
+rm -rf account activation examples fixtures journal test
 
 %build
 
 %install
-rm -rf account activation examples fixtures journal test
 install -d -p %{buildroot}/%{gopath}/src/%{import_path}/dbus
-cp -pav dbus %{buildroot}/%{gopath}/src/%{import_path}
+cp -pav dbus/*.go %{buildroot}/%{gopath}/src/%{import_path}/dbus
 
 %files devel
-%defattr(-,root,root,-)
 %doc LICENSE README.md
 %dir %{gopath}/src/github.com/openshift
 %dir %{gopath}/src/%{import_path}


More information about the scm-commits mailing list