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