parent
04dd93d4a2
commit
195c6d75b5
@ -0,0 +1 @@
|
|||||||
|
/Package-Variant-1.001002.tar.gz
|
@ -0,0 +1,58 @@
|
|||||||
|
Name: perl-Package-Variant
|
||||||
|
Version: 1.001002
|
||||||
|
Release: 2%{?dist}
|
||||||
|
Summary: Parameterizable packages
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
Group: Development/Libraries
|
||||||
|
URL: http://search.cpan.org/dist/Package-Variant/
|
||||||
|
Source0: http://www.cpan.org/authors/id/P/PH/PHAYLON/Package-Variant-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl(Carp)
|
||||||
|
BuildRequires: perl(Exporter)
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(Import::Into) >= 1
|
||||||
|
BuildRequires: perl(Module::Runtime) >= 0.013
|
||||||
|
BuildRequires: perl(Moo)
|
||||||
|
BuildRequires: perl(Moo::Role)
|
||||||
|
BuildRequires: perl(strictures) >= 1
|
||||||
|
BuildRequires: perl(Sub::Name)
|
||||||
|
BuildRequires: perl(Test::Fatal)
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
# not automatically detected
|
||||||
|
Requires: perl(Sub::Name)
|
||||||
|
|
||||||
|
%{?perl_default_filter}
|
||||||
|
|
||||||
|
%description
|
||||||
|
This module allows you to build packages that return different variations
|
||||||
|
depending on what parameters are given.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n Package-Variant-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
make pure_install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
||||||
|
|
||||||
|
%{_fixperms} %{buildroot}/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc Changes README
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Feb 20 2013 Iain Arnell <iarnell@gmail.com> 1.001002-2
|
||||||
|
- R/BR perl(Sub::Name)
|
||||||
|
|
||||||
|
* Sun Feb 17 2013 Iain Arnell <iarnell@gmail.com> 1.001002-1
|
||||||
|
- Specfile autogenerated by cpanspec 1.79.
|
Loading…
Reference in new issue