Accepting request 1149809 from home:pgajdos:m

- Use %autosetup macro. Allows to eliminate the usage of deprecated
  %patchN

OBS-URL: https://build.opensuse.org/request/show/1149809
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=235
This commit is contained in:
Marcus Meissner 2024-03-01 12:35:00 +00:00 committed by Git OBS Bridge
parent 5ab69e45ee
commit 98f48a5cb5
2 changed files with 7 additions and 11 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 23 10:46:16 UTC 2024 - pgajdos@suse.com
- Use %autosetup macro. Allows to eliminate the usage of deprecated
%patchN
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 23 10:05:39 UTC 2024 - Coly Li <colyli@suse.de> Fri Feb 23 10:05:39 UTC 2024 - Coly Li <colyli@suse.de>

View File

@ -58,17 +58,7 @@ Patch1005: 1005-mdadm-enable-Intel-Alderlake-RSTe-configuration.patch
mdadm is a program that can be used to control Linux md devices. mdadm is a program that can be used to control Linux md devices.
%prep %prep
%setup -q -a1 %autosetup -p1 -a1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch1001 -p1
%patch1002 -p1
%patch1003 -p1
%patch1004 -p1
%patch1005 -p1
%build %build
make %{?_smp_mflags} CC="%__cc" CXFLAGS="%{optflags} -Wno-error" EXTRAVERSION="%{release}" SUSE=yes BINDIR=%{_sbindir} make %{?_smp_mflags} CC="%__cc" CXFLAGS="%{optflags} -Wno-error" EXTRAVERSION="%{release}" SUSE=yes BINDIR=%{_sbindir}