Browse Source

peco 0.5.1-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11109 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 6 years ago
parent
commit
9696567769
1 changed files with 10 additions and 1 deletions
  1. 10 1
      p/peco/peco-vl.spec

+ 10 - 1
p/peco/peco-vl.spec

@@ -1,5 +1,5 @@
 %define pkg_name    peco
-%define pkg_version 0.3.6
+%define pkg_version 0.5.1
 %define pkg_release 1%{?_dist_release}
 
 %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/jessevdk/go-flags)
 BuildRequires: golang(github.com/nsf/termbox-go)
+BuildRequires: golang(github.com/pkg/errors)
+BuildRequires: golang(github.com/lestrrat/go-pdebug)
 
 Vendor: Project Vine
 Distribution: Vine Linux
@@ -47,10 +49,13 @@ export GOPATH=$BUILD_DIR:%{gopath}
 
 %{__mkdir_p} $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
 
 %install
 %{__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}
 
 %clean
@@ -65,6 +70,10 @@ go build cmd/peco/peco.go
 
 
 %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
 - update to 0.3.6