source: projects/specs/trunk/p/perl-Test-NoTabs/perl-Test-NoTabs-vl.spec @ 5844

Revision 5844, 2.5 KB checked in by shaolin, 12 years ago (diff)
  • new packages
Line 
1Name:           perl-Test-NoTabs
2Version:        1.1
3Release:        1%{?_dist_release}
4Summary:        Check the presence of tabs in your project
5Group:          Development/Libraries
6License:        GPL+ or Artistic
7URL:            http://search.cpan.org/dist/Test-NoTabs/
8Source0:        http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/Test-NoTabs-%{version}.tar.gz
9BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
10BuildArch:      noarch
11BuildRequires:  perl(Test::More)
12BuildRequires:  perl(Test::Pod)
13BuildRequires:  perl(Test::Pod::Coverage)
14Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
15
16%description
17This module scans your project/distribution for any perl files (scripts,
18modules, etc.) for the presence of tabs.
19
20%prep
21%setup -q -n Test-NoTabs-%{version}
22
23%build
24perl Makefile.PL --skip INSTALLDIRS=vendor
25make %{?_smp_mflags}
26
27%install
28rm -rf %{buildroot}
29make pure_install PERL_INSTALL_ROOT=%{buildroot}
30find %{buildroot} -type f -name .packlist -exec rm -f {} \;
31find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
32%{_fixperms} %{buildroot}
33
34%check
35make test
36
37%clean
38rm -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
Note: See TracBrowser for help on using the repository browser.