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

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

perl-5.26 and friends

Line 
1Name:           perl-Test-Without-Module
2Version:        0.20
3Release:        1%{?_dist_release}
4Summary:        Test fallback behavior in absence of modules
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Test-Without-Module/
8Source0:        http://www.cpan.org/modules/by-module/Test/Test-Without-Module-%{version}.tar.gz
9
10Vendor:        Project Vine
11Distribution:  Vine Linux
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
14BuildArch:      noarch
15BuildRequires:  perl(ExtUtils::MakeMaker)
16BuildRequires:  perl(File::Slurp)
17BuildRequires:  perl(Test::More)
18BuildRequires:  perl(Test::Pod)
19Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
20
21%{?perl_default_filter}
22
23%description
24This module allows you to deliberately hide modules from a program even
25though they are installed. This is mostly useful for testing modules that
26have a fallback when a certain dependency module is not installed.
27
28%prep
29%setup -q -n Test-Without-Module-%{version}
30find . -type f -exec chmod 644 {} \;
31sed -i -e 's/\r//' README Changes
32
33%build
34%{__perl} Makefile.PL INSTALLDIRS=vendor
35make %{?_smp_mflags}
36
37%install
38rm -rf %{buildroot}
39
40make pure_install DESTDIR=%{buildroot}
41
42find %{buildroot} -type f -name .packlist -exec rm -f {} \;
43find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
44
45%{_fixperms} %{buildroot}/*
46
47%check
48make test
49
50%clean
51rm -rf %{buildroot}
52
53%files
54%defattr(-,root,root,-)
55%doc Changes README
56%{perl_vendorlib}/*
57%{_mandir}/man3/*
58
59%changelog
60* Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.20-1
61- new upstream release.
62- rebuilt with perl-5.26.
63
64* Sat Nov 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.18-1
65- new upstream release
66- built with perl 5.16.3
67
68* Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.17-1
69- initial build for Vine Linux
70
71* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-6
72- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
73
74* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.17-5
75- Perl mass rebuild
76
77* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-4
78- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
79
80* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.17-3
81- 661697 rebuild for fixing problems with vendorach/lib
82
83* Thu Jul 22 2010 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> - 0.17-2
84- Remove executable permissions
85- Dos2unix the README and Changes file
86- Americanise the summary
87
88* Sun Jun 27 2010 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> 0.17-1
89- Specfile autogenerated by cpanspec 1.78.
Note: See TracBrowser for help on using the repository browser.