Accepting request 1156197 from home:tinita:branches:d:l:p

- Use %autosetup instead of deprecated %patchN

OBS-URL: https://build.opensuse.org/request/show/1156197
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Image-Imlib2?expand=0&rev=4
This commit is contained in:
2024-03-11 16:41:42 +00:00
committed by Git OBS Bridge
parent e10e2d4ba4
commit 72c30bf213
2 changed files with 12 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 8 01:25:51 UTC 2024 - Tina Müller <tina.mueller@suse.com>
- Use %autosetup instead of deprecated %patchN
-------------------------------------------------------------------
Tue Jun 7 16:02:28 UTC 2016 - opensuse@dstoecker.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Image-Imlib2
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -21,9 +21,9 @@ Version: 2.03
Release: 0
%define cpan_name Image-Imlib2
Summary: Interface to the Imlib2 image library
License: Artistic-1.0 or GPL-1.0+
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Image-Imlib2/
URL: http://search.cpan.org/dist/Image-Imlib2/
Source: http://www.cpan.org/authors/id/L/LB/LBROCARD/%{cpan_name}-%{version}.tar.gz
Patch0: Image-Imlib2-2.03.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -34,6 +34,7 @@ Requires: perl(Module::Build) >= 0.20
%{perl_requires}
# MANUAL
BuildRequires: imlib2-devel
BuildRequires: imlib2
BuildRequires: imlib2-loaders
Requires: imlib2
@@ -56,8 +57,8 @@ Note that a development version of Imlib2 must be installed before
installing this module.
%prep
%setup -q -n %{cpan_name}-%{version}
%patch0 -p1
%autosetup -n %{cpan_name}-%{version} -p1
rm t/simple.t
%build