[5844] | 1 | Name: perl-Test-NoTabs |
---|
| 2 | Version: 1.1 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: Check the presence of tabs in your project |
---|
| 5 | Group: Development/Libraries |
---|
| 6 | License: GPL+ or Artistic |
---|
| 7 | URL: http://search.cpan.org/dist/Test-NoTabs/ |
---|
| 8 | Source0: http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/Test-NoTabs-%{version}.tar.gz |
---|
| 9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) |
---|
| 10 | BuildArch: noarch |
---|
| 11 | BuildRequires: perl(Test::More) |
---|
| 12 | BuildRequires: perl(Test::Pod) |
---|
| 13 | BuildRequires: perl(Test::Pod::Coverage) |
---|
| 14 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
| 15 | |
---|
| 16 | %description |
---|
| 17 | This module scans your project/distribution for any perl files (scripts, |
---|
| 18 | modules, etc.) for the presence of tabs. |
---|
| 19 | |
---|
| 20 | %prep |
---|
| 21 | %setup -q -n Test-NoTabs-%{version} |
---|
| 22 | |
---|
| 23 | %build |
---|
| 24 | perl Makefile.PL --skip INSTALLDIRS=vendor |
---|
| 25 | make %{?_smp_mflags} |
---|
| 26 | |
---|
| 27 | %install |
---|
| 28 | rm -rf %{buildroot} |
---|
| 29 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
| 30 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
---|
| 31 | find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null |
---|
| 32 | %{_fixperms} %{buildroot} |
---|
| 33 | |
---|
| 34 | %check |
---|
| 35 | make test |
---|
| 36 | |
---|
| 37 | %clean |
---|
| 38 | rm -rf %{buildroot} |
---|
| 39 | |
---|
| 40 | %files |
---|
| 41 | %defattr(-,root,root,-) |
---|
| 42 | %doc Changes README |
---|
| 43 | %{perl_vendorlib}/Test/ |
---|
| 44 | %{_mandir}/man3/Test::NoTabs.3pm* |
---|
| 45 | |
---|
| 46 | %changelog |
---|
| 47 | * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1-1 |
---|
| 48 | - initial build for Vine Linux |
---|
| 49 | |
---|
| 50 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3 |
---|
| 51 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 52 | |
---|
| 53 | * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1-2 |
---|
| 54 | - Perl mass rebuild |
---|
| 55 | |
---|
| 56 | * Fri Apr 29 2011 Paul Howarth <paul@city-fan.org> 1.1-1 |
---|
| 57 | - Update to 1.1 |
---|
| 58 | - Fix test fails if cwd or perl has a space in its path (CPAN RT#67376) |
---|
| 59 | - Remove remaining uses of macros for commands |
---|
| 60 | |
---|
| 61 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.0-5 |
---|
| 62 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 63 | |
---|
| 64 | * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> 1.0-4 |
---|
| 65 | - Rebuild to fix problems with vendorarch/lib (#661697) |
---|
| 66 | |
---|
| 67 | * Wed Jun 16 2010 Paul Howarth <paul@city-fan.org> 1.0-3 |
---|
| 68 | - Clean up for Fedora submission |
---|
| 69 | |
---|
| 70 | * Mon May 17 2010 Paul Howarth <paul@city-fan.org> 1.0-2 |
---|
| 71 | - Fix dist tag for RHEL-6 Beta |
---|
| 72 | |
---|
| 73 | * Thu Feb 11 2010 Paul Howarth <paul@city-fan.org> 1.0-1 |
---|
| 74 | - Update to 1.0 (patches upstreamed) |
---|
| 75 | |
---|
| 76 | * Wed Feb 10 2010 Paul Howarth <paul@city-fan.org> 0.9-2 |
---|
| 77 | - Add patch and test case for CPAN RT#53727 (broken POD breaks tab detection) |
---|
| 78 | - Fix a `Parentheses missing around "my" list' warning in old Perls (RT#54477) |
---|
| 79 | |
---|
| 80 | * Mon Feb 1 2010 Paul Howarth <paul@city-fan.org> 0.9-1 |
---|
| 81 | - Initial RPM version |
---|