3 %bcond_without tests # do not perform "make test"
7 %include /usr/lib/rpm/macros.perl
8 Summary: Module::Runtime - runtime module handling
10 Name: perl-Module-Runtime
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/Module/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: d0d2ab338c5bb2769a8f7db200cfdb2b
18 # generic URL, check or change before uncommenting
19 #URL: http://search.cpan.org/dist/Module-Runtime/
20 BuildRequires: perl-Module-Build
21 BuildRequires: perl-devel >= 1:5.8.0
22 BuildRequires: rpm-perlprov >= 4.1-13
24 BuildRequires: perl(Params::Classify)
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 The functions exported by this module deal with runtime handling of
31 Perl modules, which are normally handled at compile time.
33 # %description -l pl.UTF-8
37 %setup -q -n %{pdir}-%{pnam}-%{version}
41 destdir=$RPM_BUILD_ROOT \
45 %{?with_tests:./Build test}
48 rm -rf $RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
58 %{perl_vendorlib}/Module/*.pm