[perl-Module-CPANTS-Analyse] Update to 0.95
Paul Howarth
pghmcfc at fedoraproject.org
Mon Sep 29 15:50:35 UTC 2014
commit c93d42cbc5d8f7f2199d6edaab2117b734edb538
Author: Paul Howarth <paul at city-fan.org>
Date: Mon Sep 29 16:48:38 2014 +0100
Update to 0.95
- New upstream release 0.95
- Added the following metrics:
- has_abstract_in_pod
- has_known_license_in_source_file
- meta_json_conforms_to_known_spec
- meta_json_is_parsable
- meta_yml_has_repository_resource
- no_abstract_stub_in_pod
- Removed metayml_conforms_spec_current metric
- Renamed metayml_ metrics to meta_yml_
- Removed cpants_lint.pl in favor of App::CPANTS::Lint
- Supported x_cpants custom META field to tell analyzer to ignore some of
the metrics (only) when calculating a kwalitee score
- Refactored several Kwalitee files, and internal stash layout has changed
rather significantly; you might need to modify your tools if they happen
to depend on the stash directly
- Refactored tests
- Fixed CPAN RT#94468 - use_strict metric doesn't like .pod files that
contain no perl
- Fixed CPAN RT#99141 - use_strict metric does not recognize "use v5.14"
syntax
- Fixed abstract encoding issues
- Fixed not to ignore directory symlinks
- Fixed CPAN RT#97858 - wrong no_symlinks test in files not in MANIFEST (for
a local distribution; CPANTS site doesn't ignore symlinks not listed in
MANIFEST)
- Fixed CPAN RT#97601 - Test::Kwalitee incorrectly reports non-use of strict
in Inline::CPP
- Accept COPYING as a license file
- Take included module (under inc/) into consideration while analyzing
prereq_matches_use
- Changed most of the META.yml metrics to pass if META.yml doesn't exist
- Switched to Test::FailWarnings to make CPAN testers happier
- Classify buildreqs by usage
- Modernize spec
perl-Module-CPANTS-Analyse.spec | 125 +++++++++++++++++++++++++++++---------
sources | 2 +-
2 files changed, 96 insertions(+), 31 deletions(-)
---
diff --git a/perl-Module-CPANTS-Analyse.spec b/perl-Module-CPANTS-Analyse.spec
index 35f5a74..716550e 100644
--- a/perl-Module-CPANTS-Analyse.spec
+++ b/perl-Module-CPANTS-Analyse.spec
@@ -1,54 +1,88 @@
+#TODO: BR:/R: perl(Software::License::CC_BY_SA_3_0) when available
+#TODO: BR:/R: perl(WorePAN) ≥ 0.09 when available
+
Name: perl-Module-CPANTS-Analyse
-Version: 0.92
-Release: 3%{?dist}
+Version: 0.95
+Release: 1%{?dist}
Summary: Generate Kwalitee ratings for a distribution
License: GPL+ or Artistic
-Group: Development/Libraries
URL: http://search.cpan.org/dist/Module-CPANTS-Analyse/
Source0: http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/Module-CPANTS-Analyse-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
+# Module Build
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.58
+BuildRequires: perl(ExtUtils::MakeMaker::CPANfile) >= 0.06
+# Module Runtime
BuildRequires: perl(Archive::Any::Lite) >= 0.06
-BuildRequires: perl(Archive::Tar) >= 1.48
BuildRequires: perl(Array::Diff) >= 0.04
+BuildRequires: perl(base)
+BuildRequires: perl(Carp)
BuildRequires: perl(Class::Accessor) >= 0.19
BuildRequires: perl(CPAN::DistnameInfo) >= 0.06
-BuildRequires: perl(CPAN::Meta::Validator) >= 2.131490
+BuildRequires: perl(CPAN::Meta::Converter)
+BuildRequires: perl(CPAN::Meta::Validator) >= 2.133380
BuildRequires: perl(CPAN::Meta::YAML) >= 0.008
-BuildRequires: perl(Cwd)
-BuildRequires: perl(Data::Dumper)
-BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Encode)
+BuildRequires: perl(Exporter)
BuildRequires: perl(File::Basename)
-BuildRequires: perl(File::Find::Rule::VCS)
+BuildRequires: perl(File::Copy)
+BuildRequires: perl(File::Find)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(File::stat)
+BuildRequires: perl(File::Temp)
BuildRequires: perl(IO::Capture) >= 0.05
+BuildRequires: perl(IO::Capture::Stderr)
+BuildRequires: perl(IO::Capture::Stdout)
+BuildRequires: perl(JSON::MaybeXS)
BuildRequires: perl(List::Util)
-BuildRequires: perl(Module::ExtractUse) >= 0.30
+BuildRequires: perl(Module::CPANfile)
+BuildRequires: perl(Module::ExtractUse) >= 0.33
BuildRequires: perl(Module::Pluggable) >= 2.96
BuildRequires: perl(Set::Scalar)
-BuildRequires: perl(Software::License) >= 0.003
+BuildRequires: perl(Software::License) >= 0.103008
BuildRequires: perl(Software::LicenseUtils)
-BuildRequires: perl(Test::Deep)
-BuildRequires: perl(Test::More)
-BuildRequires: perl(Test::NoWarnings)
-BuildRequires: perl(Test::Pod)
-BuildRequires: perl(Test::Pod::Coverage)
-BuildRequires: perl(Test::Warn) >= 0.11
+BuildRequires: perl(strict)
BuildRequires: perl(Text::Balanced)
BuildRequires: perl(version) >= 0.73
-BuildRequires: perl(YAML::Any)
+BuildRequires: perl(warnings)
+# Test Suite
+BuildRequires: perl(Archive::Tar) >= 1.48
+BuildRequires: perl(Cwd)
+BuildRequires: perl(File::Path)
+BuildRequires: perl(FindBin)
+BuildRequires: perl(lib)
+BuildRequires: perl(Test::FailWarnings)
+BuildRequires: perl(Test::More)
+# Release Tests (author tests not run as they are prone to failing)
+BuildRequires: perl(Test::Pod) >= 1.14
+BuildRequires: perl(Test::Pod::Coverage) >= 1.04
+# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Archive::Any::Lite) >= 0.06
Requires: perl(Archive::Tar) >= 1.48
Requires: perl(Array::Diff) >= 0.04
Requires: perl(Class::Accessor) >= 0.19
Requires: perl(CPAN::DistnameInfo) >= 0.06
+Requires: perl(CPAN::Meta::Validator) >= 2.133380
+Requires: perl(CPAN::Meta::YAML) >= 0.008
+Requires: perl(Exporter)
Requires: perl(IO::Capture) >= 0.05
-Requires: perl(Module::ExtractUse) >= 0.30
+Requires: perl(Module::CPANfile)
Requires: perl(Module::Pluggable) >= 2.96
+Requires: perl(Software::License) >= 0.103008
Requires: perl(version) >= 0.73
+# Filter underspecified dependencies
+%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Archive::Any::Lite\\)$
+%global __requires_exclude %__requires_exclude|^perl\\(Array::Diff\\)$
+%global __requires_exclude %__requires_exclude|^perl\\(CPAN::DistnameInfo\\)$
+%global __requires_exclude %__requires_exclude|^perl\\(CPAN::Meta::Validator\\)$
+%global __requires_exclude %__requires_exclude|^perl\\(CPAN::Meta::YAML\\)$
+%global __requires_exclude %__requires_exclude|^perl\\(Class::Accessor\\)$
+%global __requires_exclude %__requires_exclude|^perl\\(Module::Pluggable\\)$
+%global __requires_exclude %__requires_exclude|^perl\\(version\\)$
+
%description
CPANTS is an acronym for CPAN Testing Service. The goals of the CPANTS project
are to provide some sort of quality measure (called "Kwalitee") and lots of
@@ -62,28 +96,22 @@ perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-%{_fixperms} $RPM_BUILD_ROOT
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+%{_fixperms} %{buildroot}
%check
make test
make test TEST_FILES="xt/*.t"
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%doc Changes README TODO
-%{_bindir}/cpants_lint.pl
+%doc AUTHORS Changes README TODO
%dir %{perl_vendorlib}/Module/
%dir %{perl_vendorlib}/Module/CPANTS/
%{perl_vendorlib}/Module/CPANTS/Analyse.pm
%{perl_vendorlib}/Module/CPANTS/Kwalitee.pm
%dir %{perl_vendorlib}/Module/CPANTS/Kwalitee/
%{perl_vendorlib}/Module/CPANTS/Kwalitee/*.pm
-%{_mandir}/man1/cpants_lint.pl.1*
%{_mandir}/man3/Module::CPANTS::Analyse.3pm*
%{_mandir}/man3/Module::CPANTS::Kwalitee.3pm*
%{_mandir}/man3/Module::CPANTS::Kwalitee::BrokenInstaller.3pm*
@@ -104,6 +132,43 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/Module::CPANTS::Kwalitee::Version.3pm*
%changelog
+* Mon Sep 29 2014 Paul Howarth <paul at city-fan.org> - 0.95-1
+- Update to 0.95
+ - Added the following metrics:
+ - has_abstract_in_pod
+ - has_known_license_in_source_file
+ - meta_json_conforms_to_known_spec
+ - meta_json_is_parsable
+ - meta_yml_has_repository_resource
+ - no_abstract_stub_in_pod
+ - Removed metayml_conforms_spec_current metric
+ - Renamed metayml_ metrics to meta_yml_
+ - Removed cpants_lint.pl in favor of App::CPANTS::Lint
+ - Supported x_cpants custom META field to tell analyzer to ignore some of
+ the metrics (only) when calculating a kwalitee score
+ - Refactored several Kwalitee files, and internal stash layout has changed
+ rather significantly; you might need to modify your tools if they happen
+ to depend on the stash directly
+ - Refactored tests
+ - Fixed CPAN RT#94468 - use_strict metric doesn't like .pod files that
+ contain no perl
+ - Fixed CPAN RT#99141 - use_strict metric does not recognize "use v5.14"
+ syntax
+ - Fixed abstract encoding issues
+ - Fixed not to ignore directory symlinks
+ - Fixed CPAN RT#97858 - wrong no_symlinks test in files not in MANIFEST (for
+ a local distribution; CPANTS site doesn't ignore symlinks not listed in
+ MANIFEST)
+ - Fixed CPAN RT#97601 - Test::Kwalitee incorrectly reports non-use of strict
+ in Inline::CPP
+ - Accept COPYING as a license file
+ - Take included module (under inc/) into consideration while analyzing
+ prereq_matches_use
+ - Changed most of the META.yml metrics to pass if META.yml doesn't exist
+ - Switched to Test::FailWarnings to make CPAN testers happier
+- Classify buildreqs by usage
+- Modernize spec
+
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.92-3
- Perl 5.20 rebuild
diff --git a/sources b/sources
index a90b336..fcdcc17 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-449a37fb8491af507afac51a317f59ec Module-CPANTS-Analyse-0.92.tar.gz
+8c245bfcb33d6d53e982a60c22c10605 Module-CPANTS-Analyse-0.95.tar.gz
More information about the scm-commits
mailing list