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: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: d33af86aaca8b5cce23504dd386752fd
17 BuildRequires: perl-devel >= 5.6
18 BuildRequires: rpm-perlprov >= 4.1-13
19 %if %{?_without_tests:0}%{!?_without_tests:1}
20 BuildRequires: perl-Test-Simple
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 MakeMaker assumes that you want to run all of the .t files in the t/
27 directory in ascii-betical order during make test unless you say
28 otherwise. This leads to some interesting naming schemes for test files
29 to get them in the desired order.
32 MakeMaker zak³ada, ¿e chcemy podczas make test uruchamiaæ wszystkie
33 pliki .t z katalogu t/ w kolejno¶ci asciibetycznej, o ile nie podamy
34 innej kolejno¶ci. To prowadzi do interesuj±cych schematów nazywania
35 plików z testami, aby by³y wykonywane we w³a¶ciwej kolejno¶ci.
38 %setup -q -n %{pdir}-%{pnam}-%{version}
41 %{__perl} Makefile.PL \
45 %{!?_without_tests:%{__make} test}
48 rm -rf $RPM_BUILD_ROOT
50 %{__make} install DESTDIR=$RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
57 %{perl_vendorlib}/Test/*.pm