|
|
890e609 |
Name: perl-Env-ShellWords
|
|
|
ff412ac |
Version: 0.02
|
|
|
890e609 |
Release: 1%{?dist}
|
|
|
890e609 |
Summary: Environment variables for arguments as a Perl array
|
|
|
890e609 |
License: GPL+ or Artistic
|
|
|
890e609 |
URL: http://search.cpan.org/dist/Env-ShellWords/
|
|
|
890e609 |
Source0: http://www.cpan.org/authors/id/P/PL/PLICEASE/Env-ShellWords-%{version}.tar.gz
|
|
|
890e609 |
BuildArch: noarch
|
|
|
890e609 |
BuildRequires: make
|
|
|
890e609 |
BuildRequires: perl-generators
|
|
|
890e609 |
BuildRequires: perl-interpreter
|
|
|
890e609 |
BuildRequires: perl(:VERSION) >= 5.6
|
|
|
890e609 |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
890e609 |
BuildRequires: perl(strict)
|
|
|
890e609 |
BuildRequires: perl(warnings)
|
|
|
890e609 |
# Run-time:
|
|
|
890e609 |
BuildRequires: perl(Carp)
|
|
|
ff412ac |
BuildRequires: perl(constant)
|
|
|
890e609 |
BuildRequires: perl(Text::ParseWords)
|
|
|
890e609 |
# Tests:
|
|
|
890e609 |
BuildRequires: perl(Config)
|
|
|
ff412ac |
BuildRequires: perl(Test2::V0) >= 0.000060
|
|
|
ff412ac |
# Optional tests:
|
|
|
ff412ac |
# Test::More not helpful
|
|
|
890e609 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
890e609 |
Requires: perl(Carp)
|
|
|
890e609 |
|
|
|
890e609 |
%description
|
|
|
890e609 |
This Perl module provides an array-like interface to environment variables that
|
|
|
890e609 |
contain flags. For example Autoconf can uses the environment variables like
|
|
|
890e609 |
CFLAGS or LDFLAGS, and this allows you to manipulate those variables
|
|
|
890e609 |
without doing space quoting and other messy mucky stuff.
|
|
|
890e609 |
|
|
|
890e609 |
%prep
|
|
|
890e609 |
%setup -q -n Env-ShellWords-%{version}
|
|
|
890e609 |
|
|
|
890e609 |
%build
|
|
|
890e609 |
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
890e609 |
make %{?_smp_mflags}
|
|
|
890e609 |
|
|
|
890e609 |
%install
|
|
|
890e609 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
890e609 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
890e609 |
|
|
|
890e609 |
%check
|
|
|
890e609 |
make test
|
|
|
890e609 |
|
|
|
890e609 |
%files
|
|
|
890e609 |
%license LICENSE
|
|
|
890e609 |
%doc Changes README
|
|
|
890e609 |
%{perl_vendorlib}/*
|
|
|
890e609 |
%{_mandir}/man3/*
|
|
|
890e609 |
|
|
|
890e609 |
%changelog
|
|
|
ff412ac |
* Mon Aug 28 2017 Petr Pisar <ppisar@redhat.com> - 0.02-1
|
|
|
ff412ac |
- 0.02 bump
|
|
|
ff412ac |
|
|
|
890e609 |
* Mon Jul 24 2017 Petr Pisar <ppisar@redhat.com> 0.01-1
|
|
|
890e609 |
- Specfile autogenerated by cpanspec 1.78.
|