perl-Test-NoTabs-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. %description
  16. This module scans your project/distribution for any perl files (scripts,
  17. modules, etc.) for the presence of tabs.
  18. %prep
  19. %setup -q -n Test-NoTabs-%{version}
  20. %build
  21. perl Makefile.PL --skip INSTALLDIRS=vendor
  22. make %{?_smp_mflags}
  23. %install
  24. rm -rf %{buildroot}
  25. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  26. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  27. find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
  28. %{_fixperms} %{buildroot}
  29. %check
  30. make test
  31. %clean
  32. rm -rf %{buildroot}
  33. %files
  34. %defattr(-,root,root,-)
  35. %doc Changes README
  36. %{perl_vendorlib}/Test/
  37. %{_mandir}/man3/Test::NoTabs.3pm*
  38. %changelog
  39. * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1-1
  40. - initial build for Vine Linux
  41. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
  42. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  43. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1-2
  44. - Perl mass rebuild
  45. * Fri Apr 29 2011 Paul Howarth <paul@city-fan.org> 1.1-1
  46. - Update to 1.1
  47. - Fix test fails if cwd or perl has a space in its path (CPAN RT#67376)
  48. - Remove remaining uses of macros for commands
  49. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.0-5
  50. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  51. * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> 1.0-4
  52. - Rebuild to fix problems with vendorarch/lib (#661697)
  53. * Wed Jun 16 2010 Paul Howarth <paul@city-fan.org> 1.0-3
  54. - Clean up for Fedora submission
  55. * Mon May 17 2010 Paul Howarth <paul@city-fan.org> 1.0-2
  56. - Fix dist tag for RHEL-6 Beta
  57. * Thu Feb 11 2010 Paul Howarth <paul@city-fan.org> 1.0-1
  58. - Update to 1.0 (patches upstreamed)
  59. * Wed Feb 10 2010 Paul Howarth <paul@city-fan.org> 0.9-2
  60. - Add patch and test case for CPAN RT#53727 (broken POD breaks tab detection)
  61. - Fix a `Parentheses missing around "my" list' warning in old Perls (RT#54477)
  62. * Mon Feb 1 2010 Paul Howarth <paul@city-fan.org> 0.9-1
  63. - Initial RPM version