[perl-Data-FormValidator] update to 4.70
Iain Arnell
iarnell at fedoraproject.org
Sun Nov 20 07:45:54 UTC 2011
commit 63686e15a48e3c46bd42ad065256a5ab236b135b
Author: Iain Arnell <iarnell at gmail.com>
Date: Sun Nov 20 08:45:45 2011 +0100
update to 4.70
.gitignore | 1 +
perl-Data-FormValidator.spec | 21 ++++++++++-----------
sources | 2 +-
3 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4089518..d32d13c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
Data-FormValidator-4.66.tar.gz
+/Data-FormValidator-4.70.tar.gz
diff --git a/perl-Data-FormValidator.spec b/perl-Data-FormValidator.spec
index 99a7f08..6208e54 100644
--- a/perl-Data-FormValidator.spec
+++ b/perl-Data-FormValidator.spec
@@ -1,6 +1,6 @@
Name: perl-Data-FormValidator
-Version: 4.66
-Release: 6%{?dist}
+Version: 4.70
+Release: 1%{?dist}
Summary: Validates user input (usually from an HTML form) based on input profile
License: GPL+ or Artistic
Group: Development/Libraries
@@ -9,15 +9,14 @@ Source0: http://www.cpan.org/authors/id/M/MA/MARKSTOS/Data-FormValidator-
# see https://bugzilla.redhat.com/show_bug.cgi?id=712694
# and https://rt.cpan.org/Public/Bug/Display.html?id=61792
Patch0: cve-2011-2201.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: perl >= 0:5.008
+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(Module::Build)
+BuildRequires: perl(Module::Build) >= 0.3800
BuildRequires: perl(Perl6::Junction) >= 1.1
BuildRequires: perl(Regexp::Common)
BuildRequires: perl(Template)
@@ -32,6 +31,8 @@ Requires: perl(File::MMagic) >= 1.17
Requires: perl(Image::Size)
Requires: perl(Regexp::Common)
+%{?perl_default_filter}
+
%description
Data::FormValidator's main aim is to make input validation expressible in a
simple format.
@@ -45,8 +46,6 @@ simple format.
./Build
%install
-rm -rf $RPM_BUILD_ROOT
-
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
@@ -55,16 +54,16 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%check
./Build test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
%doc Changes README RELEASE_NOTES
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Sun Nov 20 2011 Iain Arnell <iarnell at gmail.com> 4.70-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+
* Sun Aug 28 2011 Iain Arnell <iarnell at gmail.com> 4.66-6
- add patch to resolve CVE-2011-2201
diff --git a/sources b/sources
index 20d48a7..2bd5749 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-730da0fec7b0f80a18d17b6134af3898 Data-FormValidator-4.66.tar.gz
+11c72c47f35a608ecbe6280ec93bf1bd Data-FormValidator-4.70.tar.gz
More information about the scm-commits
mailing list