b7dc0d
%global base_version 0.31
b7dc0d
b7dc0d
Name:           perl-Config-Perl-V
b7dc0d
Version:        0.32
b7dc0d
Release:        441%{?dist}
b7dc0d
Summary:        Structured data retrieval of perl -V output
b7dc0d
License:        GPL+ or Artistic
b7dc0d
URL:            https://metacpan.org/release/Config-Perl-V
b7dc0d
Source0:        https://cpan.metacpan.org/authors/id/H/HM/HMBRAND/Config-Perl-V-%{base_version}.tgz
b7dc0d
# Correct example
b7dc0d
Patch0:         Config-Perl-V-0.24-Remove-invalid-shellbang.patch
b7dc0d
# Unbundled from perl 5.29.10
b7dc0d
Patch1:         Config-Perl-V-0.31-Upgrade-to-0.32.patch
b7dc0d
BuildArch:      noarch
b7dc0d
BuildRequires:  coreutils
b7dc0d
BuildRequires:  make
b7dc0d
BuildRequires:  perl-generators
b7dc0d
BuildRequires:  perl-interpreter
b7dc0d
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
b7dc0d
BuildRequires:  perl(strict)
b7dc0d
# Run-time:
b7dc0d
BuildRequires:  perl(Config)
b7dc0d
BuildRequires:  perl(Exporter)
b7dc0d
BuildRequires:  perl(vars)
b7dc0d
BuildRequires:  perl(warnings)
b7dc0d
# Optional run-time:
b7dc0d
BuildRequires:  perl(Digest::MD5)
b7dc0d
# Tests:
b7dc0d
BuildRequires:  perl(Test::More)
b7dc0d
%if !%{defined perl_bootstrap}
b7dc0d
# Building core modules must not require non-core modules when bootstrapping
b7dc0d
BuildRequires:  perl(Test::NoWarnings)
b7dc0d
%endif
b7dc0d
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
b7dc0d
Suggests:       perl(Digest::MD5)
b7dc0d
Conflicts:      perl < 4:5.22.0-347
b7dc0d
b7dc0d
%description
b7dc0d
The command "perl -V" will return you an excerpt from the %%Config::Config
b7dc0d
hash combined with the output of "perl -V" that is not stored inside the hash,
b7dc0d
but only available to the perl binary itself. This package provides Perl
b7dc0d
module that will return you the output of "perl -V" in a structure.
b7dc0d
b7dc0d
%prep
b7dc0d
%setup -q -n Config-Perl-V-%{base_version}
b7dc0d
%patch0 -p1
b7dc0d
%patch1 -p1
b7dc0d
chmod -x examples/*
b7dc0d
b7dc0d
%build
b7dc0d
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
b7dc0d
%{make_build}
b7dc0d
b7dc0d
%install
b7dc0d
%{make_install}
b7dc0d
%{_fixperms} $RPM_BUILD_ROOT/*
b7dc0d
b7dc0d
%check
b7dc0d
# Building core modules must not require non-core modules when bootstrapping
b7dc0d
make test PERL_CORE=%{defined perl_bootstrap}
b7dc0d
b7dc0d
%files
b7dc0d
%doc Changelog CONTRIBUTING.md examples README
b7dc0d
%{perl_vendorlib}/*
b7dc0d
%{_mandir}/man3/*
b7dc0d
b7dc0d
%changelog
b7dc0d
* Fri Sep 27 2019 Petr Pisar <ppisar@redhat.com> - 0.32-441
b7dc0d
- Indeed upgrade to 0.32
b7dc0d
b7dc0d
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.32-440
b7dc0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b7dc0d
b7dc0d
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.32-439
b7dc0d
- Perl 5.30 re-rebuild of bootstrapped packages
b7dc0d
b7dc0d
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.32-438
b7dc0d
- Increase release to favour standalone package
b7dc0d
b7dc0d
* Fri May 03 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.32-1
b7dc0d
- Upgrade to 0.32 as provided in perl-5.29.10
b7dc0d
b7dc0d
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.31-2
b7dc0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b7dc0d
b7dc0d
* Wed Dec 19 2018 Petr Pisar <ppisar@redhat.com> - 0.31-1
b7dc0d
- 0.31 bump
b7dc0d
b7dc0d
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.30-2
b7dc0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b7dc0d
b7dc0d
* Mon Jul 09 2018 Petr Pisar <ppisar@redhat.com> - 0.30-1
b7dc0d
- 0.30 bump
b7dc0d
b7dc0d
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.29-417
b7dc0d
- Perl 5.28 re-rebuild of bootstrapped packages
b7dc0d
b7dc0d
* Tue Jun 26 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.29-416
b7dc0d
- Increase release to favour standalone package
b7dc0d
b7dc0d
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.29-2
b7dc0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b7dc0d
b7dc0d
* Mon Oct 16 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.29-1
b7dc0d
- 0.29 bump
b7dc0d
b7dc0d
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.28-395
b7dc0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b7dc0d
b7dc0d
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.28-394
b7dc0d
- Perl 5.26 re-rebuild of bootstrapped packages
b7dc0d
b7dc0d
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.28-393
b7dc0d
- Perl 5.26 rebuild
b7dc0d
b7dc0d
* Fri May 12 2017 Petr Pisar <ppisar@redhat.com> - 0.28-2
b7dc0d
- Building core modules must not require non-core modules when bootstrapping
b7dc0d
b7dc0d
* Thu May 11 2017 Petr Pisar <ppisar@redhat.com> - 0.28-1
b7dc0d
- Upgrade to 0.28 as provided in perl-5.25.12
b7dc0d
b7dc0d
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.27-2
b7dc0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b7dc0d
b7dc0d
* Fri Aug 12 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.27-1
b7dc0d
- 0.27 bump
b7dc0d
b7dc0d
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.26-2
b7dc0d
- Perl 5.24 rebuild
b7dc0d
b7dc0d
* Wed May 11 2016 Petr Pisar <ppisar@redhat.com> - 0.26-1
b7dc0d
- 0.26 bump
b7dc0d
b7dc0d
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-2
b7dc0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b7dc0d
b7dc0d
* Wed Nov 18 2015 Petr Pisar <ppisar@redhat.com> - 0.25-1
b7dc0d
- 0.25 bump
b7dc0d
b7dc0d
* Wed Jul 01 2015 Petr Pisar <ppisar@redhat.com> 0.24-348
b7dc0d
- Specfile autogenerated by cpanspec 1.78.