3 %bcond_without tests # do not perform "make test"
7 Summary: Test::Dynamic - Automatic test counting for Test::More
9 Name: perl-Test-Dynamic
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/Test/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: d1f92a8c14584d45b12d31e5ed942d4c
16 URL: http://search.cpan.org/dist/Test-Dynamic/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 This module helps to count your tests for you in an automatic way. When
24 you add or remove tests, Test::Dynamic will attempt to keep track of
25 the total correct number for you.
27 # %description -l pl.UTF-8
31 %setup -q -n %{pdir}-%{pnam}-%{version}
34 %{__perl} Makefile.PL \
38 %{?with_tests:%{__make} test}
41 rm -rf $RPM_BUILD_ROOT
43 %{__make} pure_install \
44 DESTDIR=$RPM_BUILD_ROOT
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
51 %{perl_vendorlib}/Test/*.pm