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

Revision 9109, 2.5 KB checked in by inagaki, 9 years ago (diff)

2014-11-22 Ryoichi INAGAKI <ryo1@…>

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