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
This commit is contained in:
Pedro Monreal Gonzalez 2024-03-06 07:45:40 +00:00 committed by Git OBS Bridge
parent 8852c46ab7
commit f08ecbb265
2 changed files with 7 additions and 2 deletions

View File

@ -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 <pmonreal@suse.com> Tue Nov 3 16:29:26 UTC 2020 - Pedro Monreal <pmonreal@suse.com>

View File

@ -54,8 +54,7 @@ at least the following perl manuals first: perlreftut, perldsc, perllol,
and perlboot. and perlboot.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -p1 -n %{cpan_name}-%{version}
%patch0 -p1
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build %build