You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The go2rpm specfile template includes %autopatch -p1 by default to automatically apply patches if they are present after calling %goprep -A which calls %autosetup -N internally. In the latest RPM version, %autopatch prints out autopatch: no matching patches in range when no patches are defined.
RPM build warnings:
/builddir/build/SPECS/golang-github-jba-templatecheck.spec line 36: autopatch: no matching patches in range
(...)
warning: /builddir/build/SPECS/golang-github-jba-templatecheck.spec line 36: autopatch: no matching patches in range
Describe the bug
The go2rpm specfile template includes
%autopatch -p1
by default to automatically apply patches if they are present after calling%goprep -A
which calls%autosetup -N
internally. In the latest RPM version,%autopatch
prints outautopatch: no matching patches in range
when no patches are defined.To Reproduce
Steps to reproduce the behavior:
See golang-github-jba-templatecheck as an example or create a
%prep
section withBuild
Expected behavior
rpmbuild should not print warnings.
Output
Environment
Additional context
The text was updated successfully, but these errors were encountered: