switch to %autosetup for easier patch management

This commit is contained in:
Dan Horák 2026-06-24 12:38:23 +02:00
parent ab1e590aeb
commit 7ab32f0903

View File

@ -121,18 +121,7 @@ The s390utils packages contain a set of user space utilities that should to
be used together with the zSeries (s390) Linux kernel and device drivers.
%prep
%setup -q -n s390-tools-%{version}
# Fedora/RHEL changes
%patch -P 0 -p1 -b .zipl-invert-script-options
%patch -P 1 -p1 -b .blscfg-rpm-nvr-sort
# reverts of upstream changes
%patch -P 10 -p1
%patch -P 11 -p1
# upstream fixes/updates
#%%patch -P 100 -p1
%autosetup -n s390-tools-%{version} -p1
# remove --strip from install
find . -name Makefile | xargs sed -i 's/$(INSTALL) -s/$(INSTALL)/g'