Blame SPECS/perl-ExtUtils-Install.spec

27fbe6
%{?scl:%scl_package perl-ExtUtils-Install}
27fbe6
27fbe6
# Run optional test
27fbe6
%if ! (0%{?rhel}) && ! (0%{?scl:1})
27fbe6
%bcond_without perl_ExtUtils_Install_enables_optional_test
27fbe6
%else
27fbe6
%bcond_with perl_ExtUtils_Install_enables_optional_test
27fbe6
%endif
27fbe6
27fbe6
Name:           %{?scl_prefix}perl-ExtUtils-Install
27fbe6
Version:        2.14
27fbe6
Release:        451%{?dist}
27fbe6
Summary:        Install Perl files from here to there
27fbe6
License:        GPL+ or Artistic
27fbe6
URL:            https://metacpan.org/release/ExtUtils-Install
27fbe6
Source0:        https://cpan.metacpan.org/authors/id/B/BI/BINGOS/ExtUtils-Install-%{version}.tar.gz
27fbe6
BuildArch:      noarch
27fbe6
BuildRequires:  coreutils
27fbe6
BuildRequires:  make
27fbe6
BuildRequires:  %{?scl_prefix}perl-interpreter
27fbe6
BuildRequires:  %{?scl_prefix}perl-generators
27fbe6
BuildRequires:  %{?scl_prefix}perl(ExtUtils::MakeMaker) >= 6.76
27fbe6
BuildRequires:  %{?scl_prefix}perl(lib)
27fbe6
BuildRequires:  %{?scl_prefix}perl(strict)
27fbe6
BuildRequires:  sed
27fbe6
# Run-time:
27fbe6
BuildRequires:  %{?scl_prefix}perl(AutoSplit)
27fbe6
BuildRequires:  %{?scl_prefix}perl(Carp)
27fbe6
BuildRequires:  %{?scl_prefix}perl(Config)
27fbe6
BuildRequires:  %{?scl_prefix}perl(Cwd)
27fbe6
# Data::Dumper not used at tests
27fbe6
BuildRequires:  %{?scl_prefix}perl(Exporter)
27fbe6
BuildRequires:  %{?scl_prefix}perl(File::Basename)
27fbe6
BuildRequires:  %{?scl_prefix}perl(File::Compare)
27fbe6
BuildRequires:  %{?scl_prefix}perl(File::Copy)
27fbe6
BuildRequires:  %{?scl_prefix}perl(File::Find)
27fbe6
BuildRequires:  %{?scl_prefix}perl(File::Path)
27fbe6
BuildRequires:  %{?scl_prefix}perl(File::Spec)
27fbe6
# POSIX is optional
27fbe6
BuildRequires:  %{?scl_prefix}perl(vars)
27fbe6
# VMS::Filespec not used
27fbe6
# Win32API::File not used
27fbe6
# Tests:
27fbe6
BuildRequires:  %{?scl_prefix}perl(diagnostics)
27fbe6
# ExtUtils::CBuilder not used
27fbe6
BuildRequires:  %{?scl_prefix}perl(ExtUtils::MM)
27fbe6
BuildRequires:  %{?scl_prefix}perl(File::Temp)
27fbe6
BuildRequires:  %{?scl_prefix}perl(Test::More)
27fbe6
# VMS::DCLsymnot used
27fbe6
# Unbundled tests:
27fbe6
# Test::Builder not used
27fbe6
%if %{with perl_ExtUtils_Install_enables_optional_test}
27fbe6
# Optional testes:
27fbe6
%if !%{defined perl_bootstrap}
27fbe6
BuildRequires:  %{?scl_prefix}perl(Test::Pod) >= 1.14
27fbe6
# Test::Pod::Coverage 1.08 not used
27fbe6
# Pod::Coverage 0.17 not used
27fbe6
%endif
27fbe6
%endif
27fbe6
Requires:       %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
27fbe6
Requires:       %{?scl_prefix}perl(AutoSplit)
27fbe6
Requires:       %{?scl_prefix}perl(Data::Dumper)
27fbe6
Requires:       %{?scl_prefix}perl(File::Compare)
27fbe6
Requires:       %{?scl_prefix}perl(POSIX)
27fbe6
27fbe6
%{?perl_default_filter}
27fbe6
27fbe6
%description
27fbe6
Handles the installing and uninstalling of Perl modules, scripts, man
27fbe6
pages, etc.
27fbe6
27fbe6
%prep
27fbe6
%setup -q -n ExtUtils-Install-%{version}
27fbe6
# Remove bundled modules
27fbe6
rm -rf t/lib/Test
27fbe6
sed -i -e '/^t\/lib\/Test\//d' MANIFEST
27fbe6
27fbe6
%build
27fbe6
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 && make %{?_smp_mflags}%{?scl:'}
27fbe6
27fbe6
%install
27fbe6
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=%{buildroot}%{?scl:'}
27fbe6
%{_fixperms} %{buildroot}
27fbe6
27fbe6
%check
27fbe6
%{?scl:scl enable %{scl} '}make test%{?scl:'}
27fbe6
27fbe6
%files
27fbe6
%doc Changes README
27fbe6
%{perl_vendorlib}/*
27fbe6
%{_mandir}/man3/*
27fbe6
27fbe6
%changelog
27fbe6
* Fri Dec 20 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.14-451
27fbe6
- SCL
27fbe6
27fbe6
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.14-440
27fbe6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
27fbe6
27fbe6
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.14-439
27fbe6
- Perl 5.30 re-rebuild of bootstrapped packages
27fbe6
27fbe6
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.14-438
27fbe6
- Increase release to favour standalone package
27fbe6
27fbe6
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.14-419
27fbe6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
27fbe6
27fbe6
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.14-418
27fbe6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
27fbe6
27fbe6
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.14-417
27fbe6
- Perl 5.28 re-rebuild of bootstrapped packages
27fbe6
27fbe6
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.14-416
27fbe6
- Increase release to favour standalone package
27fbe6
27fbe6
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.14-4
27fbe6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
27fbe6
27fbe6
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.14-3
27fbe6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
27fbe6
27fbe6
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.14-2
27fbe6
- Perl 5.26 re-rebuild of bootstrapped packages
27fbe6
27fbe6
* Mon Jun 05 2017 Petr Pisar <ppisar@redhat.com> - 2.14-1
27fbe6
- 2.14 bump
27fbe6
27fbe6
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.04-393
27fbe6
- Perl 5.26 rebuild
27fbe6
27fbe6
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.04-367
27fbe6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
27fbe6
27fbe6
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.04-366
27fbe6
- Perl 5.24 re-rebuild of bootstrapped packages
27fbe6
27fbe6
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.04-365
27fbe6
- Increase release to favour standalone package
27fbe6
27fbe6
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.04-348
27fbe6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
27fbe6
27fbe6
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.04-347
27fbe6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
27fbe6
27fbe6
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.04-346
27fbe6
- Perl 5.22 re-rebuild of bootstrapped packages
27fbe6
27fbe6
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.04-345
27fbe6
- Increase release to favour standalone package
27fbe6
27fbe6
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.04-2
27fbe6
- Perl 5.22 rebuild
27fbe6
27fbe6
* Thu Sep 18 2014 Petr Pisar <ppisar@redhat.com> 2.04-1
27fbe6
- Specfile autogenerated by cpanspec 1.78.