- Modified golang.spec to delete intermediate .orig files that create issues in the build

- Resolves: RHEL-34671
This commit is contained in:
Archana 2024-05-08 13:15:00 +05:30
parent b0a81b3e63
commit 4c5ee73cdc

View File

@ -111,7 +111,7 @@
%global pkg_release 1
# For rpmdev-bumpspec and releng automation.
%global baserelease 1
%global baserelease 2
Name: golang
Version: %{go_version}
@ -349,6 +349,8 @@ cp %{SOURCE2} ./src/runtime/
./scripts/configure-crypto-tests.sh
popd
%endif
# Remove all .orig files if they are generated during patching
find -name "*.orig" -exec rm {} \;
%build
# -x: print commands as they are executed