|
@@ -1,5 +1,5 @@
|
|
%define pkg_name peco
|
|
%define pkg_name peco
|
|
-%define pkg_version 0.3.6
|
|
+%define pkg_version 0.5.1
|
|
%define pkg_release 1%{?_dist_release}
|
|
%define pkg_release 1%{?_dist_release}
|
|
|
|
|
|
%global gopath %{_datadir}/gocode
|
|
%global gopath %{_datadir}/gocode
|
|
@@ -21,6 +21,8 @@ BuildRequires: golang(github.com/google/btree)
|
|
BuildRequires: golang(github.com/mattn/go-runewidth)
|
|
BuildRequires: golang(github.com/mattn/go-runewidth)
|
|
BuildRequires: golang(github.com/jessevdk/go-flags)
|
|
BuildRequires: golang(github.com/jessevdk/go-flags)
|
|
BuildRequires: golang(github.com/nsf/termbox-go)
|
|
BuildRequires: golang(github.com/nsf/termbox-go)
|
|
|
|
+BuildRequires: golang(github.com/pkg/errors)
|
|
|
|
+BuildRequires: golang(github.com/lestrrat/go-pdebug)
|
|
|
|
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
@@ -47,10 +49,13 @@ export GOPATH=$BUILD_DIR:%{gopath}
|
|
|
|
|
|
%{__mkdir_p} $BUILD_DIR/src/github.com/peco/peco
|
|
%{__mkdir_p} $BUILD_DIR/src/github.com/peco/peco
|
|
%{__cp} -r * $BUILD_DIR/src/github.com/peco/peco
|
|
%{__cp} -r * $BUILD_DIR/src/github.com/peco/peco
|
|
|
|
+cd $BUILD_DIR/src/github.com/peco/peco
|
|
go build cmd/peco/peco.go
|
|
go build cmd/peco/peco.go
|
|
|
|
|
|
%install
|
|
%install
|
|
%{__mkdir_p} ${RPM_BUILD_ROOT}%{_bindir}
|
|
%{__mkdir_p} ${RPM_BUILD_ROOT}%{_bindir}
|
|
|
|
+export BUILD_DIR=$(pwd)/.build
|
|
|
|
+cd $BUILD_DIR/src/github.com/peco/peco
|
|
%{__install} -m 755 peco ${RPM_BUILD_ROOT}%{_bindir}
|
|
%{__install} -m 755 peco ${RPM_BUILD_ROOT}%{_bindir}
|
|
|
|
|
|
%clean
|
|
%clean
|
|
@@ -65,6 +70,10 @@ go build cmd/peco/peco.go
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Jun 07 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 0.5.1-1
|
|
|
|
+- update to 0.5.1
|
|
|
|
+- update BuildRequires
|
|
|
|
+
|
|
* Wed May 11 2016 Toshiaki Ara <ara_t@384.jp> 0.3.6-1
|
|
* Wed May 11 2016 Toshiaki Ara <ara_t@384.jp> 0.3.6-1
|
|
- update to 0.3.6
|
|
- update to 0.3.6
|
|
|
|
|