|
|
|
Name: perl-Test-Script-Run
|
|
|
|
Version: 0.04
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Summary: Test the script with run
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/Test-Script-Run/
|
|
|
|
Source0: http://www.cpan.org/authors/id/S/SU/SUNNAVY/Test-Script-Run-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(IPC::Run3)
|
|
|
|
BuildRequires: perl(Test::Exception)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
%description
|
|
|
|
This module exports some subs to help test and run scripts in your
|
|
|
|
distribution's bin/ directory, if the script path is not absolute.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Test-Script-Run-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc Changes README
|
|
|
|
%dir %{perl_vendorlib}/Test
|
|
|
|
%dir %{perl_vendorlib}/Test/Script
|
|
|
|
%{perl_vendorlib}/Test/Script/Run.pm
|
|
|
|
%{_mandir}/man3/Test::Script::Run.3pm*
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Jul 13 2010 Jerome Fenal <jfenal@free.fr> 0.04-4
|
|
|
|
- Apply recommendations following Fedora Package Review
|
|
|
|
(BZ#608470#c6): remove Requires on IPC::Run3 & Test::Exception.
|
|
|
|
|
|
|
|
* Sun Jul 11 2010 Jerome Fenal <jfenal@free.fr> 0.04-3
|
|
|
|
- Apply recommendations following Fedora Package Review (BZ#608470#c4)
|
|
|
|
(directory ownership).
|
|
|
|
|
|
|
|
* Mon Jul 5 2010 Jerome Fenal <jfenal@free.fr> 0.04-2
|
|
|
|
- Apply recommendations following Fedora Package Review (BZ#608470#c1)
|
|
|
|
|
|
|
|
* Sun Jun 27 2010 Jerome Fenal <jfenal@free.fr> 0.04-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.78.
|