%global pkg_name Test-Manifest %global pkg_version 1.22 %global rpm_pkg_version 1.22 %global rpm_pkg_release 1.n0i.11 Summary: Interact with a t/test_manifest file Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/B/BD/BDFOY/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(ExtUtils::MakeMaker) %{!?_without_test:BuildRequires: perl(Test::More)} %description MakeMaker assumes that you want to run all of the .t files in the t/ directory in ascii-betical order during C unless you say otherwise. This leads to some interesting naming schemes for test files to get them in the desired order. Test::Manifest looks in the t/test_manifest file to find out which tests you want to run and the order in which you want to run them. It constructs the right value for MakeMaker to do the right thing. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_perl_path examples/} %{__perl} -pi -e "s{ (?<=\.)3(?=\') }{\\\$(MAN3EXT)}xs" Makefile.PL %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes examples/ LICENSE README %changelog * Tue Oct 30 2007 Marius Feraru - 1.22-1.n0i.11 - version 1.22 * Thu Sep 20 2007 Marius Feraru - 1.21-1.n0i.10 - version 1.21 * Tue May 22 2007 Marius Feraru - 1.17-1.n0i.9 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - version 1.17 * Thu Jul 28 2005 Marius Feraru 1.14-1.n0i.8 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:1.13-3.n0i.7 - version 1.13 * Fri Dec 03 2004 Marius Feraru 0:1.11-2.n0i.6 - version 1.11 * Fri Apr 30 2004 Marius Feraru 0:0.93-1.n0i.5 - automatic rebuild * Thu Apr 22 2004 Marius Feraru 0:0.93-1.n0i.4 - spec file (re?)created using N0i::CPAN::RPMizer/2004032101 - rebuild (perl 5.8.4) * Wed Feb 25 2004 Marius FERARU 0:0.93-1.n0i.3 - version 0.93 * Thu Jan 22 2004 Marius FERARU 0:0.92-0.n0i.2 - automatic rebuild (perl v.5.8.3) * Wed Dec 31 2003 Marius FERARU 0:0.92-0.n0i.1 - version 0.92 - spec file (re?)created using N0i::CPAN::RPMizer/2003102001