diff --git a/HTML-Form-6.03.tar.gz b/HTML-Form-6.03.tar.gz deleted file mode 100644 index 50871dc..0000000 --- a/HTML-Form-6.03.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:68c01d94f005d5ca9c4d55ad2a1bf3a8d034a5fc6db187d91a4c42f3fdc9fc36 -size 23522 diff --git a/HTML-Form-6.04.tar.gz b/HTML-Form-6.04.tar.gz new file mode 100644 index 0000000..e5d1ba3 --- /dev/null +++ b/HTML-Form-6.04.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9cd557a8b61b9a98deceff259c4fb1d82df729ff9d0388f655b364dd16480080 +size 45001 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..28418a1 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,28 @@ +--- +description_paragraphs: 1 +#description: |- +# override description from CPAN +#summary: override summary from CPAN +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +#preamble: |- +# BuildRequires: gcc-c++ +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_build: |- +# rm unused.files +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module diff --git a/perl-HTML-Form.changes b/perl-HTML-Form.changes index 90b686d..99d4e0d 100644 --- a/perl-HTML-Form.changes +++ b/perl-HTML-Form.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Mar 30 06:18:28 UTC 2019 - Stephan Kulow + +- updated to 6.04 + see /usr/share/doc/packages/perl-HTML-Form/Changes + ------------------------------------------------------------------- Wed Jul 24 07:28:19 UTC 2013 - coolo@suse.com diff --git a/perl-HTML-Form.spec b/perl-HTML-Form.spec index 276d5d8..957cfa8 100644 --- a/perl-HTML-Form.spec +++ b/perl-HTML-Form.spec @@ -1,7 +1,7 @@ # # spec file for package perl-HTML-Form # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,19 +12,20 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: perl-HTML-Form -Version: 6.03 +Version: 6.04 Release: 0 %define cpan_name HTML-Form Summary: Class that represents an HTML form element -License: Artistic-1.0 or GPL-1.0+ +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/HTML-Form/ -Source: http://www.cpan.org/authors/id/G/GA/GAAS/%{cpan_name}-%{version}.tar.gz +Url: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl @@ -32,9 +33,8 @@ BuildRequires: perl-macros BuildRequires: perl(HTML::TokeParser) BuildRequires: perl(HTTP::Request) >= 6 BuildRequires: perl(HTTP::Request::Common) >= 6.03 +BuildRequires: perl(HTTP::Response) BuildRequires: perl(URI) >= 1.10 -#BuildRequires: perl(HTML::Form) -#BuildRequires: perl(HTTP::Response) Requires: perl(HTML::TokeParser) Requires: perl(HTTP::Request) >= 6 Requires: perl(HTTP::Request::Common) >= 6.03 @@ -50,13 +50,14 @@ can be passed to the request() method of 'LWP::UserAgent'. %prep %setup -q -n %{cpan_name}-%{version} +find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install @@ -66,5 +67,6 @@ can be passed to the request() method of 'LWP::UserAgent'. %files -f %{name}.files %defattr(-,root,root,755) %doc Changes README +%license LICENSE %changelog