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