3 %bcond_without tests # do not perform "make test"
7 Summary: Test::EOL - Check the correct line endings in your project
12 License: GPL v1+ or Artistic
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/Test/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: d6ae3b338c034dc747458ed0a5fb6667
16 URL: http://search.cpan.org/dist/Test-EOL/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 This module scans your project/distribution for any perl files (scripts,
26 modules, etc) for the presence of windows line endings.
29 %setup -q -n %{pdir}-%{pnam}-%{version}
32 %{__perl} Makefile.PL \
36 %{?with_tests:%{__make} test}
39 rm -rf $RPM_BUILD_ROOT
41 %{__make} pure_install \
42 DESTDIR=$RPM_BUILD_ROOT
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
50 %{perl_vendorlib}/Test/*.pm