perl-Test-NoTabs-vl.spec 2.8 KB

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