source: spec/trunk/SPECS/perl-Module-Runtime.spec

Last change on this file was 1370, checked in by tellie, 8 years ago

spec: perl-Module-Runtime: Release version 0.016-1.

File size: 1.7 KB
Line 
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
6Name: perl-Module-Runtime
7Version: 0.016
8Release: 1%{?dist}
9Summary: Runtime module handling
10License: GPL+ or Artistic
11URL: http://search.cpan.org/dist/Module-Runtime/
12Source0: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Module-Runtime-%{version}.tar.gz
13BuildArch: noarch
14BuildRequires: coreutils
15BuildRequires: make
16BuildRequires: perl-generators
17#BuildRequires: perl-interpreter
18#BuildRequires: perl(:VERSION) >= 5.6
19BuildRequires: 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
30Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
31
32%description
33The functions exported by this module deal with runtime handling of Perl
34modules, which are normally handled at compile time.
35
36%prep
37%setup -q -n Module-Runtime-%{version}
38
39%build
40perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
41make %{?_smp_mflags}
42make manifypods
43
44%install
45make pure_install DESTDIR=%{buildroot}
46find %{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
Note: See TracBrowser for help on using the repository browser.