Browse Source

golang-github-jessevdk-go-flags 0.1-3

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@10753 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 7 years ago
parent
commit
009bd7b61e

+ 6 - 1
g/golang-github-jessevdk-go-flags/golang-github-jessevdk-go-flags-vl.spec

@@ -9,6 +9,8 @@
 %global debug_package   %{nil}
 %endif
 
+%global gopath %{_datadir}/gocode
+
 %define copying() \
 %if 0%{?fedora} >= 21 || 0%{?rhel} >= 7 \
 %license %{*} \
@@ -28,7 +30,7 @@
 
 Name:           golang-%{provider}-%{project}-%{repo}
 Version:        0.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        a go library for parsing command line arguments
 License:        BSD
 URL:            https://%{import_path}
@@ -161,6 +163,9 @@ gotest %{import_path}
 %endif
 
 %changelog
+* Tue Jan 26 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 0.1-3
+- define %%{gopath}
+
 * Sun Jan 24 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 0.1-2
 - fix License