Name: perl-MooX-HasEnv Version: 0.004 Release: 1%{?dist} Summary: Making attributes based on ENV variables License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/MooX-HasEnv/ Source0: http://www.cpan.org/modules/by-module/MooX/MooX-HasEnv-%{version}.tar.gz BuildArch: noarch BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 BuildRequires: perl(FindBin) BuildRequires: perl(lib) BuildRequires: perl(Moo) >= 0.009014 BuildRequires: perl(Package::Stash) >= 0.33 BuildRequires: perl(strict) BuildRequires: perl(Test::LoadAllModules) >= 0.021 BuildRequires: perl(Test::More) >= 0.98 BuildRequires: perl(Test::Pod) BuildRequires: perl(warnings) Requires: perl(Moo) >= 0.009014 Requires: perl(Package::Stash) >= 0.33 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Moo\\)$ %global __requires_exclude %__requires_exclude|^perl\\(Package::Stash\\)$ %description This package allows the making of attributes based on ENV variables. %prep %setup -q -n MooX-HasEnv-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; %{_fixperms} $RPM_BUILD_ROOT/* %check RELEASE_TESTING=1 make test %files %doc Changes LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Aug 08 2014 David Dick - 0.004-1 - Initial release