forked from misaka00251/go-rpm-macros
Update macros
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
%buildsystem_cmake_conf() %nil
|
||||
%buildsystem_golang_build() %go_build %*
|
||||
%buildsystem_golang_install() %{expand:\\\
|
||||
%__install -D -m 0755 %{_name} %{buildroot}%{_bindir}/%{_name} \\\
|
||||
%__install -D -m 0755 %{_name} %{buildroot}%{_bindir}/%{_name}
|
||||
}
|
||||
%buildsystem_golang_check() %{expand:\\\
|
||||
%{go_common} \\\
|
||||
cd %{_builddir}/go/src/%{go_import_path} \\\
|
||||
%__go test %{shrink:%{go_test_flags_default} %*} ./... \\\
|
||||
%{go_common}
|
||||
cd %{_builddir}/go/src/%{go_import_path}
|
||||
%__go test %{shrink:%{go_test_flags_default} %*} ./...
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user