33d7217
Name:		perl-Test-NoTabs
ac8a99c
Version:	1.1
66d571f
Release:	3%{?dist}
33d7217
Summary:	Check the presence of tabs in your project
33d7217
Group:		Development/Libraries
33d7217
License:	GPL+ or Artistic
33d7217
URL:		http://search.cpan.org/dist/Test-NoTabs/
33d7217
Source0:	http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/Test-NoTabs-%{version}.tar.gz
ac8a99c
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
33d7217
BuildArch:	noarch
33d7217
BuildRequires:	perl(Test::More)
33d7217
BuildRequires:	perl(Test::Pod)
33d7217
BuildRequires:	perl(Test::Pod::Coverage)
ac8a99c
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
33d7217
33d7217
%description
33d7217
This module scans your project/distribution for any perl files (scripts,
33d7217
modules, etc.) for the presence of tabs.
33d7217
33d7217
%prep
33d7217
%setup -q -n Test-NoTabs-%{version}
33d7217
33d7217
%build
33d7217
perl Makefile.PL --skip INSTALLDIRS=vendor
33d7217
make %{?_smp_mflags}
33d7217
33d7217
%install
33d7217
rm -rf %{buildroot}
33d7217
make pure_install PERL_INSTALL_ROOT=%{buildroot}
33d7217
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
33d7217
find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
33d7217
%{_fixperms} %{buildroot}
33d7217
33d7217
%check
33d7217
make test
33d7217
33d7217
%clean
33d7217
rm -rf %{buildroot}
33d7217
33d7217
%files
33d7217
%defattr(-,root,root,-)
33d7217
%doc Changes README
33d7217
%{perl_vendorlib}/Test/
33d7217
%{_mandir}/man3/Test::NoTabs.3pm*
33d7217
33d7217
%changelog
66d571f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
66d571f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
66d571f
a8cc9e7
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1-2
a8cc9e7
- Perl mass rebuild
a8cc9e7
ac8a99c
* Fri Apr 29 2011 Paul Howarth <paul@city-fan.org> 1.1-1
ac8a99c
- Update to 1.1
ac8a99c
  - Fix test fails if cwd or perl has a space in its path (CPAN RT#67376)
ac8a99c
- Remove remaining uses of macros for commands
ac8a99c
7755885
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.0-5
b4f6d5a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b4f6d5a
7755885
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> 1.0-4
7755885
- Rebuild to fix problems with vendorarch/lib (#661697)
0203dca
33d7217
* Wed Jun 16 2010 Paul Howarth <paul@city-fan.org> 1.0-3
33d7217
- Clean up for Fedora submission
33d7217
33d7217
* Mon May 17 2010 Paul Howarth <paul@city-fan.org> 1.0-2
33d7217
- Fix dist tag for RHEL-6 Beta
33d7217
33d7217
* Thu Feb 11 2010 Paul Howarth <paul@city-fan.org> 1.0-1
33d7217
- Update to 1.0 (patches upstreamed)
33d7217
33d7217
* Wed Feb 10 2010 Paul Howarth <paul@city-fan.org> 0.9-2
33d7217
- Add patch and test case for CPAN RT#53727 (broken POD breaks tab detection)
33d7217
- Fix a `Parentheses missing around "my" list' warning in old Perls (RT#54477)
33d7217
33d7217
* Mon Feb  1 2010 Paul Howarth <paul@city-fan.org> 0.9-1
33d7217
- Initial RPM version