commit 012e7763adfcb5ea4c859edace188af5370d8d48 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Wed Feb 18 14:54:57 2015 +0100 1.01 bump .gitignore | 1 + perl-Perl-Critic-Moose.spec | 68 +++++++++++++++++++++--------------------- sources | 2 +- 3 files changed, 36 insertions(+), 35 deletions(-) --- diff --git a/.gitignore b/.gitignore index 2248aca..bbe345a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /Perl-Critic-Moose-0.999_002.tar.gz +/Perl-Critic-Moose-1.01.tar.gz diff --git a/perl-Perl-Critic-Moose.spec b/perl-Perl-Critic-Moose.spec index 3452142..b72bc36 100644 --- a/perl-Perl-Critic-Moose.spec +++ b/perl-Perl-Critic-Moose.spec @@ -1,66 +1,66 @@ -%global cpan_version 0.999_002 Name: perl-Perl-Critic-Moose -Version: %(echo %{cpan_version} | tr '_' '.') -Release: 6%{?dist} +Version: 1.01 +Release: 1%{?dist} Summary: Policies for Perl::Critic concerned with using Moose License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Perl-Critic-Moose/ -Source0: http://search.cpan.org/CPAN/authors/id/E/EL/ELLIOTJS/Perl-Critic-Moose-%{cpan_version}.tar.gz +Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Perl-Critic-Moose-%{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(base) -BuildRequires: perl(Perl::Critic::Policy) >= 1.098 -BuildRequires: perl(Perl::Critic::Utils) >= 1.098 -BuildRequires: perl(Perl::Critic::Utils::PPI) >= 1.098 +BuildRequires: perl(Perl::Critic::Policy) +BuildRequires: perl(Perl::Critic::Utils) +BuildRequires: perl(Perl::Critic::Utils::PPI) BuildRequires: perl(Readonly) # Tests only -BuildRequires: perl(Carp) -BuildRequires: perl(Perl::Critic::TestUtils) >= 1.098 -BuildRequires: perl(Perl::Critic::Violation) >= 1.098 -BuildRequires: perl(Test::More) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -Requires: perl(Perl::Critic::Policy) >= 1.098 -Requires: perl(Perl::Critic::Utils) >= 1.098 -Requires: perl(Perl::Critic::Utils::PPI) >= 1.098 - -# Remove underspecified dependencies -%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Perl::Critic::(Policy|Utils(|::PPI))\\)$ - -# Augment provide versions with development digits -%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Perl::Critic::(Policy::)?Moose(::.*)?\\)\\s*= -Provides: perl(Perl::Critic::Moose) = %{version} -Provides: perl(Perl::Critic::Policy::Moose::ProhibitMultipleWiths) = %{version} -Provides: perl(Perl::Critic::Policy::Moose::ProhibitNewMethod) = %{version} -Provides: perl(Perl::Critic::Policy::Moose::RequireCleanNamespace) = %{version} -Provides: perl(Perl::Critic::Policy::Moose::RequireMakeImmutable) = %{version} +BuildRequires: perl(File::Spec) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(IPC::Open3) +# Pod::Wordlist not used +# Test::CPAN::Changes not used +# Test::EOL not used +BuildRequires: perl(Test::More) >= 0.96 +# Test::NoTabs not used +BuildRequires: perl(Test::Perl::Critic::Policy) +# Test::Pod 1.41 not used +# Test::Spelling 0.12 not used +# Test::Synopsis not used +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description Some Perl::Critic policies that will help you keep your code in good shape with regards to Moose. %prep -%setup -q -n Perl-Critic-Moose-%{cpan_version} +%setup -q -n Perl-Critic-Moose-%{version} %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 -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; +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 README +%license LICENSE +%doc Changes README.md %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Wed Feb 18 2015 Petr Pisar <ppisar@xxxxxxxxxx> - 1.01-1 +- 1.01 bump + * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.999.002-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index d0f6ee5..343862d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0f97e0fd5977eb67389b17080b648de0 Perl-Critic-Moose-0.999_002.tar.gz +0985df757795944bcb737e6559118dc4 Perl-Critic-Moose-1.01.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