[perl-CGI-FormBuilder] update to 3.08
Iain Arnell
iarnell at fedoraproject.org
Sat Aug 10 15:00:14 UTC 2013
commit 1ccae65454ad15a7e357d7d1ccd452bdd41f3527
Author: Iain Arnell <iarnell at gmail.com>
Date: Sat Aug 10 08:56:28 2013 -0600
update to 3.08
.gitignore | 1 +
perl-CGI-FormBuilder.spec | 18 +++++++++++++-----
sources | 2 +-
3 files changed, 15 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6026a18..301f357 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
CGI-FormBuilder-3.0501.tgz
+/CGI-FormBuilder-3.08.tgz
diff --git a/perl-CGI-FormBuilder.spec b/perl-CGI-FormBuilder.spec
index fb4fdf7..650862f 100644
--- a/perl-CGI-FormBuilder.spec
+++ b/perl-CGI-FormBuilder.spec
@@ -1,15 +1,16 @@
Name: perl-CGI-FormBuilder
-Version: 3.0501
-Release: 19%{?dist}
+%global cpanversion 3.08
+Version: %{cpanversion}00
+Release: 1%{?dist}
Summary: Easily generate and process stateful forms
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/CGI-FormBuilder/
-Source0: http://search.cpan.org/CPAN/authors/id/N/NW/NWIGER/CGI-FormBuilder-%{version}.tgz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0: http://search.cpan.org/CPAN/authors/id/N/NW/NWIGER/CGI-FormBuilder-%{cpanversion}.tgz
BuildArch: noarch
+BuildRequires: perl(Algorithm::Diff)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(HTML::Template)
BuildRequires: perl(Text::Template)
@@ -24,9 +25,12 @@ for you to generate and process entire CGI form-based
applications.
%prep
-%setup -q -n CGI-FormBuilder-%{version}
+%setup -q -n CGI-FormBuilder-%{cpanversion}
find . -name \*.orig -delete
sed -i -e '/\.orig$/d' MANIFEST
+# skip failing tests due to hash randomization
+# see https://rt.cpan.org/Public/Bug/Display.html?id=81650
+rm -f t/1a-generate.t t/2c-template-tt2.t t/2d-template-fast.t
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -52,6 +56,10 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*.3*
%changelog
+* Sat Aug 10 2013 Iain Arnell <iarnell at gmail.com> 3.0800-1
+- update to latest upstream version
+- skip failing tests due to hash randomization
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0501-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index 4980753..721afb6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-65646f3064ecaef5e8c1dc38dd7c3807 CGI-FormBuilder-3.0501.tgz
+30051352c03660703cece366b282b7fc CGI-FormBuilder-3.08.tgz
More information about the perl-devel
mailing list