3 %bcond_without tests # do not perform "make test"
7 Summary: Find the path to the current Perl interpreter
8 Name: perl-Devel-FindPerl
11 License: GPL+ or Artistic
12 Group: Development/Libraries
13 Source0: http://www.cpan.org/authors/id/L/LE/LEONT/Devel-FindPerl-%{version}.tar.gz
14 # Source0-md5: d1184cf3a5b3b3d06f75f40944934714
15 URL: http://search.cpan.org/dist/Devel-FindPerl/
16 BuildRequires: perl(Exporter) >= 5.57
17 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 This module tries to find the path to the currently running perl.
27 %setup -q -n %{pdir}-%{pnam}-%{version}
30 %{__perl} Makefile.PL \
33 %{?with_tests:%{__make} test}
36 rm -rf $RPM_BUILD_ROOT
37 %{__make} pure_install \
38 DESTDIR=$RPM_BUILD_ROOT
41 rm -rf $RPM_BUILD_ROOT
44 %defattr(644,root,root,755)
45 %doc Changes LICENSE README
46 %{perl_vendorlib}/Devel/FindPerl.pm
47 %{_mandir}/man3/Devel::FindPerl.3pm*