* Wed Jan 15 2025 Jean-Philippe Pialasse <jpp@koozali.org> 0.93-9.sme
- fix warning CGI::param called in list context [SME: 12608]
This commit is contained in:
parent
e1ee95d406
commit
7e32d920ec
21
perl-CGI-FormMagick-0.93-fetching.patch
Normal file
21
perl-CGI-FormMagick-0.93-fetching.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
diff -Nur perl-CGI-FormMagick-0.93.old/lib/CGI/FormMagick.pm perl-CGI-FormMagick-0.93/lib/CGI/FormMagick.pm
|
||||||
|
--- perl-CGI-FormMagick-0.93.old/lib/CGI/FormMagick.pm 2013-01-25 12:31:36.000000000 -0500
|
||||||
|
+++ perl-CGI-FormMagick-0.93/lib/CGI/FormMagick.pm 2025-01-15 22:08:49.443102653 -0500
|
||||||
|
@@ -467,7 +467,7 @@
|
||||||
|
$self->cgi->delete('wherenext');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
- return $self->cgi->param('wherenext');
|
||||||
|
+ return scalar $self->cgi->param('wherenext');
|
||||||
|
}
|
||||||
|
|
||||||
|
=head2 $fm->go_to_finish()
|
||||||
|
@@ -1017,7 +1017,7 @@
|
||||||
|
my $fm = shift;
|
||||||
|
my $cgi = $fm->{cgi};
|
||||||
|
|
||||||
|
- my $fn = $fm->{sessiondir}.'/'.fileparse($cgi->param('.id'));
|
||||||
|
+ my $fn = $fm->{sessiondir}.'/'.fileparse(scalar $cgi->param('.id'));
|
||||||
|
my $po = new Persistence::Object::Simple __Fn => $fn;
|
||||||
|
|
||||||
|
my @names = $cgi->param ();
|
@ -3,7 +3,7 @@
|
|||||||
Summary: CGI-FormMagick module for perl
|
Summary: CGI-FormMagick module for perl
|
||||||
%define name perl-CGI-FormMagick
|
%define name perl-CGI-FormMagick
|
||||||
%define version 0.93
|
%define version 0.93
|
||||||
%define release 8
|
%define release 9
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
Release: %{release}%{?dist}
|
Release: %{release}%{?dist}
|
||||||
@ -15,6 +15,7 @@ Patch2: perl-CGI-FormMagick-0.93-bz10210-uninitialized_what_to_make.patch
|
|||||||
Patch3: perl-CGI-FormMagick-0.93-csrf.patch
|
Patch3: perl-CGI-FormMagick-0.93-csrf.patch
|
||||||
Patch4: perl-CGI-FormMagick-CSRFtimeout.patch
|
Patch4: perl-CGI-FormMagick-CSRFtimeout.patch
|
||||||
Patch5: perl-CGI-FormMagick-0.93-bz10902-csrf-timeout.patch
|
Patch5: perl-CGI-FormMagick-0.93-bz10902-csrf-timeout.patch
|
||||||
|
Patch6: perl-CGI-FormMagick-0.93-fetching.patch
|
||||||
Url: http://www.cpan.org
|
Url: http://www.cpan.org
|
||||||
BuildRoot: /var/tmp/perl-CGI-FormMagick-buildroot/
|
BuildRoot: /var/tmp/perl-CGI-FormMagick-buildroot/
|
||||||
BuildArchitectures: noarch
|
BuildArchitectures: noarch
|
||||||
@ -47,6 +48,7 @@ to generate HTML wizard-like forms. It has support for I18N/L10N.
|
|||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
%patch5 -p1
|
%patch5 -p1
|
||||||
|
%patch6 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
grep -rsl '^#!.*perl' . |
|
grep -rsl '^#!.*perl' . |
|
||||||
@ -83,6 +85,9 @@ find $RPM_BUILD_ROOT/usr -type f -print | sed "s@^$RPM_BUILD_ROOT@@g" | grep -v
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 15 2025 Jean-Philippe Pialasse <jpp@koozali.org> 0.93-9.sme
|
||||||
|
- fix warning CGI::param called in list context [SME: 12608]
|
||||||
|
|
||||||
* Fri Jul 14 2023 BogusDateBot
|
* Fri Jul 14 2023 BogusDateBot
|
||||||
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
||||||
by assuming the date is correct and changing the weekday.
|
by assuming the date is correct and changing the weekday.
|
||||||
|
Loading…
Reference in New Issue
Block a user