Name: perl-Test-Mock-Cmd Version: 0.6 Release: 1%{?dist} Summary: Mock system(), exec(), and qx() for testing License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Test-Mock-Cmd/ Source0: http://www.cpan.org/modules/by-module/Test/Test-Mock-Cmd-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Module::Build) BuildRequires: perl(Test::Carp) BuildRequires: perl(Test::More) Requires: perl(Test::Carp) Requires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Mock system(), exec(), qx() (AKA `` and readpipe()) with your own functions in order to test code that may call them. %prep %setup -q -n Test-Mock-Cmd-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 %{_fixperms} $RPM_BUILD_ROOT/* perldoc -t perlgpl > COPYING perldoc -t perlartistic > Artistic %check ./Build test %files %doc Changes META.json README COPYING Artistic %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue May 28 2013 Ken Dreyer 0.6-1 - Specfile autogenerated by cpanspec 1.78.