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
I created a link to an existing package, and edited the resulting _link file to add a patch
The patch was successfully added, the package built successfully, however the linter failed the build:
[ 40s]
[ 40s] pam_ssh_agent_auth.spec:56: E: patch-macro-old-format (Badness: 10000)
[ 40s] The usage of %patchN is not supported by RPM >= 4.20. The preferred way to
[ 40s] apply patches are, in order: * %autosetup -p1 * %autosetup -N / %autopatch
[ 40s] -p1 * %setup / %patch -P <N> -p 1 (upper case P denotes patch number,
[ 40s] lower case is the usual patch -p<num> strip level)
[ 40s]
Expected Result
Build completes without linter error
How to Reproduce
create a link to an existing package with osc linkpac
edit the resulting _link file to add a patch eg <add name="add-argument-default_ssh_auth_sock-and-some-fixes.patch" popt="1"/>
commit the changes to build the package
See error
The text was updated successfully, but these errors were encountered:
Issue Description
I created a link to an existing package, and edited the resulting _link file to add a patch
The patch was successfully added, the package built successfully, however the linter failed the build:
Expected Result
Build completes without linter error
How to Reproduce
osc linkpac
_link
file to add a patch eg<add name="add-argument-default_ssh_auth_sock-and-some-fixes.patch" popt="1"/>
The text was updated successfully, but these errors were encountered: