Update to 0.007
This commit is contained in:
parent
ef0bd3bdc9
commit
8ee165461a
|
@ -2,3 +2,4 @@
|
|||
/MooX-ConfigFromFile-0.003.tar.gz
|
||||
/MooX-ConfigFromFile-0.004.tar.gz
|
||||
/MooX-ConfigFromFile-0.005.tar.gz
|
||||
/MooX-ConfigFromFile-0.007.tar.gz
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
from Config import *
|
||||
addFilter("spelling-error .* eXtension");
|
|
@ -1,37 +1,50 @@
|
|||
Name: perl-MooX-ConfigFromFile
|
||||
Version: 0.005
|
||||
Release: 3%{?dist}
|
||||
Summary: Moo eXtension for initializing objects from config file
|
||||
Version: 0.007
|
||||
Release: 1%{?dist}
|
||||
Summary: Moo eXtension for initializing objects from configuration file
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/MooX-ConfigFromFile/
|
||||
Source0: http://www.cpan.org/modules/by-module/MooX/MooX-ConfigFromFile-%{version}.tar.gz
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/MooX-ConfigFromFile-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: make
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Run-time:
|
||||
BuildRequires: perl(Config::Any)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(File::Find::Rule) >= 0.30
|
||||
BuildRequires: perl(FindBin)
|
||||
BuildRequires: perl(Moo) >= 1.003
|
||||
BuildRequires: perl(Moo::Role)
|
||||
BuildRequires: perl(Hash::Merge)
|
||||
# 1.003 from Moo in META.json which not used
|
||||
BuildRequires: perl(Moo::Role) >= 1.003
|
||||
BuildRequires: perl(MooX::File::ConfigDir) >= 0.002
|
||||
BuildRequires: perl(Moose)
|
||||
BuildRequires: perl(Moose::Role)
|
||||
BuildRequires: perl(strict)
|
||||
# Tests:
|
||||
BuildRequires: perl(Cwd)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(Moo) >= 1.003
|
||||
BuildRequires: perl(MooX::Cmd::Tester)
|
||||
BuildRequires: perl(Role::Tiny)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(warnings)
|
||||
# Optional tests:
|
||||
BuildRequires: perl(Moose)
|
||||
BuildRequires: perl(MooX::Cmd) >= 0.012
|
||||
BuildRequires: perl(MooX::Options) >= 4.001
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(File::Find::Rule) >= 0.30
|
||||
Requires: perl(Moo) >= 1.003
|
||||
Requires: perl(Moo::Role) >= 1.003
|
||||
Requires: perl(MooX::File::ConfigDir) >= 0.002
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%{?perl_default_filter}
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Find::Rule\\)$
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Moo\\)$
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Moo::Role\\)$
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(MooX::File::ConfigDir\\)$
|
||||
|
||||
%description
|
||||
This module is intended to easy load initialization values for attributes
|
||||
on object construction from an appropriate config file. The building is
|
||||
on object construction from an appropriate configuration file. The building is
|
||||
done in MooX::ConfigFromFile::Rule - using MooX::ConfigFromFile ensures the
|
||||
role is applied.
|
||||
|
||||
|
@ -39,14 +52,11 @@ role is applied.
|
|||
%setup -q -n MooX-ConfigFromFile-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
|
@ -58,6 +68,10 @@ make test
|
|||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Fri Jul 17 2015 Petr Pisar <ppisar@redhat.com> - 0.007-1
|
||||
- Update to 0.007 (thanks to Emmanuel Seyman)
|
||||
- Clean up spec file
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.005-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue