| [5844] | 1 | Name: perl-Test-Without-Module |
|---|
| [12120] | 2 | Version: 0.20 |
|---|
| [5844] | 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 |
|---|
| [9109] | 9 | |
|---|
| [12120] | 10 | Vendor: Project Vine |
|---|
| 11 | Distribution: Vine Linux |
|---|
| 12 | |
|---|
| [9109] | 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
|---|
| [5844] | 14 | BuildArch: noarch |
|---|
| 15 | BuildRequires: perl(ExtUtils::MakeMaker) |
|---|
| 16 | BuildRequires: perl(File::Slurp) |
|---|
| 17 | BuildRequires: perl(Test::More) |
|---|
| 18 | BuildRequires: perl(Test::Pod) |
|---|
| 19 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
|---|
| 20 | |
|---|
| 21 | %{?perl_default_filter} |
|---|
| 22 | |
|---|
| 23 | %description |
|---|
| 24 | This module allows you to deliberately hide modules from a program even |
|---|
| 25 | though they are installed. This is mostly useful for testing modules that |
|---|
| 26 | have a fallback when a certain dependency module is not installed. |
|---|
| 27 | |
|---|
| 28 | %prep |
|---|
| 29 | %setup -q -n Test-Without-Module-%{version} |
|---|
| 30 | find . -type f -exec chmod 644 {} \; |
|---|
| 31 | sed -i -e 's/\r//' README Changes |
|---|
| 32 | |
|---|
| 33 | %build |
|---|
| 34 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
|---|
| 35 | make %{?_smp_mflags} |
|---|
| 36 | |
|---|
| 37 | %install |
|---|
| 38 | rm -rf %{buildroot} |
|---|
| 39 | |
|---|
| 40 | make pure_install DESTDIR=%{buildroot} |
|---|
| 41 | |
|---|
| 42 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
|---|
| 43 | find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
|---|
| 44 | |
|---|
| 45 | %{_fixperms} %{buildroot}/* |
|---|
| 46 | |
|---|
| 47 | %check |
|---|
| 48 | make test |
|---|
| 49 | |
|---|
| 50 | %clean |
|---|
| 51 | rm -rf %{buildroot} |
|---|
| 52 | |
|---|
| 53 | %files |
|---|
| 54 | %defattr(-,root,root,-) |
|---|
| [9109] | 55 | %doc Changes README |
|---|
| [5844] | 56 | %{perl_vendorlib}/* |
|---|
| 57 | %{_mandir}/man3/* |
|---|
| 58 | |
|---|
| 59 | %changelog |
|---|
| [12120] | 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 | |
|---|
| [9109] | 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 | |
|---|
| [5844] | 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. |
|---|