[perl-PPI-Tester] 0.15 bump

Petr Pisar ppisar at fedoraproject.org
Wed Feb 27 13:18:52 UTC 2013


commit c8ba17b9cd45c77fe7ff8acee4344f2793de313d
Author: Petr Písař <ppisar at redhat.com>
Date:   Wed Feb 27 14:18:31 2013 +0100

    0.15 bump

 .gitignore           |    1 +
 .rpmlint             |    2 ++
 perl-PPI-Tester.spec |   40 +++++++++++++++++++++++++++-------------
 sources              |    2 +-
 4 files changed, 31 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 808f0b2..e2fbe5c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 PPI-Tester-0.06.tar.gz
+/PPI-Tester-0.15.tar.gz
diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..1ed0444
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* (wxPerl|wxWindows)");
diff --git a/perl-PPI-Tester.spec b/perl-PPI-Tester.spec
index d3e8bca..844bea4 100644
--- a/perl-PPI-Tester.spec
+++ b/perl-PPI-Tester.spec
@@ -1,12 +1,6 @@
-#
-# Rebuild option:
-#
-#   --with testsuite         - run the test suite (requires X)
-#
-
 Name:           perl-PPI-Tester
-Version:        0.06
-Release:        16%{?dist}
+Version:        0.15
+Release:        1%{?dist}
 Summary:        A wxPerl-based interactive PPI debugger/tester
 
 Group:          Development/Libraries
@@ -16,11 +10,26 @@ Source0:        http://www.cpan.org/authors/id/A/AD/ADAMK/PPI-Tester-%{version}.
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
-BuildRequires:  perl(ExtUtils::AutoInstall)
-BuildRequires:  perl(PPI)
-BuildRequires:  perl(Wx)
-BuildRequires:	perl(Test::More)
+BuildRequires:  perl
+BuildRequires:  perl(inc::Module::Install::DSL) >= 0.86
+# Run-time:
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Devel::Dumpvar) >= 0.04
+BuildRequires:  perl(PPI) >= 1.201
+BuildRequires:  perl(PPI::Dumper) >= 1.000
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(Wx) >= 0.85
+BuildRequires:  perl(Wx::Event)
+# Wx::Frame not used at tests time
+# Tests:
+BuildRequires:  font(:lang=en)
+BuildRequires:  perl(Test::More) >= 0.47
+BuildRequires:  perl(Test::Script) >= 1.02
+BuildRequires:  xorg-x11-server-Xvfb
+BuildRequires:  xorg-x11-xinit
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(Wx::Frame)
 
 %description
 This package implements a wxWindows desktop application which provides
@@ -29,6 +38,8 @@ the ability to interactively test the PPI perl parser.
 
 %prep
 %setup -q -n PPI-Tester-%{version}
+rm -rf inc/*
+sed -i -e '/^inc\//d' MANIFEST
 
 
 %build
@@ -46,7 +57,7 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 
 
 %check
-%{?_with_testsuite:make test}
+xvfb-run -a make test
 
 
 %clean
@@ -63,6 +74,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Feb 27 2013 Petr Pisar <ppisar at redhat.com> - 0.15-1
+- 0.15 bump
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.06-16
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index 795fdb4..7eacdc0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9fcad41d6b2e33cfdf4025eb29644fae  PPI-Tester-0.06.tar.gz
+b902ec2cd01dc6a2c9378a299d3e37e3  PPI-Tester-0.15.tar.gz


More information about the scm-commits mailing list