modernize %patch usage

This commit is contained in:
Dan Horák 2023-05-31 13:10:36 +00:00
parent b43bfd7eed
commit da9838c800
1 changed files with 3 additions and 3 deletions

View File

@ -63,11 +63,11 @@ be used together with the zSeries (s390) Linux kernel and device drivers.
%setup -q -n s390-tools-%{version}
# Fedora/RHEL changes
%patch0 -p1 -b .zipl-invert-script-options
%patch1 -p1 -b .blscfg-rpm-nvr-sort
%patch 0 -p1 -b .zipl-invert-script-options
%patch 1 -p1 -b .blscfg-rpm-nvr-sort
# upstream fixes/updates
%patch100 -p1
%patch 100 -p1
# remove --strip from install
find . -name Makefile | xargs sed -i 's/$(INSTALL) -s/$(INSTALL)/g'