- Use %patch -P N instead of deprecated %patchN.

OBS-URL: https://build.opensuse.org/package/show/graphics/ImageMagick?expand=0&rev=707
This commit is contained in:
Michael Vetter 2024-02-22 08:02:24 +00:00 committed by Git OBS Bridge
parent 6747dce335
commit 49df3963d7
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 22 07:57:01 UTC 2024 - Michael Vetter <mvetter@suse.com>
- Use %patch -P N instead of deprecated %patchN.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Feb 11 20:57:22 UTC 2024 - Arjen de Korte <suse+build@de-korte.org> Sun Feb 11 20:57:22 UTC 2024 - Arjen de Korte <suse+build@de-korte.org>

View File

@ -263,15 +263,15 @@ HTML documentation for ImageMagick library and scene examples.
%prep %prep
%setup -q -n ImageMagick-%{source_version} %setup -q -n ImageMagick-%{source_version}
%patch0 -p1 %patch -P 0 -p1
%patch2 -p1 %patch -P 2 -p1
%ifarch i586 %ifarch i586
%if %{?suse_version} < 1550 %if %{?suse_version} < 1550
%patch4 -p1 %patch -P 4 -p1
%endif %endif
%endif %endif
%ifarch s390x %ifarch s390x
%patch5 -p1 %patch -P 5 -p1
%endif %endif
%build %build