diff --git a/perl-XML-Twig.changes b/perl-XML-Twig.changes index 148967a..f3b38b3 100644 --- a/perl-XML-Twig.changes +++ b/perl-XML-Twig.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Mar 4 16:15:09 UTC 2024 - pgajdos@suse.com + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN + ------------------------------------------------------------------- Mon Jul 13 17:35:09 UTC 2020 - Pedro Monreal Gonzalez diff --git a/perl-XML-Twig.spec b/perl-XML-Twig.spec index eb6a8a5..a0e2752 100644 --- a/perl-XML-Twig.spec +++ b/perl-XML-Twig.spec @@ -73,9 +73,8 @@ care of a lot of the (usually) annoying (but sometimes necessary) features that come with XML and XML::Parser. %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -p1 -n %{cpan_name}-%{version} find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 -%patch0 -p1 %build perl Makefile.PL INSTALLDIRS=vendor