Skip to content

Commit

Permalink
updated rpm spec to clean go module cache
Browse files Browse the repository at this point in the history
  • Loading branch information
hurngchunlee committed Feb 18, 2020
1 parent 7a8979c commit 46f45f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/rpm/centos7.spec
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ rm -rf %{gopath}
mkdir -p %{gopath}/src/github.com/Donders-Institute
# copy entire directory into gopath, this duplicate the source code
cp -R %{_builddir}/%{name}-%{version} %{gopath}/src/github.com/Donders-Institute/%{name}
cd %{gopath}/src/github.com/Donders-Institute/%{name}; GOPATH=%{gopath} make; %{gopath}/bin/hpcutil-gbc > hpcutil
cd %{gopath}/src/github.com/Donders-Institute/%{name}; GOPATH=%{gopath} make; GOPATH=%{gopath} go clean --modcache; %{gopath}/bin/hpcutil-gbc > hpcutil

%install
mkdir -p %{buildroot}/%{_bindir}
Expand Down

0 comments on commit 46f45f9

Please sign in to comment.