Skip to content

Get rid of %patchN in RPM specs #1663

Description

@mfeit-internet2

EL10 warns that the use of %patchN in RPM specs is deprecated and that %patch N or %patch -P N.

These packages use it:

  • ethr
  • ethr0
  • paris-traceroute
  • python-pyjq

The alternate syntax doesn't work in OL8 so we'll need conditionals. Yay.

%if 0%{?el8}%{?ol8}
%patch0 -p1
%else
%patch 0 -p1
%endif

Unibuild does some automagic things with patches. Make sure it doesn't depend on the %patchN syntax.

Check the rest of the project as well.

Metadata

Metadata

Labels

Type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions