339bd4
Name:           perl-inc-latest
339bd4
Epoch:          2
339bd4
Version:        0.500
339bd4
Release:        9%{?dist}
339bd4
Summary:        Use modules bundled in inc/ if they are newer than installed ones
339bd4
License:        ASL 2.0
339bd4
Group:          Development/Libraries
339bd4
URL:            http://search.cpan.org/dist/inc-latest/
339bd4
Source0:        http://www.cpan.org/authors/id/D/DA/DAGOLDEN/inc-latest-%{version}.tar.gz
339bd4
BuildArch:      noarch
339bd4
BuildRequires:  perl-interpreter
339bd4
BuildRequires:  perl-generators
339bd4
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.17
339bd4
BuildRequires:  perl(strict)
339bd4
BuildRequires:  perl(warnings)
339bd4
# Tests
339bd4
BuildRequires:  perl(File::Spec)
339bd4
BuildRequires:  perl(Test::More)
339bd4
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
339bd4
Requires:       perl(ExtUtils::Installed)
339bd4
Conflicts:      perl-Module-Build < 2:0.42.10-4
339bd4
339bd4
%description
339bd4
The inc::latest module helps bootstrap configure-time dependencies for CPAN
339bd4
distributions. These dependencies get bundled into the inc directory within
339bd4
a distribution and are used by Makefile.PL or Build.PL.
339bd4
339bd4
%prep
339bd4
%setup -q -n inc-latest-%{version}
339bd4
339bd4
%build
339bd4
perl Makefile.PL INSTALLDIRS=vendor
339bd4
make %{?_smp_mflags}
339bd4
339bd4
%install
339bd4
make pure_install DESTDIR=$RPM_BUILD_ROOT
339bd4
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
339bd4
%{_fixperms} $RPM_BUILD_ROOT/*
339bd4
339bd4
%check
339bd4
make test
339bd4
339bd4
%files
339bd4
%license LICENSE
339bd4
%doc Changes README
339bd4
%{perl_vendorlib}/*
339bd4
%{_mandir}/man3/*
339bd4
339bd4
%changelog
339bd4
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.500-9
339bd4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
339bd4
339bd4
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.500-8
339bd4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
339bd4
339bd4
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.500-7
339bd4
- Perl 5.26 rebuild
339bd4
339bd4
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.500-6
339bd4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
339bd4
339bd4
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.500-5
339bd4
- Perl 5.24 rebuild
339bd4
339bd4
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.500-4
339bd4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
339bd4
339bd4
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.500-3
339bd4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
339bd4
339bd4
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.500-2
339bd4
- Perl 5.22 rebuild
339bd4
339bd4
* Fri Jan 30 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.500-1
339bd4
- Set epoch to compete with perl-Module-Build sub-package
339bd4
339bd4
* Thu Jan 29 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.500-1
339bd4
- Specfile autogenerated by cpanspec 1.78.