[perl-Wx-Perl-ProcessStream] 0.29 bump

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit c1c89c74a530b595abc8329449dcf795d9229958
Author: Petr PÃsaÅ <ppisar@xxxxxxxxxx>
Date:   Fri Dec 3 14:12:56 2010 +0100

    0.29 bump
    
    In addition, enable tests. xinit discards make's exit code, signall success by
    file.

 .gitignore                      |    1 +
 perl-Wx-Perl-ProcessStream.spec |   19 ++++++++++++++-----
 sources                         |    2 +-
 3 files changed, 16 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d97855f..503ec95 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 Wx-Perl-ProcessStream-0.27.tar.gz
 /Wx-Perl-ProcessStream-0.28.tar.gz
+/Wx-Perl-ProcessStream-0.29.tar.gz
diff --git a/perl-Wx-Perl-ProcessStream.spec b/perl-Wx-Perl-ProcessStream.spec
index cd1e7d2..dfec40f 100644
--- a/perl-Wx-Perl-ProcessStream.spec
+++ b/perl-Wx-Perl-ProcessStream.spec
@@ -1,8 +1,8 @@
-# don't run test, because they need gtk display
-%define enable_test 0
+# Tests need X display
+%define enable_test 1
 
 Name:           perl-Wx-Perl-ProcessStream
-Version:        0.28
+Version:        0.29
 Release:        1%{?dist}
 Summary:        Access IO of external processes via events
 License:        GPL+ or Artistic
@@ -11,11 +11,14 @@ URL:            http://search.cpan.org/dist/Wx-Perl-ProcessStream/
 Source0:        http://www.cpan.org/authors/id/M/MD/MDOOTSON/Wx-Perl-ProcessStream-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
-BuildRequires:  perl(Archive::Tar)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Time::HiRes) >= 1.2
 BuildRequires:  perl(Wx) >= 0.5
+%if %enable_test
+BuildRequires:  xorg-x11-server-Xvfb
+BuildRequires:  xorg-x11-xinit
+%endif
 Requires:       perl(Time::HiRes) >= 1.2
 Requires:       perl(Wx) >= 0.5
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -46,7 +49,9 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
 %check
 %if %enable_test
-    make test
+    xinit /bin/sh -c '%{_bindir}/make test && touch tests.ok' \
+        -- %{_bindir}/Xvfb :666
+    [ -f tests.ok ] || exit 1
 %endif
 
 %clean
@@ -59,6 +64,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Fri Dec 03 2010 Petr Pisar <ppisar@xxxxxxxxxx> - 0.29-1
+- 0.29 bump
+- Enable tests by running own X server
+
 * Wed Sep 22 2010 Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx> - 0.28-1
 - update, works with Wx > 0.97
 
diff --git a/sources b/sources
index 28bbabf..2e302d7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9a893347401af6e1c40b22c72d92b383  Wx-Perl-ProcessStream-0.28.tar.gz
+0aef4f0723677742aa703998ccf12b21  Wx-Perl-ProcessStream-0.29.tar.gz
--
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



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux