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