source: projects/specs/trunk/p/perl-Test-Requires/perl-Test-Requires-vl.spec @ 12120

Revision 12120, 2.4 KB checked in by tomop, 5 years ago (diff)

perl-5.26 and friends

Line 
1Name:           perl-Test-Requires
2Summary:        Checks to see if a given module can be loaded
3Version:        0.10
4Release:        1%{?_dist_release}
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7Source0:        http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Test-Requires-%{version}.tar.gz
8URL:            http://search.cpan.org/dist/Test-Requires
9BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
11BuildArch:      noarch
12
13Vendor:        Project Vine
14Distribution:  Vine Linux
15
16BuildRequires:  perl >= 2:5.26.2
17BuildRequires:  perl(ExtUtils::MakeMaker)
18BuildRequires:  perl(Filter::Util::Call)
19BuildRequires:  perl(Test::More)
20
21Requires:       perl(Test::Builder::Module)
22
23%{?perl_default_filter}
24%{?perl_default_subpackage_tests}
25
26%description
27Test::Requires checks to see if the module can be loaded; if this fails
28rather than failing tests this *skips all tests*.
29
30%prep
31%setup -q -n Test-Requires-%{version}
32
33%build
34perl Makefile.PL INSTALLDIRS=vendor
35make %{?_smp_mflags}
36
37%install
38rm -rf %{buildroot}
39
40make pure_install DESTDIR=%{buildroot}
41find %{buildroot} -type f -name .packlist -delete
42find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
43
44%{_fixperms} %{buildroot}/*
45
46%check
47# note the "skipped" warnings indicate success :)
48make test
49
50
51%clean
52rm -rf %{buildroot}
53
54%files
55%defattr(-,root,root,-)
56%doc Changes README
57%{perl_vendorlib}/*
58%{_mandir}/man3/*.3*
59
60%changelog
61* Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.10-1
62- new upstream release.
63- rebuilt with perl-5.26.
64
65* Mon Jun 30 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.07-1
66- new upstream release.
67
68* Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.06-1
69- initial build for Vine Linux
70
71* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-3
72- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
73
74* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-2
75- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
76
77* Tue Oct 05 2010 Iain Arnell <iarnell@gmail.com> 0.06-1
78- update to latest upstream version
79
80* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-2
81- Mass rebuild with perl-5.12.0
82
83* Sat Mar 20 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.03-1
84- specfile by Fedora::App::MaintainerTools 0.006
85
86
Note: See TracBrowser for help on using the repository browser.