Accepting request 34091 from devel:languages:perl

Copy from devel:languages:perl/perl-IPC-Run3 based on submit request 34091 from user computersalat

OBS-URL: https://build.opensuse.org/request/show/34091
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IPC-Run3?expand=0&rev=3
This commit is contained in:
OBS User autobuild 2010-03-05 10:05:08 +00:00 committed by Git OBS Bridge
parent be5e34a2da
commit 088082bc82
2 changed files with 32 additions and 18 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Mar 4 22:23:06 UTC 2010 - chris@computersalat.de
- cleanup spec
o norootforbuild
- fixed deps
- added perl-macros
o perl_gen_filelist
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jan 30 00:36:31 UTC 2010 - larry+opensuse@l2g.to Sat Jan 30 00:36:31 UTC 2010 - larry+opensuse@l2g.to

View File

@ -15,20 +15,30 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: perl-IPC-Run3 Name: perl-IPC-Run3
Version: 0.043 %define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Release: 2
Summary: Run a subprocess with input/ouput redirection Summary: Run a subprocess with input/ouput redirection
Version: 0.043
Release: 3
License: BSDv1+ ; Artistic V1+ ; GPLv1+ License: BSDv1+ ; Artistic V1+ ; GPLv1+
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/IPC-Run3/ Url: http://search.cpan.org/dist/IPC-Run3/
Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/IPC-Run3-%{version}.tar.gz Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/IPC-Run3-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
BuildRequires: perl(Test::Pod) BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
BuildRequires: perl(Test::More) >= 0.31
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
BuildRequires: perl(Time::HiRes)
Requires: perl = %{perl_version} Requires: perl = %{perl_version}
Provides: %{cpan_name}
%description %description
This module allows you to run a subprocess and redirect stdin, stdout, This module allows you to run a subprocess and redirect stdin, stdout,
@ -36,33 +46,28 @@ and/or stderr to files and perl data structures. It aims to satisfy 99%
of the need for using system, qx, and open3 with a simple, extremely of the need for using system, qx, and open3 with a simple, extremely
Perlish API. Perlish API.
Author: Barrie Slaymaker <barries@slaysys.com>
%prep %prep
%setup -q -n IPC-Run3-%{version} %setup -q -n %{cpan_name}-%{version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} %{__make} %{?_smp_mflags}
%check
%{__make} test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
%{_fixperms} $RPM_BUILD_ROOT/* %perl_gen_filelist
%check
make test
%clean %clean
rm -rf $RPM_BUILD_ROOT %{__rm} -rf $RPM_BUILD_ROOT
%files %files -f %{name}.files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc Changes LICENSE README %doc Changes LICENSE README
%{perl_vendorlib}/IPC/Run3.pm
%{perl_vendorlib}/IPC/Run3
%{_mandir}/man3/IPC::Run3*.3*
%{perl_vendorarch}/auto/IPC/Run3
%dir %{perl_vendorarch}/auto/IPC
%dir %{perl_vendorlib}/IPC
/var/adm/perl-modules/%{name}
%changelog %changelog