Blame SPECS/perl-inc-latest.spec

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