[12120] | 1 | # Run optional tests |
---|
| 2 | %bcond_with perl_Devel_Hide_enables_optional_test |
---|
| 3 | |
---|
| 4 | Name: perl-Devel-Hide |
---|
| 5 | Version: 0.0010 |
---|
| 6 | Release: 5%{?_dist_release} |
---|
| 7 | Summary: Forces the unavailability of specified Perl modules (for testing) |
---|
| 8 | License: GPL+ or Artistic |
---|
| 9 | URL: https://metacpan.org/release/Devel-Hide |
---|
| 10 | Source0: https://cpan.metacpan.org/authors/id/F/FE/FERREIRA/Devel-Hide-%{version}.tar.gz |
---|
| 11 | |
---|
| 12 | Vendor: Project Vine |
---|
| 13 | Distribution: Vine Linux |
---|
| 14 | |
---|
| 15 | BuildArch: noarch |
---|
| 16 | # Module Build |
---|
| 17 | BuildRequires: coreutils |
---|
| 18 | BuildRequires: findutils |
---|
| 19 | BuildRequires: make |
---|
| 20 | BuildRequires: perl >= 2:5.26.2 |
---|
| 21 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 22 | # Module Runtime |
---|
| 23 | # File::Temp not used on perl >= 5.008 |
---|
| 24 | BuildRequires: perl(lib) |
---|
| 25 | # Module::CoreList is used from a private subroutine that is never called |
---|
| 26 | BuildRequires: perl(strict) |
---|
| 27 | BuildRequires: perl(vars) |
---|
| 28 | BuildRequires: perl(warnings) |
---|
| 29 | # Test Suite |
---|
| 30 | BuildRequires: perl(Test::More) |
---|
| 31 | %if %{with perl_Devel_Hide_enables_optional_test} |
---|
| 32 | # Optional Tests |
---|
| 33 | BuildRequires: perl(Test::Pod) |
---|
| 34 | BuildRequires: perl(Test::Pod::Coverage) |
---|
| 35 | %endif |
---|
| 36 | # Dependencies |
---|
| 37 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
| 38 | |
---|
| 39 | %description |
---|
| 40 | Given a list of Perl modules/filenames, this module makes require and use |
---|
| 41 | statements fail (regardless of whether the specified files/modules are |
---|
| 42 | installed or not). |
---|
| 43 | |
---|
| 44 | %prep |
---|
| 45 | %setup -q -n Devel-Hide-%{version} |
---|
| 46 | |
---|
| 47 | %build |
---|
| 48 | perl Makefile.PL INSTALLDIRS=vendor |
---|
| 49 | make %{?_smp_mflags} |
---|
| 50 | |
---|
| 51 | %install |
---|
| 52 | make pure_install DESTDIR=%{buildroot} |
---|
| 53 | find %{buildroot} -type f -name .packlist -delete |
---|
| 54 | %{_fixperms} -c %{buildroot} |
---|
| 55 | |
---|
| 56 | %check |
---|
| 57 | make test |
---|
| 58 | |
---|
| 59 | %files |
---|
| 60 | %doc Changes README |
---|
| 61 | %{perl_vendorlib}/Devel/ |
---|
| 62 | %{_mandir}/man3/Devel::Hide.3* |
---|
| 63 | |
---|
| 64 | %changelog |
---|
| 65 | * Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.0010-5 |
---|
| 66 | - initial build for Vine Linux. |
---|
| 67 | |
---|
| 68 | * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0010-4 |
---|
| 69 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
---|
| 70 | |
---|
| 71 | * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0010-3 |
---|
| 72 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
---|
| 73 | |
---|
| 74 | * Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.0010-2 |
---|
| 75 | - Perl 5.28 rebuild |
---|
| 76 | |
---|
| 77 | * Mon Jun 18 2018 Paul Howarth <paul@city-fan.org> - 0.0010-1 |
---|
| 78 | - Update to 0.0010 |
---|
| 79 | - Makefile.PL: better prereqs declaration |
---|
| 80 | - Documentation typo fix |
---|
| 81 | - Switch upstream from search.cpan.org to metacpan.org |
---|
| 82 | - Drop legacy Group: tag |
---|
| 83 | - Use plain 'perl' instead of '%%{__perl}' macro |
---|
| 84 | - Use DESTDIR rather than PERL_INSTALL_ROOT |
---|
| 85 | - Make %%files list more explicit |
---|
| 86 | |
---|
| 87 | * Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0009-14 |
---|
| 88 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
---|
| 89 | |
---|
| 90 | * Wed Dec 06 2017 Petr Pisar <ppisar@redhat.com> - 0.0009-13 |
---|
| 91 | - Specify all dependencies |
---|
| 92 | |
---|
| 93 | * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0009-12 |
---|
| 94 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
---|
| 95 | |
---|
| 96 | * Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.0009-11 |
---|
| 97 | - Perl 5.26 rebuild |
---|
| 98 | |
---|
| 99 | * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0009-10 |
---|
| 100 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
---|
| 101 | |
---|
| 102 | * Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.0009-9 |
---|
| 103 | - Perl 5.24 rebuild |
---|
| 104 | |
---|
| 105 | * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.0009-8 |
---|
| 106 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
---|
| 107 | |
---|
| 108 | * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0009-7 |
---|
| 109 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
---|
| 110 | |
---|
| 111 | * Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.0009-6 |
---|
| 112 | - Perl 5.22 rebuild |
---|
| 113 | |
---|
| 114 | * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.0009-5 |
---|
| 115 | - Perl 5.20 rebuild |
---|
| 116 | |
---|
| 117 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0009-4 |
---|
| 118 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
| 119 | |
---|
| 120 | * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0009-3 |
---|
| 121 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
| 122 | |
---|
| 123 | * Sat Jul 20 2013 Petr Pisar <ppisar@redhat.com> - 0.0009-2 |
---|
| 124 | - Perl 5.18 rebuild |
---|
| 125 | |
---|
| 126 | * Sun Feb 03 2013 Iain Arnell <iarnell@gmail.com> 0.0009-1 |
---|
| 127 | - update to latest upstream |
---|
| 128 | - remove rt74225.patch as it's fixed in latest release |
---|
| 129 | - clean up spec for modern rpmbuild |
---|
| 130 | |
---|
| 131 | * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0008-13 |
---|
| 132 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
| 133 | |
---|
| 134 | * Mon Jul 09 2012 Petr Pisar <ppisar@redhat.com> - 0.0008-12 |
---|
| 135 | - Perl 5.16 rebuild |
---|
| 136 | |
---|
| 137 | * Thu Jun 28 2012 Iain Arnell <iarnell@gmail.com> 0.0008-11 |
---|
| 138 | - patch to avoid warnings for 'defined(@array)' - rt#74225 |
---|
| 139 | |
---|
| 140 | * Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.0008-10 |
---|
| 141 | - Perl 5.16 rebuild |
---|
| 142 | |
---|
| 143 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0008-9 |
---|
| 144 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 145 | |
---|
| 146 | * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.0008-8 |
---|
| 147 | - Perl mass rebuild |
---|
| 148 | |
---|
| 149 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0008-7 |
---|
| 150 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 151 | |
---|
| 152 | * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.0008-6 |
---|
| 153 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
| 154 | |
---|
| 155 | * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.0008-5 |
---|
| 156 | - Mass rebuild with perl-5.12.0 |
---|
| 157 | |
---|
| 158 | * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.0008-4 |
---|
| 159 | - Mass rebuild with perl-5.12.0 |
---|
| 160 | |
---|
| 161 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.0008-3 |
---|
| 162 | - rebuild against perl 5.10.1 |
---|
| 163 | |
---|
| 164 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0008-2 |
---|
| 165 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 166 | |
---|
| 167 | * Sat Apr 04 2009 Iain Arnell 0.0008-1 |
---|
| 168 | - Specfile autogenerated by cpanspec 1.78. |
---|