3 # _without_tests - do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Test::Manifest - interact with a t/test_manifest file
9 Summary(pl): Test::Manifest - wspó³praca z plikiem t/test_manifest
10 Name: perl-Test-Manifest
14 Group: Development/Languages/Perl
15 Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 BuildRequires: perl >= 5.6
17 BuildRequires: rpm-perlprov >= 3.0.3-26
18 %if %{?_without_tests:0}%{!?_without_tests:1}
19 BuildRequires: perl-Test-Simple
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 MakeMaker assumes that you want to run all of the .t files in the t/
26 directory in ascii-betical order during make test unless you say
27 otherwise. This leads to some interesting naming schemes for test files
28 to get them in the desired order.
31 MakeMaker zak³ada, ¿e chcemy podczas make test uruchamiaæ wszystkie
32 pliki .t z katalogu t/ w kolejno¶ci asciibetycznej, o ile nie podamy
33 innej kolejno¶ci. To prowadzi do interesuj±cych schematów nazywania
34 plików z testami, aby by³y wykonywane we w³a¶ciwej kolejno¶ci.
37 %setup -q -n %{pdir}-%{pnam}-%{version}
43 %{!?_without_tests:%{__make} test}
46 rm -rf $RPM_BUILD_ROOT
48 %{__make} install DESTDIR=$RPM_BUILD_ROOT
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
55 %{perl_sitelib}/Test/*.pm