[1370] | 1 | # This file is licensed under the terms of GNU GPLv2+.
|
---|
| 2 |
|
---|
| 3 | # Run optional tests
|
---|
| 4 | #%{bcond_without perl_Module_Runtime_enables_optional_test}
|
---|
| 5 |
|
---|
| 6 | Name: perl-Module-Runtime
|
---|
| 7 | Version: 0.016
|
---|
| 8 | Release: 1%{?dist}
|
---|
| 9 | Summary: Runtime module handling
|
---|
| 10 | License: GPL+ or Artistic
|
---|
| 11 | URL: http://search.cpan.org/dist/Module-Runtime/
|
---|
| 12 | Source0: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Module-Runtime-%{version}.tar.gz
|
---|
| 13 | BuildArch: noarch
|
---|
| 14 | BuildRequires: coreutils
|
---|
| 15 | BuildRequires: make
|
---|
| 16 | BuildRequires: perl-generators
|
---|
| 17 | #BuildRequires: perl-interpreter
|
---|
| 18 | #BuildRequires: perl(:VERSION) >= 5.6
|
---|
| 19 | BuildRequires: perl(ExtUtils::MakeMaker) >= 6.63
|
---|
| 20 | # Tests:
|
---|
| 21 | #BuildRequires: perl(Math::BigInt)
|
---|
| 22 | #BuildRequires: perl(strict)
|
---|
| 23 | #BuildRequires: perl(Test::More) >= 0.41
|
---|
| 24 | #BuildRequires: perl(warnings)
|
---|
| 25 | #%if %{with perl_Module_Runtime_enables_optional_test}
|
---|
| 26 | # Optional tests:
|
---|
| 27 | #BuildRequires: perl(Test::Pod) >= 1.00
|
---|
| 28 | #BuildRequires: perl(Test::Pod::Coverage)
|
---|
| 29 | #%endif
|
---|
| 30 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
---|
| 31 |
|
---|
| 32 | %description
|
---|
| 33 | The functions exported by this module deal with runtime handling of Perl
|
---|
| 34 | modules, which are normally handled at compile time.
|
---|
| 35 |
|
---|
| 36 | %prep
|
---|
| 37 | %setup -q -n Module-Runtime-%{version}
|
---|
| 38 |
|
---|
| 39 | %build
|
---|
| 40 | perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
---|
| 41 | make %{?_smp_mflags}
|
---|
| 42 | make manifypods
|
---|
| 43 |
|
---|
| 44 | %install
|
---|
| 45 | make pure_install DESTDIR=%{buildroot}
|
---|
| 46 | find %{buildroot} -type f -name .packlist -delete
|
---|
| 47 | %{_fixperms} %{buildroot}
|
---|
| 48 |
|
---|
| 49 | %check
|
---|
| 50 | #make test
|
---|
| 51 |
|
---|
| 52 | %files
|
---|
| 53 | %doc Changes README
|
---|
| 54 | %{perl_vendorlib}/Module/
|
---|
| 55 | %{_mandir}/man3/*.3*
|
---|
| 56 |
|
---|
| 57 | %changelog
|
---|
| 58 | * Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.016-2
|
---|
| 59 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
---|