commit b32a8f5a5e3796721985d925c351de50e2abbcf4
Author: Petr Písař <[email protected]>
Date:   Tue Aug 12 18:23:20 2014 +0200

    Run X11 tests using xvfb-run

 perl-Gtk3.spec |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/perl-Gtk3.spec b/perl-Gtk3.spec
index 3375adb..9e8bc8a 100644
--- a/perl-Gtk3.spec
+++ b/perl-Gtk3.spec
@@ -2,7 +2,7 @@
 
 Name:           perl-Gtk3
 Version:        0.017
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Perl interface to the 3.x series of the GTK+ toolkit
 License:        LGPLv2+
 Group:          Development/Libraries
@@ -62,8 +62,7 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 
2>/dev/null \;
 
 %check
 %if %{use_x11_tests}
-    xinit /bin/sh -c 'rm -f ok; make test && touch ok' -- /usr/bin/Xvfb :666
-    test -e ok
+    xvfb-run -a make test
 %else
     make test
 %endif
@@ -74,6 +73,9 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 
2>/dev/null \;
 %{_mandir}/man3/*
 
 %changelog
+* Tue Aug 12 2014 Petr Pisar <[email protected]> - 0.017-2
+- Run X11 tests using xvfb-run (bug #1129395)
+
 * Wed Aug 06 2014 Jitka Plesnikova <[email protected]> - 0.017-1
 - 0.017 bump
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to