source: projects/specs/trunk/p/perl-Test-EOL/perl-Test-EOL-vl.spec @ 9151

Revision 9151, 3.6 KB checked in by inagaki, 9 years ago (diff)

2014-12-13 Ryoichi INAGAKI <ryo1@…>

  • perl-Class-Autouse, perl-Image-Xbm, perl-Test-Harness-Straps: rebuilt
  • perl-Class-Autouse, perl-Image-{ExifTool?, Info, Xpm}, perl-Test-{EOL, Inline}: updated


Line 
1# We don't really need ExtUtils::MakeMaker > 6.30
2%global old_eumm %(perl -MExtUtils::MakeMaker -e 'printf "%d\\n", $ExtUtils::MakeMaker::VERSION < 6.30 ? 1 : 0;' 2>/dev/null || echo 0)
3
4Name:           perl-Test-EOL
5Version:        1.5
6Release:        1%{?_dist_release}
7Summary:        Check the correct line endings in your project
8Group:          Development/Libraries
9License:        GPL+ or Artistic
10URL:            http://search.cpan.org/dist/Test-EOL/
11Source0:        http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/Test-EOL-%{version}.tar.gz
12Patch0:         Test-EOL-1.0-old-EU::MM.patch
13
14BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
15BuildArch:      noarch
16BuildRequires:  perl(ExtUtils::MakeMaker)
17BuildRequires:  perl(File::Find)
18BuildRequires:  perl(File::Spec)
19BuildRequires:  perl(FindBin)
20# Simplify breaking dependency loops at bootstrap time
21%if 0%{!?perl_bootstrap:1}
22BuildRequires:  perl(Pod::Coverage::TrustPod)
23%endif
24BuildRequires:  perl(Test::Builder)
25BuildRequires:  perl(Test::More)
26BuildRequires:  perl(Test::NoTabs)
27BuildRequires:  perl(Test::Pod)
28BuildRequires:  perl(Test::Pod::Coverage)
29Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
30
31%description
32This module scans your project/distribution for any perl files (scripts,
33modules, etc.) with Windows line endings. It can also check for trailing
34whitespace.
35
36%prep
37%setup -q -n Test-EOL-%{version}
38
39# We don't really need ExtUtils::MakeMaker > 6.30
40%if %{old_eumm}
41%patch0 -p1
42%endif
43
44%build
45perl Makefile.PL INSTALLDIRS=vendor
46make %{?_smp_mflags}
47
48%install
49rm -rf %{buildroot}
50make pure_install DESTDIR=%{buildroot}
51find %{buildroot} -type f -name .packlist -exec rm -f {} \;
52find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
53%{_fixperms} %{buildroot}
54
55%check
56make test RELEASE_TESTING=1
57
58%clean
59rm -rf %{buildroot}
60
61%files
62%defattr(-,root,root,-)
63%doc Changes LICENSE README
64%{perl_vendorlib}/Test/
65%{_mandir}/man3/Test::EOL.3pm*
66
67%changelog
68* Sat Dec 13 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.5-1
69- updated to 1.5
70- built with perl 5.16.3
71
72* Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1-1
73- initial build for Vine Linux
74
75* Mon Jan 16 2012 Paul Howarth <paul@city-fan.org> 1.1-1
76- Update to 1.1
77  - Fix test fails on < 5.8 perls
78  - Fix t/13-latin1.t failures on Win32 and under TB1.5
79- Add buildreqs for required core modules, which might be dual-lived
80
81* Thu Jan  5 2012 Paul Howarth <paul@city-fan.org> 1.0-1
82- Update to 1.0
83  - Fix misleading test failure diagnostics when only issue is trailing
84    whitespace
85  - No longer blindly assume utf8 on input files (CPAN RT#59877)
86  - Properly document testing options
87- This release by RIBASUSHI -> update source URL
88- Drop upstreamed patch for CPAN RT#59877
89- Update patch for building with old ExtUtils::MakeMaker versions
90
91* Thu Jun 30 2011 Paul Howarth <paul@city-fan.org> - 0.9-5
92- Restore EPEL-4 compatibility
93- perl(Pod::Coverage::TrustPod) is available everywhere now
94- %%{?perl_default_filter} isn't needed for this tiny package
95- Nobody else likes macros for commands
96
97* Tue Jun 28 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.9-4
98- Perl mass rebuild
99- Add macro perl_bootstrap
100
101* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-3
102- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
103
104* Mon Oct 18 2010 Paul Howarth <paul@city-fan.org> 0.9-2
105- Don't assume tested files are UTF-8 encoded (CPAN RT#59877)
106
107* Wed Jun 16 2010 Paul Howarth <paul@city-fan.org> 0.9-1
108- Update to 0.9 (fix warnings on very old perls - CPAN RT#58442)
109- Use DESTDIR instead of PERL_INSTALL_ROOT
110- Add %%{?perl_default_filter}
111
112* Wed Jun 16 2010 Paul Howarth <paul@city-fan.org> 0.8-1
113- Initial RPM version
Note: See TracBrowser for help on using the repository browser.