Accepting request 295850 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/295850
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-FormValidator?expand=0&rev=5
This commit is contained in:
Stephan Kulow
2015-04-14 08:08:15 +00:00
committed by Git OBS Bridge
parent 50400e83a1
commit 0d6c02657c
4 changed files with 87 additions and 23 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e68635286ef3e5f51df0b2884c8a7463cd55f727827aa4ef8c10532fd346f3a5
size 97145

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f844056231b2eeb4068cafbcab1ddf5d46cb348bd5cfb1d234421c09ee8a0de3
size 109870

View File

@@ -1,3 +1,75 @@
-------------------------------------------------------------------
Mon Apr 13 18:29:47 UTC 2015 - coolo@suse.com
- updated to 4.81
see /usr/share/doc/packages/perl-Data-FormValidator/Changes
4.81 Jul 19th, 2013
[DOCUMENTATION]
- There is no such thing as "array context". The documentation now refers to "list context"
instead.
- Fix "the the" typos. (Thanks to dsteinbrunner, RT#77901)
[INTERNALS]
- Somewhat modernizer Exporter usage.
4.80 Nov 1st, 2012
[NEW FEATURES]
- New built-in constraint_methods to test the number of values submitted for a
particular field:
FV_num_values(1),
FV_num_values_between(1,2), # inclusive
One way that garbage can get through a Data::FormValidator profile is
when two values are submitted when only one is intended. In this
case, this application could end up with a values like this:
ARRAY(0x841214c)
Using these new constraints, you can precisely control how many values
are allowed for each field.
[INTERNAL]
- Source control hosting has been moved to http://hub.darcs.net
You can now browse, pull and fork the darcs repo through this website.
4.71 Oct 2nd, 2012
[BUG FIXES]
- Custom messages for built-in constraints work again. It appears that this
was broken in 4.70, which triggered a sleeper bug.
(Thanks to Lee Carmichael, Mark Stosberg, RT#73235)
4.70 11/11/11
[NEW FEATURES]
- Built-in constraints in Constraints.pm can now be renamed:
constraint_methods => {
first_names => {
constraint_method => FV_max_length(3),
name => 'custom_length',
}
},
(Thanks to heinst@arqs.com.br for the suggestion, RT#49477)
[INTERNALS]
- modernize Constraints.pm and Results.pm a bit.
- Module::Build added to configure_requires in Build.PL
4.67 11/11/11
[INTERNALS]
- modernize FormValidator.pm internals a bit
- Update META.yml to exclude an internal package from getting indexed.
-------------------------------------------------------------------
Mon Feb 28 11:21:29 UTC 2011 - jw@novell.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Data-FormValidator
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 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
@@ -16,40 +16,35 @@
#
Name: perl-Data-FormValidator
Version: 4.66
Release: 1
License: GPL+ or Artistic
Version: 4.81
Release: 0
%define cpan_name Data-FormValidator
Summary: Validates user input (usually from an HTML form) based
Url: http://search.cpan.org/dist/Data-FormValidator/
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Data-FormValidator/
Source: http://www.cpan.org/authors/id/M/MA/MARKSTOS/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(CGI) >= 3.48
BuildRequires: perl(Date::Calc) >= 5
BuildRequires: perl(Email::Valid)
BuildRequires: perl(File::MMagic) >= 1.17
BuildRequires: perl(Image::Size)
BuildRequires: perl(MIME::Types) >= 1.005
BuildRequires: perl(overload)
BuildRequires: perl(Module::Build) >= 0.38
BuildRequires: perl(Perl6::Junction) >= 1.1
BuildRequires: perl(Regexp::Common)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Module::Build)
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(overload)
Requires: perl(Perl6::Junction) >= 1.1
Requires: perl(Regexp::Common)
Requires: perl(Scalar::Util)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%{perl_requires}
%description
@@ -77,11 +72,8 @@ or process the resulting valid data.
./Build install destdir=%{buildroot} create_packlist=0
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(644,root,root,755)
%doc Changes README RELEASE_NOTES
%defattr(-,root,root,755)
%doc Changes RELEASE_NOTES test
%changelog