3 %bcond_without tests # do not perform "make test"
7 Summary: Modern::Perl - enable all of the features of Modern Perl with one command
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-authors/id/C/CH/CHROMATIC/Modern-Perl-%{version}.tar.gz
16 # Source0-md5: 1338c29f86b109280f8c723ece49299e
17 URL: http://search.cpan.org/dist/Modern-Perl/
18 BuildRequires: perl-Module-Build
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 # %description -l pl.UTF-8 # TODO
32 %setup -q -n %{pdir}-%{pnam}-%{version}
36 destdir=$RPM_BUILD_ROOT \
40 %{?with_tests:./Build test}
43 rm -rf $RPM_BUILD_ROOT
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
53 %dir %{perl_vendorlib}/Modern
54 %{perl_vendorlib}/Modern/*.pm