- updated to 0.30

Test changes only - Fixes for tests failing on Mac OS X

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Wx-Perl-ProcessStream?expand=0&rev=2
This commit is contained in:
Stephan Kulow
2011-05-01 11:03:52 +00:00
committed by Git OBS Bridge
parent d7bdcc27b4
commit 3e702d569c
4 changed files with 52 additions and 30 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0c9272183e3de70166bf5d01b12f08fa00eaef8565501e8ff38f5a820eedca14
size 15598

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:80ea8a86dfc05e6976a53acef852589d1b704f3bda0700fc20863042d02608e5
size 15651

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun May 1 10:39:35 UTC 2011 - coolo@opensuse.org
- updated to 0.30
Test changes only - Fixes for tests failing on Mac OS X
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 27 22:46:00 CET 2010 - pascal.bleser@opensuse.org Mon Dec 27 22:46:00 CET 2010 - pascal.bleser@opensuse.org

View File

@@ -1,23 +1,36 @@
# vim: set sw=4 ts=4 et nu: #
# spec file for package perl-Wx-Perl-ProcessStream (Version 0.30)
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-Wx-Perl-ProcessStream Name: perl-Wx-Perl-ProcessStream
Version: 0.29 Version: 0.30
Release: 0 Release: 1
Summary: Access IO of external processes via events License: GPL+ or Artistic
Source: http://search.cpan.org/CPAN/authors/id/M/MD/MDOOTSON/Wx-Perl-ProcessStream-%{version}.tar.gz %define cpan_name Wx-Perl-ProcessStream
URL: http://search.cpan.org/dist/Wx-Perl-ProcessStream Summary: access IO of external processes via events
Url: http://search.cpan.org/dist/Wx-Perl-ProcessStream/
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
License: Perl License Source: http://www.cpan.org/authors/id/M/MD/MDOOTSON/%{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/build-%{name}-%{version} BuildArch: noarch
%{perl_requires} BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: make
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Wx) >= 0.5 BuildRequires: perl(Wx) >= 0.5
BuildRequires: perl(Time::HiRes) >= 1.2
Requires: perl(Wx) >= 0.5 Requires: perl(Wx) >= 0.5
Requires: perl(Time::HiRes) >= 1.2 %{perl_requires}
%description %description
This module provides the STDOUT, STDERR and exit codes of asynchronously This module provides the STDOUT, STDERR and exit codes of asynchronously
@@ -25,29 +38,32 @@ running processes via events. It may be used for long running or blocking
processes that provide periodic updates on state via STDOUT. Simple IPC is processes that provide periodic updates on state via STDOUT. Simple IPC is
possible via STDIN. possible via STDIN.
Do not use this module simply to collect the output of another process. For
that, it is much simpler to do:
my ($status, $output) = Wx::ExecuteStdout( 'perl -e"print qq($_\n) for(@INC);"' );
%prep %prep
%setup -q -n "Wx-Perl-ProcessStream-%{version}" %setup -q -n %{cpan_name}-%{version}
%__sed -i '/^auto_install/d' Makefile.PL find . -type f -print0 | xargs -0 chmod 644
%build %build
%__perl Makefile.PL PREFIX="%{_prefix}" %{__perl} Makefile.PL INSTALLDIRS=vendor
%__make %{?jobs:-j%{jobs}} %{__make} %{?_smp_mflags}
%check
%{__make} test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist
%clean %clean
%{?buildroot:%__rm -rf "%{buildroot}"} %{__rm} -rf %{buildroot}
%files %files -f %{name}.files
%defattr(-,root,root) %defattr(-,root,root,755)
%doc Changes README %doc Changes README
%dir %{perl_vendorlib}/Wx
%dir %{perl_vendorlib}/Wx/Perl
%{perl_vendorlib}/Wx/Perl/ProcessStream.pm
%dir %{perl_vendorarch}/auto/Wx
%dir %{perl_vendorarch}/auto/Wx/Perl
%{perl_vendorarch}/auto/Wx/Perl/ProcessStream
%doc %{perl_man3dir}/Wx::Perl::ProcessStream.%{perl_man3ext}%{ext_man}
%changelog