|
@@ -1,5 +1,5 @@
|
|
%define pkg_name peco
|
|
%define pkg_name peco
|
|
-%define pkg_version 0.5.1
|
|
+%define pkg_version 0.5.3
|
|
%define pkg_release 1%{?_dist_release}
|
|
%define pkg_release 1%{?_dist_release}
|
|
|
|
|
|
%global gopath %{_datadir}/gocode
|
|
%global gopath %{_datadir}/gocode
|
|
@@ -35,7 +35,7 @@ based on a python tool, percol, and written in Go.
|
|
|
|
|
|
%description -l ja
|
|
%description -l ja
|
|
pecoはシンプルな対話式フィルタリングツールであり、
|
|
pecoはシンプルな対話式フィルタリングツールであり、
|
|
-Pyhon製のpercolをGo言語で実装したプログラムです。
|
|
+Python製のpercolをGo言語で実装したプログラムです。
|
|
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
@@ -45,17 +45,17 @@ Pyhon製のpercolをGo言語で実装したプログラムです。
|
|
|
|
|
|
%build
|
|
%build
|
|
export BUILD_DIR=$(pwd)/.build
|
|
export BUILD_DIR=$(pwd)/.build
|
|
-export GOPATH=$BUILD_DIR:%{gopath}
|
|
+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
|
|
+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
|
|
export BUILD_DIR=$(pwd)/.build
|
|
-cd $BUILD_DIR/src/github.com/peco/peco
|
|
+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
|
|
@@ -70,6 +70,9 @@ cd $BUILD_DIR/src/github.com/peco/peco
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Jun 09 2018 Toshiaki Ara <ara_t@384.jp> 0.5.3-1
|
|
|
|
+- update to 0.5.3
|
|
|
|
+
|
|
* Wed Jun 07 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 0.5.1-1
|
|
* Wed Jun 07 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 0.5.1-1
|
|
- update to 0.5.1
|
|
- update to 0.5.1
|
|
- update BuildRequires
|
|
- update BuildRequires
|