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

%patchN.

OBS-URL: https://build.opensuse.org/package/show/graphics/gd?expand=0&rev=73
This commit is contained in:
Michael Vetter 2024-02-22 08:15:37 +00:00 committed by Git OBS Bridge
parent 01b6eca476
commit e28d8ab34e
2 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Feb 22 08:15:24 UTC 2024 - Michael Vetter <mvetter@suse.com>
- Use %autosetup macro. Allows to eliminate the usage of deprecated
%patchN.
-------------------------------------------------------------------
Tue Feb 28 15:04:29 UTC 2023 - pgajdos@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package gd
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -83,10 +83,7 @@ useful in World Wide Web applications, where PNG and JPEG are two of
the formats accepted for inline images by most browsers.
%prep
%setup -q -n %{prjname}-%{version}
%patch1
%patch2
%patch3
%autosetup -p0 -n %{prjname}-%{version}
chmod 644 COPYING
%build