diff --git a/HTML-Form-6.07.tar.gz b/HTML-Form-6.07.tar.gz
deleted file mode 100644
index 1939c71..0000000
Binary files a/HTML-Form-6.07.tar.gz and /dev/null differ
diff --git a/HTML-Form-6.11.tar.gz b/HTML-Form-6.11.tar.gz
new file mode 100644
index 0000000..0f6cf97
Binary files /dev/null and b/HTML-Form-6.11.tar.gz differ
diff --git a/perl-HTML-Form.spec b/perl-HTML-Form.spec
index 887feea..6d7410a 100644
--- a/perl-HTML-Form.spec
+++ b/perl-HTML-Form.spec
@@ -1,12 +1,12 @@
%global _empty_manifest_terminate_build 0
Name: perl-HTML-Form
-Version: 6.07
+Version: 6.11
Release: 1
Summary: Class that represents an HTML form element
License: Perl_5 and GPL+ or Artistic
Group: Development/Libraries
-URL: http://search.cpan.org/dist/HTML-Form/
-Source0: http://www.cpan.org/authors/id/O/OA/OALDERS/HTML-Form-%{version}.tar.gz
+URL: https://metacpan.org/release/HTML-Form
+Source0: https://cpan.metacpan.org/authors/id/S/SI/SIMBABQUE/HTML-Form-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl-generators
@@ -23,6 +23,7 @@ BuildRequires: perl(strict)
BuildRequires: perl(Test::More)
BuildRequires: perl(URI) >= 1.10
BuildRequires: perl(warnings)
+BuildRequires: perl(Test::Warnings)
Requires: perl(Carp)
Requires: perl(Encode) >= 2
Requires: perl(HTML::TokeParser)
@@ -47,7 +48,8 @@ and which can take on various values. The state of a form can be tweaked
and it can then be asked to provide HTTP::Request objects that can be
passed to the request() method of LWP::UserAgent.
%prep
-%setup -q -n HTML-Form-%{version}
+%autosetup -n HTML-Form-%{version} -p1
+
%build
export PERL_MM_OPT=""
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -74,6 +76,7 @@ if [ -d usr/sbin ];then
fi
popd
mv %{buildroot}/filelist.lst .
+
%check
make test
@@ -88,5 +91,8 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/*
%changelog
+* Fri Sep 08 2023 yaoxin - 6.11-1
+- Update to 6.11
+
* Tue Jun 09 2020 Perl_Bot 6.07-1
- Specfile autogenerated by Perl_Bot