perl-experimental/perl-experimental.spec

55 lines
1.4 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:12:10 -04:00
Name: perl-experimental
Version: 0.020
Release: 2
Summary: Experimental features made easy
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/experimental/
Source0: http://www.cpan.org/authors/id/L/LE/LEONT/experimental-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make git perl-generators perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict) perl(warnings)
BuildRequires: perl(Carp) perl(feature) perl(version)
BuildRequires: perl(Test::More) >= 0.89
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(feature)
%description
This pragma provides an easy and convenient way to enable or disable
experimental features.
%package help
Summary: Documents for %{name}
Buildarch: noarch
Requires: man info
%description help
Man pages and other related documents for %{name}.
%prep
%autosetup -n experimental-%{version} -p1 -S git
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
%make_build
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes README
%license LICENSE
%{perl_vendorlib}/*
%files help
%{_mandir}/man3/*
%changelog
* Sat Sep 14 2019 guiyao <guiyao@huawei.com> - 0.020-2
- Package Init