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