This commit is contained in:
Petr Písař 2013-05-29 16:49:43 +02:00
parent ec6511f7b6
commit 229f09e4ca
3 changed files with 52 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/experimental-0.003.tar.gz

50
perl-experimental.spec Normal file
View File

@ -0,0 +1,50 @@
Name: perl-experimental
Version: 0.003
Release: 1%{?dist}
Summary: Experimental features made easy
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/experimental/
Source0: http://www.cpan.org/authors/id/L/LE/LEONT/experimental-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(Module::Build::Tiny) >= 0.019
# Run-time:
BuildRequires: perl(Carp)
# feature is optional
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Tests:
BuildRequires: perl(File::Find)
BuildRequires: perl(File::Temp)
BuildRequires: perl(Test::More) >= 0.89
# Optional tests:
BuildRequires: perl(Test::Script) >= 1.05
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
This pragma provides an easy and convenient way to enable or disable
experimental features.
%prep
%setup -q -n experimental-%{version}
%build
perl Build.PL --installdirs=vendor
./Build
%install
./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
%{_fixperms} $RPM_BUILD_ROOT/*
%check
./Build test
%files
%doc Changes LICENSE README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed May 29 2013 Petr Pisar <ppisar@redhat.com> 0.003-1
- Specfile autogenerated by cpanspec 1.78.

View File

@ -0,0 +1 @@
87988c65331ae4d6612f97191ab5d0b0 experimental-0.003.tar.gz