[perl-Text-Haml] Upstream update.

corsepiu corsepiu at fedoraproject.org
Tue Apr 29 12:55:45 UTC 2014


commit c8d4fd5bb7068d7cd85ec6289b31852d59a59d9f
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Tue Apr 29 14:55:43 2014 +0200

    Upstream update.
    
    - Add %bcond_with pod_tests.

 .gitignore          |    2 +-
 perl-Text-Haml.spec |   17 +++++++++++++++--
 sources             |    2 +-
 3 files changed, 17 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3373d18..17de3e0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/Text-Haml-0.990115.tar.gz
+/Text-Haml-0.990116.tar.gz
diff --git a/perl-Text-Haml.spec b/perl-Text-Haml.spec
index 1a55ace..ab60df2 100644
--- a/perl-Text-Haml.spec
+++ b/perl-Text-Haml.spec
@@ -1,5 +1,5 @@
 Name:           perl-Text-Haml
-Version:        0.990115
+Version:        0.990116
 Release:        1%{?dist}
 Summary:        Haml Perl implementation
 License:        Artistic 2.0
@@ -7,6 +7,10 @@ Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Text-Haml/
 Source0:        http://www.cpan.org/authors/id/V/VT/VTI/Text-Haml-%{version}.tar.gz
 
+# --with pod_tests ... whether to excercise pod tests
+#       Currently broken, therefore default to --without.
+%bcond_with pod_tests
+
 BuildArch:      noarch
 BuildRequires:  perl(constant)
 BuildRequires:  perl(Carp)
@@ -23,6 +27,11 @@ BuildRequires:  perl(URI::Escape)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(warnings)
 
+%if %{with pod_tests}
+BuildRequires:  perl(Test::Pod) >= 1.14
+BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
+%endif
+
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
@@ -44,7 +53,7 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
-./Build test
+%{?with_pod_tests:TEST_POD=1} ./Build test
 
 %files
 %doc LICENSE
@@ -52,6 +61,10 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %{_mandir}/man3/*
 
 %changelog
+* Tue Apr 29 2014 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.990116-1
+- Upstream update.
+- Add %%bcond_with pod_tests.
+
 * Mon Jan 27 2014 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.990115-1
 - Upstream update.
 
diff --git a/sources b/sources
index d01ca9a..002d527 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9b2b0b335e39fcc96dd7b60b5ba9c914  Text-Haml-0.990115.tar.gz
+9612c12014fb4f93ab612e9460930fc1  Text-Haml-0.990116.tar.gz



More information about the perl-devel mailing list