commit 6cb9fcbd04616513e8a2dff269ce8fc05a601e17 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Wed Nov 12 19:48:49 2014 +0100 4.81 bump .gitignore | 1 + perl-Data-FormValidator.spec | 49 +++++++++++++++++++++++++++++++---------- sources | 2 +- 3 files changed, 39 insertions(+), 13 deletions(-) --- diff --git a/.gitignore b/.gitignore index 8f92d30..4e00ab6 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ Data-FormValidator-4.66.tar.gz /Data-FormValidator-4.70.tar.gz /Data-FormValidator-4.71.tar.gz /Data-FormValidator-4.80.tar.gz +/Data-FormValidator-4.81.tar.gz diff --git a/perl-Data-FormValidator.spec b/perl-Data-FormValidator.spec index 92a2a34..df1717b 100644 --- a/perl-Data-FormValidator.spec +++ b/perl-Data-FormValidator.spec @@ -1,6 +1,6 @@ Name: perl-Data-FormValidator -Version: 4.80 -Release: 6%{?dist} +Version: 4.81 +Release: 1%{?dist} Summary: Validates user input (usually from an HTML form) based on input profile License: GPL+ or Artistic Group: Development/Libraries @@ -10,28 +10,51 @@ Source0: http://www.cpan.org/authors/id/M/MA/MARKSTOS/Data-FormValidator- # and https://rt.cpan.org/Public/Bug/Display.html?id=61792 Patch0: cve-2011-2201.patch BuildArch: noarch -BuildRequires: perl(CGI) >= 3.48 -BuildRequires: perl(Date::Calc) >= 5 -BuildRequires: perl(Email::Valid) +# Build +BuildRequires: perl +BuildRequires: perl(Module::Build) >= 0.38 +# Runtime +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(Date::Calc) +BuildRequires: perl(Email::Valid) >= 5 +BuildRequires: perl(Exporter) BuildRequires: perl(File::MMagic) >= 1.17 BuildRequires: perl(Image::Size) +BuildRequires: perl(IO::File) BuildRequires: perl(MIME::Types) >= 1.005 -BuildRequires: perl(Module::Build) >= 0.38 +BuildRequires: perl(overload) BuildRequires: perl(Perl6::Junction) >= 1.1 BuildRequires: perl(Regexp::Common) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(strict) +BuildRequires: perl(Symbol) +# Tests only +BuildRequires: perl(CGI) >= 3.48 +BuildRequires: perl(CGI::Simple) +BuildRequires: perl(Config) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Spec) +BuildRequires: perl(lib) BuildRequires: perl(Template) BuildRequires: perl(Template::Stash) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -# not detected by rpm +BuildRequires: perl(UNIVERSAL) +BuildRequires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) Requires: perl(Date::Calc) >= 5 Requires: perl(Email::Valid) Requires: perl(File::MMagic) >= 1.17 Requires: perl(Image::Size) +Requires: perl(MIME::Types) >= 1.005 +Requires: perl(Perl6::Junction) >= 1.1 Requires: perl(Regexp::Common) +Requires: perl(Scalar::Util) %{?perl_default_filter} +%global __requires_exclude %{?__requires_exclude|%__requires_exclude|}^perl\\(MIME::Types\\)$ +%global __requires_exclude %{?__requires_exclude|%__requires_exclude|}^perl\\(Perl6::Junction\\)$ %description Data::FormValidator's main aim is to make input validation expressible in a @@ -42,13 +65,12 @@ simple format. %patch0 -p1 %build -%{__perl} Build.PL installdirs=vendor +perl Build.PL installdirs=vendor ./Build %install -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 - -%{_fixperms} $RPM_BUILD_ROOT/* +./Build install destdir=%{buildroot} create_packlist=0 +%{_fixperms} %{buildroot}/* %check ./Build test @@ -59,6 +81,9 @@ simple format. %{_mandir}/man3/* %changelog +* Wed Nov 12 2014 Petr Šabata <contyk@xxxxxxxxxx> - 4.81-1 +- 4.81 bump + * Fri Aug 29 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 4.80-6 - Perl 5.20 rebuild diff --git a/sources b/sources index 58f3baf..0a8f66a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -540fe2760ac06949a4102621924cb06f Data-FormValidator-4.80.tar.gz +575116fb7857491e77110ea7eaf6b3a2 Data-FormValidator-4.81.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel