commit dd8c0b85dbe39c28df04d6b136f34911f8c48b81 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Thu Jun 23 12:10:10 2011 +0200 Enable X11 tests perl-Padre.spec | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) --- diff --git a/perl-Padre.spec b/perl-Padre.spec index d738c37..3db8542 100644 --- a/perl-Padre.spec +++ b/perl-Padre.spec @@ -1,9 +1,9 @@ # Disable X11 tests as there is annoying interactive warning at padre start. -%global use_x11_tests 0 +%global use_x11_tests 1 Name: perl-Padre Version: 0.86 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Perl Application Development and Refactoring Environment License: GPL+ or Artistic Group: Development/Libraries @@ -150,8 +150,6 @@ BuildRequires: perl(threads::shared) >= 1.33 BuildRequires: perl(version) >= 0.80 %if %{use_x11_tests} # X11 tests: -BuildRequires: perl(App::Prove) -# Parts of X Window System needed for tests to run: BuildRequires: xorg-x11-server-Xvfb BuildRequires: xorg-x11-xinit BuildRequires: font(:lang=en) @@ -343,8 +341,8 @@ desktop-file-install --vendor="fedora" \ %check %if %{use_x11_tests} - xinit /usr/bin/make -s test -- /usr/bin/Xvfb :666 |tee testing.TAP - prove --exec cat testing.TAP + xinit /bin/sh -c 'rm -f ok; make test && touch ok' -- /usr/bin/Xvfb :666 + test -e ok %else make test %endif @@ -377,6 +375,9 @@ desktop-file-install --vendor="fedora" \ %changelog +* Thu Jun 23 2011 Petr Pisar <ppisar@xxxxxxxxxx> - 0.86-2 +- Enable X11 tests + * Wed Jun 22 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 0.86-1 - update to 0.86, clean spec -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel