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