[perl-MooseX-SimpleConfig] 0.10 bump
Petr Pisar
ppisar at fedoraproject.org
Thu Apr 17 06:53:40 UTC 2014
commit ce28ae1a5787d2308b95ebb67eea385dafc4bf4d
Author: Petr Písař <ppisar at redhat.com>
Date: Thu Apr 17 08:52:22 2014 +0200
0.10 bump
.gitignore | 1 +
.rpmlint | 2 +
perl-MooseX-SimpleConfig.spec | 55 +++++++++++++++++++++++++---------------
sources | 2 +-
4 files changed, 38 insertions(+), 22 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 08b8d83..79898d4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
MooseX-SimpleConfig-0.03.tar.gz
/MooseX-SimpleConfig-0.09.tar.gz
+/MooseX-SimpleConfig-0.10.tar.gz
diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..8a3430b
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* (Config|configfile|ConfigFromFile)");
diff --git a/perl-MooseX-SimpleConfig.spec b/perl-MooseX-SimpleConfig.spec
index 6f8c130..6e6b401 100644
--- a/perl-MooseX-SimpleConfig.spec
+++ b/perl-MooseX-SimpleConfig.spec
@@ -1,22 +1,37 @@
Name: perl-MooseX-SimpleConfig
-Version: 0.09
-Release: 10%{?dist}
+Version: 0.10
+Release: 1%{?dist}
Summary: Moose role for setting attributes from a simple configfile
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/MooseX-SimpleConfig/
-Source0: http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/MooseX-SimpleConfig-%{version}.tar.gz
+Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/MooseX-SimpleConfig-%{version}.tar.gz
BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(Module::Build::Tiny) >= 0.030
+# Run-time:
BuildRequires: perl(Config::Any) >= 0.13
+BuildRequires: perl(Moose::Role)
+BuildRequires: perl(MooseX::ConfigFromFile)
+# Tests:
+BuildRequires: perl(Config::General)
BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(Moose) >= 0.35
-BuildRequires: perl(MooseX::ConfigFromFile) >= 0.02
-BuildRequires: perl(Test::More) >= 0.88
+BuildRequires: perl(File::Spec::Functions)
+BuildRequires: perl(File::Temp)
+BuildRequires: perl(lib)
+BuildRequires: perl(List::Util)
+BuildRequires: perl(Moose)
+BuildRequires: perl(strict)
+BuildRequires: perl(Test::Fatal)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::Requires)
+BuildRequires: perl(warnings)
+# Optional tests:
+BuildRequires: perl(CPAN::Meta)
+BuildRequires: perl(CPAN::Meta::Requirements)
BuildRequires: perl(YAML::Syck)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
-Requires: perl(Config::Any) >= 0.13
-Requires: perl(MooseX::ConfigFromFile) >= 0.02
+Requires: perl(MooseX::ConfigFromFile)
%{?perl_default_filter}
@@ -24,34 +39,32 @@ Requires: perl(MooseX::ConfigFromFile) >= 0.02
This role loads simple configfiles to set object attributes. It is based on
the abstract role MooseX::ConfigFromFile, and uses Config::Any to load your
configfile. Config::Any will in turn support any of a variety of different
-config formats, detected by the file extension. See Config::Any for more
-details about supported formats.
+configuration formats, detected by the file extension. See Config::Any for
+more details about supported formats.
%prep
%setup -q -n MooseX-SimpleConfig-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps
-make %{?_smp_mflags}
+perl Build.PL --installdirs=vendor
+./Build
%install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
+./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
%{_fixperms} $RPM_BUILD_ROOT/*
%check
-make test
+./Build test
%files
-%defattr(-,root,root,-)
-%doc ChangeLog README
+%doc Changes CONTRIBUTING LICENSE README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Thu Apr 17 2014 Petr Pisar <ppisar at redhat.com> - 0.10-1
+- 0.10 bump (bug #1088747)
+
* Sun Aug 04 2013 Petr Pisar <ppisar at redhat.com> - 0.09-10
- Perl 5.18 rebuild
diff --git a/sources b/sources
index f7cd9f1..4709c7a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-49c05fc0a8416c7def16f4b664a366e7 MooseX-SimpleConfig-0.09.tar.gz
+7940a6491c0c2280e85a0e1dd1149832 MooseX-SimpleConfig-0.10.tar.gz
More information about the perl-devel
mailing list