You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.6 KiB
55 lines
1.6 KiB
Name: perl-Method-Signatures-Simple
|
|
Version: 1.07
|
|
Release: 2%{?dist}
|
|
Summary: Basic method declarations with signatures, without source filters
|
|
License: GPL+ or Artistic
|
|
URL: http://search.cpan.org/dist/Method-Signatures-Simple/
|
|
Source0: http://www.cpan.org/authors/id/R/RH/RHESA/Method-Signatures-Simple-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
# Build
|
|
BuildRequires: perl
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
BuildRequires: perl(strict)
|
|
BuildRequires: perl(warnings)
|
|
# Runtime
|
|
BuildRequires: perl(base)
|
|
BuildRequires: perl(Devel::Declare::MethodInstaller::Simple)
|
|
# Tests only
|
|
BuildRequires: perl(Test::More)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
|
|
%description
|
|
This module provides basic method and func keywords with simple
|
|
signatures. It's intentionally simple, and is supposed to be a
|
|
stepping stone for its bigger brothers MooseX::Method::Signatures and
|
|
Method::Signatures. It only has a small benefit over regular subs,
|
|
so if you want more features, look at those modules. But if you're
|
|
looking for a small amount of syntactic sugar, this might just be enough.
|
|
|
|
%prep
|
|
%setup -q -n Method-Signatures-Simple-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make pure_install DESTDIR=%{buildroot}
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc Changes README
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.07-2
|
|
- Perl 5.22 rebuild
|
|
|
|
* Thu Nov 27 2014 Petr Šabata <contyk@redhat.com> 1.07-1
|
|
- Initial packaging
|