|
|
|
@ -257,7 +257,7 @@ rm -rf $RPM_BUILD_ROOT
@@ -257,7 +257,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
rm -rf pkg/obj/go-build/* |
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_bindir} |
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{goroot} |
|
|
|
|
cp -apv api bin doc lib pkg src misc test VERSION $RPM_BUILD_ROOT%{goroot} |
|
|
|
|
cp -apv api bin doc lib pkg src misc test VERSION go.env $RPM_BUILD_ROOT%{goroot} |
|
|
|
|
|
|
|
|
|
echo "== 2 ==" |
|
|
|
|
find $RPM_BUILD_ROOT%{goroot}/src -exec touch -r $RPM_BUILD_ROOT%{goroot}/VERSION "{}" \; |
|
|
|
|