[golang-github-openshift-go-systemd] update to commit 3e62c31315198df83edded90b68a33509c9f5b56

lsm5 lsm5 at fedoraproject.org
Tue Aug 26 19:53:15 UTC 2014


commit 8c8242c6efc098800415d80eebd38c9c45ccb97c
Author: Lokesh Mandvekar <lsm5 at fedoraproject.org>
Date:   Tue Aug 26 14:53:05 2014 -0500

    update to commit 3e62c31315198df83edded90b68a33509c9f5b56

 .gitignore                              |    1 +
 golang-github-openshift-go-systemd.spec |   28 +++++++++++++---------------
 sources                                 |    2 +-
 3 files changed, 15 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index fbe2912..667c6a7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /go-systemd-b71042d.tar.gz
+/go-systemd-3e62c31.tar.gz
diff --git a/golang-github-openshift-go-systemd.spec b/golang-github-openshift-go-systemd.spec
index 95dad49..3fd4d4a 100644
--- a/golang-github-openshift-go-systemd.spec
+++ b/golang-github-openshift-go-systemd.spec
@@ -1,28 +1,23 @@
 %global debug_package   %{nil}
 %global import_path     github.com/openshift/go-systemd
-%global gopath          %{_datadir}/gocode
-%global commit          b71042dcb39d4f573694804a7378c3a8e6bdfbdb
+%global commit          3e62c31315198df83edded90b68a33509c9f5b56
 %global shortcommit     %(c=%{commit}; echo ${c:0:7})
 
 Name:           golang-github-openshift-go-systemd
 Version:        0
-Release:        0.3.git%{shortcommit}%{?dist}
+Release:        0.4.git%{shortcommit}%{?dist}
 Summary:        Go bindings to systemd D-BUS APIs
 License:        ASL 2.0
 URL:            http://%{import_path}
 Source0:        https://%{import_path}/archive/%{commit}/go-systemd-%{shortcommit}.tar.gz
-%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
-BuildArch:      noarch
-%else
 ExclusiveArch:  %{ix86} x86_64 %{arm}
-%endif
 
 %description
 %{summary}
 
 %package devel
 Requires:       golang(github.com/godbus/dbus)
-Requires:       golang
+Requires:       golang >= 1.2.1-3
 Summary:        Go bindings to systemd D-BUS APIs
 Provides:       golang(%{import_path}/dbus) = %{version}-%{release}
 
@@ -40,19 +35,22 @@ which use openshift/go-systemd.
 %install
 rm -rf account activation examples fixtures journal test
 install -d -p %{buildroot}/%{gopath}/src/%{import_path}/dbus
-cp -av dbus %{buildroot}/%{gopath}/src/%{import_path}
+cp -pav dbus %{buildroot}/%{gopath}/src/%{import_path}
 
 %files devel
+%defattr(-,root,root,-)
 %doc LICENSE README.md
-%dir %attr(755,root,root) %{gopath}
-%dir %attr(755,root,root) %{gopath}/src
-%dir %attr(755,root,root) %{gopath}/src/github.com
-%dir %attr(755,root,root) %{gopath}/src/github.com/openshift
-%dir %attr(755,root,root) %{gopath}/src/%{import_path}
-%dir %attr(755,root,root) %{gopath}/src/%{import_path}/dbus
+%dir %{gopath}/src/github.com/openshift
+%dir %{gopath}/src/%{import_path}
+%dir %{gopath}/src/%{import_path}/dbus
 %{gopath}/src/%{import_path}/dbus/*.go
 
 %changelog
+* Tue Aug 26 2014 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 0-0.4.git
+- update to latest upstream commit 3e62c31315198df83edded90b68a33509c9f5b56
+- include test
+- do not own directories owned by golang
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0-0.3.gitb71042d
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
diff --git a/sources b/sources
index 316f260..443c5f7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0703df2482ed5fd4c73f85ab6d7217b5  go-systemd-b71042d.tar.gz
+41d264894c82ce1cdb3c169a580fd0b4  go-systemd-3e62c31.tar.gz


More information about the scm-commits mailing list