From 32e8b1ba712f412e1a28c8dc9072f306b1cd4ed0afcd6b2a8e4d7782a3dc992e Mon Sep 17 00:00:00 2001 From: Pedro Monreal Gonzalez Date: Wed, 6 Mar 2024 07:52:53 +0000 Subject: [PATCH] Accepting request 1154658 from home:pgajdos:p - Use %autosetup macro. Allows to eliminate the usage of deprecated %patchN OBS-URL: https://build.opensuse.org/request/show/1154658 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Date-Calc?expand=0&rev=31 --- perl-Date-Calc.changes | 6 ++++++ perl-Date-Calc.spec | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/perl-Date-Calc.changes b/perl-Date-Calc.changes index d001871..0a58169 100644 --- a/perl-Date-Calc.changes +++ b/perl-Date-Calc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Mar 4 12:36:54 UTC 2024 - pgajdos@suse.com + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN + ------------------------------------------------------------------- Fri Mar 17 07:14:06 UTC 2023 - Bernhard Wiedemann diff --git a/perl-Date-Calc.spec b/perl-Date-Calc.spec index d9883de..982735e 100644 --- a/perl-Date-Calc.spec +++ b/perl-Date-Calc.spec @@ -46,8 +46,7 @@ Recommends: perl(Date::Calc::XS) >= 6.4 * * %prep -%setup -q -n %{cpan_name}-%{version} -%patch0 -p1 +%autosetup -p1 -n %{cpan_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor