commit bd0264da220fd374ad8fa65d5e4142a0b3e84650 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Mon Jan 5 16:57:38 2015 +0100 0.18 bump .gitignore | 1 + perl-Perl-Metrics-Simple.spec | 46 +++++++++++++++++++++++++++------------- sources | 2 +- 3 files changed, 33 insertions(+), 16 deletions(-) --- diff --git a/.gitignore b/.gitignore index 56cb59b..bf025b5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /Perl-Metrics-Simple-0.15.tar.gz /Perl-Metrics-Simple-0.16.tar.gz /Perl-Metrics-Simple-0.17.tar.gz +/Perl-Metrics-Simple-0.18.tar.gz diff --git a/perl-Perl-Metrics-Simple.spec b/perl-Perl-Metrics-Simple.spec index ff6b757..45d238f 100644 --- a/perl-Perl-Metrics-Simple.spec +++ b/perl-Perl-Metrics-Simple.spec @@ -1,38 +1,50 @@ Name: perl-Perl-Metrics-Simple -Version: 0.17 -Release: 6%{?dist} +Version: 0.18 +Release: 1%{?dist} Summary: Count packages, subs, lines, etc. of many files License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Perl-Metrics-Simple/ Source0: http://www.cpan.org/authors/id/M/MA/MATISSE/Perl-Metrics-Simple-%{version}.tar.gz BuildArch: noarch -BuildRequires: perl(Module::Build) +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) # Run-time: BuildRequires: perl(Carp) BuildRequires: perl(Data::Dumper) +BuildRequires: perl(English) BuildRequires: perl(File::Basename) BuildRequires: perl(File::Find) >= 1.01 BuildRequires: perl(IO::File) >= 1.14 +# Pod::Usage not used at tests BuildRequires: perl(PPI) >= 1.113 BuildRequires: perl(PPI::Document) BuildRequires: perl(Readonly) >= 1.03 -BuildRequires: perl(Readonly::XS) >= 1.02 BuildRequires: perl(Statistics::Basic::Mean) BuildRequires: perl(Statistics::Basic::Median) BuildRequires: perl(Statistics::Basic::StdDev) +# Recommended: +BuildRequires: perl(Readonly::XS) >= 1.02 # Tests: BuildRequires: perl(File::Spec) +BuildRequires: perl(FindBin) +BuildRequires: perl(lib) +# Moose not used, t/test_files/Perl/Code/Analyze/Test/Moose.pm is not compiled +BuildRequires: perl(Test::More) # Optional tests: -BuildRequires: perl(Test::Pod) >= 1 +# Test::Perl::Critic not used BuildRequires: perl(Test::Pod::Coverage) >= 1.04 -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -Requires: perl(File::Find) >= 1.01 -Requires: perl(IO::File) >= 1.14 -Requires: perl(PPI) >= 1.113 -Requires: perl(Readonly) >= 1.03 -Requires: perl(Readonly::XS) >= 1.02 - +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(File::Find) >= 1.01 +Requires: perl(IO::File) >= 1.14 +Requires: perl(PPI) >= 1.113 +Requires: perl(Readonly) >= 1.03 +# Recommended: +Requires: perl(Readonly::XS) >= 1.02 + +# Remove under-specified dependencies %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(File::Find\\)$ %global __requires_exclude %__requires_exclude|perl\\(IO::File\\)$ %global __requires_exclude %__requires_exclude|perl\\(PPI\\)$ @@ -49,15 +61,16 @@ the subroutines and the "main" portion of the code. sed -i '1 s|^#!.*|#!%{__perl}|' bin/countperl %build -%{__perl} Build.PL installdirs=vendor -./Build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %install -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; %{_fixperms} $RPM_BUILD_ROOT/* %check -./Build test +make test %files %doc Changes EXAMPLES LICENSE README Todo @@ -67,6 +80,9 @@ sed -i '1 s|^#!.*|#!%{__perl}|' bin/countperl %{_mandir}/man1/* %changelog +* Mon Jan 05 2015 Petr Pisar <ppisar@xxxxxxxxxx> - 0.18-1 +- 0.18 bump + * Fri Aug 29 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.17-6 - Perl 5.20 rebuild diff --git a/sources b/sources index 6211ef5..3b68188 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -57cea9eb040bd5b05a528723b57ac423 Perl-Metrics-Simple-0.17.tar.gz +f1590164fed9d70635a6658c38b3d40d Perl-Metrics-Simple-0.18.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel