|
|
c28740 |
Name: perl-Config-Perl-V
|
|
|
c28740 |
Version: 0.27
|
|
|
c28740 |
Release: 3%{?dist}
|
|
|
c28740 |
Summary: Structured data retrieval of perl -V output
|
|
|
c28740 |
License: GPL+ or Artistic
|
|
|
c28740 |
Group: Development/Libraries
|
|
|
c28740 |
URL: http://search.cpan.org/dist/Config-Perl-V/
|
|
|
c28740 |
Source0: http://www.cpan.org/authors/id/H/HM/HMBRAND/Config-Perl-V-%{version}.tgz
|
|
|
c28740 |
# Correct example
|
|
|
c28740 |
Patch0: Config-Perl-V-0.24-Remove-invalid-shellbang.patch
|
|
|
c28740 |
BuildArch: noarch
|
|
|
c28740 |
BuildRequires: coreutils
|
|
|
c28740 |
BuildRequires: findutils
|
|
|
c28740 |
BuildRequires: make
|
|
|
c28740 |
BuildRequires: perl
|
|
|
c28740 |
BuildRequires: perl-generators
|
|
|
c28740 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
c28740 |
BuildRequires: perl(strict)
|
|
|
c28740 |
# Run-time:
|
|
|
c28740 |
BuildRequires: perl(Config)
|
|
|
c28740 |
BuildRequires: perl(Exporter)
|
|
|
c28740 |
BuildRequires: perl(vars)
|
|
|
c28740 |
BuildRequires: perl(warnings)
|
|
|
c28740 |
# Optional run-time:
|
|
|
c28740 |
# Digest::MD5 not used at tests
|
|
|
c28740 |
# Tests:
|
|
|
c28740 |
BuildRequires: perl(Test::More)
|
|
|
c28740 |
BuildRequires: perl(Test::NoWarnings)
|
|
|
c28740 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
c28740 |
Conflicts: perl < 4:5.22.0-347
|
|
|
c28740 |
|
|
|
c28740 |
%description
|
|
|
c28740 |
The command "perl -V" will return you an excerpt from the %%Config::Config
|
|
|
c28740 |
hash combined with the output of "perl -V" that is not stored inside the hash,
|
|
|
c28740 |
but only available to the perl binary itself. This package provides Perl
|
|
|
c28740 |
module that will return you the output of "perl -V" in a structure.
|
|
|
c28740 |
|
|
|
c28740 |
%prep
|
|
|
c28740 |
%setup -q -n Config-Perl-V-%{version}
|
|
|
c28740 |
%patch0 -p1
|
|
|
c28740 |
chmod -x examples/*
|
|
|
c28740 |
|
|
|
c28740 |
%build
|
|
|
c28740 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
c28740 |
make %{?_smp_mflags}
|
|
|
c28740 |
|
|
|
c28740 |
%install
|
|
|
c28740 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
c28740 |
find $RPM_BUILD_ROOT -type f -name .packlist -delete
|
|
|
c28740 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
c28740 |
|
|
|
c28740 |
%check
|
|
|
c28740 |
make test
|
|
|
c28740 |
|
|
|
c28740 |
%files
|
|
|
c28740 |
%doc Changelog CONTRIBUTING.md examples README
|
|
|
c28740 |
%{perl_vendorlib}/*
|
|
|
c28740 |
%{_mandir}/man3/*
|
|
|
c28740 |
|
|
|
c28740 |
%changelog
|
|
|
c28740 |
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.27-3
|
|
|
c28740 |
- Rebuild with enable hardening (bug #1636329)
|
|
|
c28740 |
|
|
|
c28740 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.27-2
|
|
|
c28740 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
c28740 |
|
|
|
c28740 |
* Fri Aug 12 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.27-1
|
|
|
c28740 |
- 0.27 bump
|
|
|
c28740 |
|
|
|
c28740 |
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.26-2
|
|
|
c28740 |
- Perl 5.24 rebuild
|
|
|
c28740 |
|
|
|
c28740 |
* Wed May 11 2016 Petr Pisar <ppisar@redhat.com> - 0.26-1
|
|
|
c28740 |
- 0.26 bump
|
|
|
c28740 |
|
|
|
c28740 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-2
|
|
|
c28740 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
c28740 |
|
|
|
c28740 |
* Wed Nov 18 2015 Petr Pisar <ppisar@redhat.com> - 0.25-1
|
|
|
c28740 |
- 0.25 bump
|
|
|
c28740 |
|
|
|
c28740 |
* Wed Jul 01 2015 Petr Pisar <ppisar@redhat.com> 0.24-348
|
|
|
c28740 |
- Specfile autogenerated by cpanspec 1.78.
|