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

71 lines
1.6 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:11:46 -04:00
Name: perl-Config-Perl-V
Version: 0.30
Release: 4
Summary: A module that will return you the output of 'perl -V' in a structure
License: GPL+ or Artistic
URL: https://metacpan.org/release/Config-Perl-V
Source0: https://cpan.metacpan.org/authors/id/H/HM/HMBRAND/Config-Perl-V-%{version}.tgz
Patch1: Config-Perl-V-0.24-Remove-invalid-shellbang.patch
BuildArch: noarch
BuildRequires: coreutils make perl-generators perl-interpreter perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(Test::More) perl(Test::NoWarnings)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Suggests: perl(Digest::MD5)
%description
The command 'perl -V' will return you an excerpt from the %Config hash
combined with the output of 'perl -V' that is not stored inside %Config,
but only available to the perl binary itself.
%package_help
%prep
%autosetup -n Config-Perl-V-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%make_build
%install
%make_install
%{_fixperms} -c %{buildroot}
%check
make test
%pre
%preun
%post
%postun
%files
%defattr(-,root,root)
%doc Changelog README
%{perl_vendorlib}/*
%files help
%defattr(-,root,root)
%doc examples/ CONTRIBUTING.md
%{_mandir}/man3/*.gz
%changelog
* Fri Sep 27 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.30-4
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: change the directory of README and examples/
* Tue Sep 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.30-3
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:remove some notes
* Fri Aug 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.30-2
- Package init