forked from pool/perl-HTML-Form
Accepting request 690508 from devel:languages:perl:autoupdate
- updated to 6.04 see /usr/share/doc/packages/perl-HTML-Form/Changes OBS-URL: https://build.opensuse.org/request/show/690508 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Form?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
d1467aa877
commit
6261949a11
@@ -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
|
||||
|
Reference in New Issue
Block a user