diff --git a/FastCGI-perl526.patch b/FastCGI-perl526.patch index 4c13646..b558e45 100644 --- a/FastCGI-perl526.patch +++ b/FastCGI-perl526.patch @@ -1,7 +1,7 @@ Index: fcgi-2.4.0/perl/FCGI.PL =================================================================== ---- fcgi-2.4.0.orig/perl/FCGI.PL -+++ fcgi-2.4.0/perl/FCGI.PL +--- perl/FCGI.PL ++++ perl/FCGI.PL @@ -1,7 +1,7 @@ use Config; use ExtUtils::MakeMaker; diff --git a/FastCGI.changes b/FastCGI.changes index 08f2a1c..e6b6ece 100644 --- a/FastCGI.changes +++ b/FastCGI.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed May 15 07:42:02 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro: allows us to eliminate usage of deprecated + %patchN syntax. +- Rebase FastCGI-perl526.patch to apply with -p0, like all the + other patches. + ------------------------------------------------------------------- Thu May 11 15:44:16 UTC 2023 - Frederic Crozat diff --git a/FastCGI.spec b/FastCGI.spec index cb99a4f..3adda97 100644 --- a/FastCGI.spec +++ b/FastCGI.spec @@ -1,7 +1,7 @@ # # spec file for package FastCGI # -# Copyright (c) 2023 SUSE LLC +# 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 @@ -83,15 +83,7 @@ provides high performance without the limitations of server specific APIs. %prep -%setup -n fcgi2-%{version} -%patch0 -%patch1 -%patch2 -%patch3 -%patch4 -%patch5 -%patch6 -%patch7 -p1 +%autosetup -n fcgi2-%{version} -p0 touch NEWS AUTHORS ChangeLog COPYING find doc/{fastcgi-prog-guide,fastcgi-whitepaper} -type f -print0 | xargs -r0 chmod 0644 cp include/fcgi_config.h.in .