From 6449fa22b20f238d38da95e225fc0e54d4fbd7fe Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <[email protected]>
Date: Sun, 26 Feb 2017 10:25:15 +0100
Subject: Update to 4.85
---
.gitignore | 1 +
perl-Data-FormValidator.spec | 29 ++++++++++++++++-------------
sources | 2 +-
3 files changed, 18 insertions(+), 14 deletions(-)
diff --git a/.gitignore b/.gitignore
index 4e00ab6..889d873 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ Data-FormValidator-4.66.tar.gz
/Data-FormValidator-4.71.tar.gz
/Data-FormValidator-4.80.tar.gz
/Data-FormValidator-4.81.tar.gz
+/Data-FormValidator-4.85.tar.gz
diff --git a/perl-Data-FormValidator.spec b/perl-Data-FormValidator.spec
index 61f191c..69cecdc 100644
--- a/perl-Data-FormValidator.spec
+++ b/perl-Data-FormValidator.spec
@@ -1,11 +1,11 @@
Name: perl-Data-FormValidator
-Version: 4.81
-Release: 6%{?dist}
+Version: 4.85
+Release: 1%{?dist}
Summary: Validates user input (usually from an HTML form) based on
input profile
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Data-FormValidator/
-Source0:
http://www.cpan.org/authors/id/M/MA/MARKSTOS/Data-FormValidator-%{version}.tar.gz
+Source0:
http://www.cpan.org/authors/id/D/DF/DFARRELL/Data-FormValidator-%{version}.tar.gz
# 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
@@ -25,13 +25,12 @@ BuildRequires: perl(Image::Size)
BuildRequires: perl(IO::File)
BuildRequires: perl(MIME::Types) >= 1.005
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) >= 4.35
BuildRequires: perl(CGI::Simple)
BuildRequires: perl(Config)
BuildRequires: perl(File::Find)
@@ -49,7 +48,6 @@ 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)
@@ -66,22 +64,27 @@ simple format.
%patch0 -p1
%build
-perl Build.PL installdirs=vendor
-./Build
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
+make %{?_smp_mflags}
%install
-./Build install destdir=%{buildroot} create_packlist=0
-%{_fixperms} %{buildroot}/*
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+%{_fixperms} $RPM_BUILD_ROOT/*
%check
-./Build test
+make test
%files
%doc Changes RELEASE_NOTES
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%{perl_vendorlib}/Data*
+%{_mandir}/man3/Data*
%changelog
+* Sun Feb 26 2017 Emmanuel Seyman <[email protected]> - 4.85-1
+- Update to 4.85
+- Switch to Makefile.PL as a build-system
+- Tighten %%file constraints
+
* Sat Feb 11 2017 Fedora Release Engineering <[email protected]> -
4.81-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
diff --git a/sources b/sources
index 0a8f66a..a148bdd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-575116fb7857491e77110ea7eaf6b3a2 Data-FormValidator-4.81.tar.gz
+SHA512 (Data-FormValidator-4.85.tar.gz) =
6ccd119553f85728d01f57a1fb0a8b24241ea09d951dd761c52594302e687c33cdefbf37c2161ad02fca2363c530b7023185a0b75ba304ade6caed9d7faa77cb
--
cgit v1.1
https://src.fedoraproject.org/cgit/perl-Data-FormValidator.git/commit/?h=master&id=6449fa22b20f238d38da95e225fc0e54d4fbd7fe
_______________________________________________
perl-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]