jchaloup pushed to golang-github-godbus-dbus (f21). "Bump to upstream 939230d2086a4f1870e04c52e0a376c25bae0ec4 (..more)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Tue Mar 31 09:58:41 UTC 2015
>From 05ddf776687915bbcef5d84ade4cafbca1a4ffcd Mon Sep 17 00:00:00 2001
From: Jan Chaloupka <jchaloup at redhat.com>
Date: Tue, 31 Mar 2015 10:52:16 +0200
Subject: Bump to upstream 939230d2086a4f1870e04c52e0a376c25bae0ec4 Spec file
polishing - related: #1082734
diff --git a/.gitignore b/.gitignore
index 49d0f8f..43d50e4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/go.dbus-cb98efb.tar.gz
+/dbus-939230d.tar.gz
diff --git a/golang-github-godbus-dbus.spec b/golang-github-godbus-dbus.spec
index c1532d9..cf62111 100644
--- a/golang-github-godbus-dbus.spec
+++ b/golang-github-godbus-dbus.spec
@@ -1,16 +1,19 @@
%global debug_package %{nil}
-%global import_path github.com/godbus/dbus
-%global gopath %{_datadir}/gocode
-%global commit cb98efbb933d8389ab549a060e880ea3c375d213
+%global provider github
+%global provider_tld com
+%global project godbus
+%global repo dbus
+%global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
+%global commit 939230d2086a4f1870e04c52e0a376c25bae0ec4
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: golang-github-godbus-dbus
-Version: 0
-Release: 0.2.git%{shortcommit}%{?dist}
+Version: 2
+Release: 0.1.git%{shortcommit}%{?dist}
Summary: Go client bindings for D-Bus
License: BSD
URL: https://%{import_path}
-Source0: https://%{import_path}/archive/%{commit}/go.dbus-%{shortcommit}.tar.gz
+Source0: https://%{import_path}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
BuildArch: noarch
%else
@@ -28,11 +31,10 @@ connections)
Subpackages that help with the introspection / property interfaces.
%package devel
-BuildRequires: golang
-Requires: golang
+BuildRequires: golang >= 1.3.3
+Requires: golang >= 1.3.3
Summary: Go client bindings for D-Bus
Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/_examples) = %{version}-%{release}
Provides: golang(%{import_path}/introspect) = %{version}-%{release}
Provides: golang(%{import_path}/prop) = %{version}-%{release}
@@ -43,35 +45,29 @@ This package contains library source intended for building other packages
which use %{import_path}.
%prep
-%setup -n dbus-%{commit}
+%setup -q -n %{repo}-%{commit}
%build
%install
for d in . _examples introspect prop; do
install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$d
- cp -av $d/*.go %{buildroot}/%{gopath}/src/%{import_path}/$d
+ cp -pav $d/*.go %{buildroot}/%{gopath}/src/%{import_path}/$d
done
%check
%files devel
-%defattr(-,root,root,-)
%doc LICENSE README.markdown
-%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/godbus
-%dir %attr(755,root,root) %{gopath}/src/%{import_path}
-%dir %attr(755,root,root) %{gopath}/src/%{import_path}/_examples
-%dir %attr(755,root,root) %{gopath}/src/%{import_path}/introspect
-%dir %attr(755,root,root) %{gopath}/src/%{import_path}/prop
-%{gopath}/src/%{import_path}/*.go
-%{gopath}/src/%{import_path}/_examples/*.go
-%{gopath}/src/%{import_path}/introspect/*.go
-%{gopath}/src/%{import_path}/prop/*.go
+%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
+%{gopath}/src/%{import_path}
%changelog
+* Tue Mar 31 2015 jchaloup <jchaloup at redhat.com> - 2-0.1.git939230d
+- Bump to upstream 939230d2086a4f1870e04c52e0a376c25bae0ec4
+- Spec file polishing
+ related: #1082734
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0-0.2.gitcb98efb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
diff --git a/sources b/sources
index c9e692e..b4e8446 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2815d4cf9dd14d06fc7670f7b02014fb go.dbus-cb98efb.tar.gz
+1ea0152718621496f7ca41ce4e70cef3 dbus-939230d.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/golang-github-godbus-dbus.git/commit/?h=f21&id=05ddf776687915bbcef5d84ade4cafbca1a4ffcd
More information about the scm-commits
mailing list