Blame SPECS/perl-Config-Perl-V.spec

12433f
%{?scl:%scl_package perl-Config-Perl-V}
12433f
12433f
%global cpan_version 0.29
12433f
Name:           %{?scl_prefix}perl-Config-Perl-V
12433f
Version:        0.29
12433f
Release:        3%{?dist}
12433f
Summary:        Structured data retrieval of perl -V output
12433f
License:        GPL+ or Artistic
12433f
URL:            http://search.cpan.org/dist/Config-Perl-V/
12433f
Source0:        http://www.cpan.org/authors/id/H/HM/HMBRAND/Config-Perl-V-%{cpan_version}.tgz
12433f
# Correct example
12433f
Patch0:         Config-Perl-V-0.24-Remove-invalid-shellbang.patch
12433f
BuildArch:      noarch
12433f
BuildRequires:  coreutils
12433f
BuildRequires:  make
12433f
BuildRequires:  %{?scl_prefix}perl-interpreter
12433f
BuildRequires:  %{?scl_prefix}perl-generators
12433f
BuildRequires:  %{?scl_prefix}perl(ExtUtils::MakeMaker) >= 6.76
12433f
BuildRequires:  %{?scl_prefix}perl(strict)
12433f
# Run-time:
12433f
BuildRequires:  %{?scl_prefix}perl(Config)
12433f
BuildRequires:  %{?scl_prefix}perl(Exporter)
12433f
BuildRequires:  %{?scl_prefix}perl(vars)
12433f
BuildRequires:  %{?scl_prefix}perl(warnings)
12433f
# Optional run-time:
12433f
BuildRequires:  %{?scl_prefix}perl(Digest::MD5)
12433f
# Tests:
12433f
BuildRequires:  %{?scl_prefix}perl(Test::More)
12433f
%if !%{defined perl_bootstrap}
12433f
# Building core modules must not require non-core modules when bootstrapping
12433f
BuildRequires:  %{?scl_prefix}perl(Test::NoWarnings)
12433f
%endif
12433f
Requires:       %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
12433f
Conflicts:      %{?scl_prefix}perl < 4:5.22.0-347
12433f
12433f
%description
12433f
The command "perl -V" will return you an excerpt from the %%Config::Config
12433f
hash combined with the output of "perl -V" that is not stored inside the hash,
12433f
but only available to the perl binary itself. This package provides Perl
12433f
module that will return you the output of "perl -V" in a structure.
12433f
12433f
%prep
12433f
%setup -q -n Config-Perl-V-%{cpan_version}
12433f
%patch0 -p1
12433f
chmod -x examples/*
12433f
12433f
%build
12433f
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 && make %{?_smp_mflags}%{?scl:'}
12433f
12433f
%install
12433f
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'}
12433f
%{_fixperms} $RPM_BUILD_ROOT/*
12433f
12433f
%check
12433f
# Building core modules must not require non-core modules when bootstrapping
12433f
%{?scl:scl enable %{scl} '}make test PERL_CORE=%{defined perl_bootstrap}%{?scl:'}
12433f
12433f
%files
12433f
%doc Changelog CONTRIBUTING.md examples README
12433f
%{perl_vendorlib}/*
12433f
%{_mandir}/man3/*
12433f
12433f
%changelog
12433f
* Tue Dec 19 2017 Petr Pisar <ppisar@redhat.com> - 0.29-3
12433f
- Rebuild without bootstrap
12433f
12433f
* Mon Dec 18 2017 Petr Pisar <ppisar@redhat.com> - 0.29-2
12433f
- SCL
12433f
12433f
* Mon Oct 16 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.29-1
12433f
- 0.29 bump
12433f
12433f
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.28-395
12433f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
12433f
12433f
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.28-394
12433f
- Perl 5.26 re-rebuild of bootstrapped packages
12433f
12433f
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.28-393
12433f
- Perl 5.26 rebuild
12433f
12433f
* Fri May 12 2017 Petr Pisar <ppisar@redhat.com> - 0.28-2
12433f
- Building core modules must not require non-core modules when bootstrapping
12433f
12433f
* Thu May 11 2017 Petr Pisar <ppisar@redhat.com> - 0.28-1
12433f
- Upgrade to 0.28 as provided in perl-5.25.12
12433f
12433f
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.27-2
12433f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
12433f
12433f
* Fri Aug 12 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.27-1
12433f
- 0.27 bump
12433f
12433f
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.26-2
12433f
- Perl 5.24 rebuild
12433f
12433f
* Wed May 11 2016 Petr Pisar <ppisar@redhat.com> - 0.26-1
12433f
- 0.26 bump
12433f
12433f
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-2
12433f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
12433f
12433f
* Wed Nov 18 2015 Petr Pisar <ppisar@redhat.com> - 0.25-1
12433f
- 0.25 bump
12433f
12433f
* Wed Jul 01 2015 Petr Pisar <ppisar@redhat.com> 0.24-348
12433f
- Specfile autogenerated by cpanspec 1.78.