This allows combining %goprep and %autopatch without issues. It also
allows packagers use %autosetup's SCM functionality.
For the reasons outlined in https://pagure.io/go-rpm-macros/issue/3,
there is no option to use -p1 or otherwise automatically apply patches
using %goprep. Add a separate %autopatch -p1 call for that. The go2rpm
template already adds this by default.
This allows combining %goprep and %autopatch without issues. It also
allows packagers use %autosetup's SCM functionality.
For the reasons outlined in https://pagure.io/go-rpm-macros/issue/3,
there is no option to use -p1 or otherwise automatically apply patches
using %goprep. Add a separate %autopatch -p1 call for that. The go2rpm
template already adds this by default.
/cc @salimma