From f08ecbb265a000cc7687ada55b83f22708537818019822e5be50e97f2e7186aa Mon Sep 17 00:00:00 2001 From: Pedro Monreal Gonzalez Date: Wed, 6 Mar 2024 07:45:40 +0000 Subject: [PATCH] Accepting request 1154660 from home:pgajdos:p - Use %autosetup macro. Allows to eliminate the usage of deprecated %patchN OBS-URL: https://build.opensuse.org/request/show/1154660 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=65 --- perl-DBI.changes | 6 ++++++ perl-DBI.spec | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/perl-DBI.changes b/perl-DBI.changes index 3dc8f03..70e4d07 100644 --- a/perl-DBI.changes +++ b/perl-DBI.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Mar 4 12:41:19 UTC 2024 - pgajdos@suse.com + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN + ------------------------------------------------------------------- Tue Nov 3 16:29:26 UTC 2020 - Pedro Monreal diff --git a/perl-DBI.spec b/perl-DBI.spec index 72c4253..1d294f1 100644 --- a/perl-DBI.spec +++ b/perl-DBI.spec @@ -54,8 +54,7 @@ at least the following perl manuals first: perlreftut, perldsc, perllol, and perlboot. %prep -%setup -q -n %{cpan_name}-%{version} -%patch0 -p1 +%autosetup -p1 -n %{cpan_name}-%{version} find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build