commit 3b81b78b2c8b5ec5232c4688fa565d7dac573969
Author: Elan Ruusamäe <[email protected]>
Date:   Wed Apr 27 16:56:50 2016 +0300

    up to 2.2.3; rewritten in go, requires go1.5 to compile

 hub.spec | 24 +++++++++++++++---------
 1 file changed, 15 insertions(+), 9 deletions(-)
---
diff --git a/hub.spec b/hub.spec
index 00fb64a..fba4cfd 100644
--- a/hub.spec
+++ b/hub.spec
@@ -1,17 +1,20 @@
-Summary:       hub makes git better with github
+Summary:       Command-line wrapper for git that makes you better at GitHub
 Name:          hub
-Version:       1.12.0
+Version:       2.2.3
 Release:       1
-License:       BSD
+License:       MIT
 Group:         Development/Tools
 Source0:       
https://github.com/github/hub/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 87d6ba3ffd513814dedf6a6b6e07e41f
+# Source0-md5: 6675992ddd16d186eac7ba4484d57f5b
 URL:           http://hub.github.com/
+BuildRequires: golang >= 1.5
+BuildRequires: bash
 Requires:      git-core >= 1.7.3
-Requires:      ruby >= 1:1.8.6
-BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# go stuff
+%define _enable_debug_packages 0
+
 %description
 hub is a command line tool that wraps git in order to extend it with
 extra features and commands that make working with GitHub easier.
@@ -22,11 +25,14 @@ shell and get all the usual hub features.
 %prep
 %setup -q
 
+%build
+bash -x ./script/build -o hub
+
 %install
 rm -rf $RPM_BUILD_ROOT
-rake install \
-       prefix=%{_prefix} \
-       DESTDIR=$RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+install -p hub $RPM_BUILD_ROOT%{_bindir}
+cp -p man/hub.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/hub.git/commitdiff/3b81b78b2c8b5ec5232c4688fa565d7dac573969

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to