From 35fab82daf7adccf9fc004c39f6363caad8f6c69 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova <jples...@redhat.com> Date: Tue, 2 Feb 2016 13:44:13 +0100 Subject: Package cleanup
--- perl-Class-Can.spec | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/perl-Class-Can.spec b/perl-Class-Can.spec index 8a2589c..f808a52 100644 --- a/perl-Class-Can.spec +++ b/perl-Class-Can.spec @@ -1,20 +1,22 @@ Name: perl-Class-Can Version: 0.01 -Release: 18%{?dist} +Release: 19%{?dist} Summary: Inspect a class/method and say what it can do (and why) License: GPL+ or Artistic -Group: Development/Libraries URL: http://search.cpan.org/dist/Class-Can/ Source0: http://www.cpan.org/modules/by-module/Class/Class-Can-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: perl >= 0:5.006 +BuildRequires: perl +BuildRequires: perl(Module::Build) +BuildRequires: perl(strict) +# Run-time BuildRequires: perl(Class::ISA) BuildRequires: perl(Devel::Symdump) -BuildRequires: perl(Module::Build) +BuildRequires: perl(warnings) +# Tests +BuildRequires: perl(base) BuildRequires: perl(Test::More) -Requires: perl(Devel::Symdump) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description Class::Can interrogates the object heirarchy of a package to return a hash @@ -25,30 +27,24 @@ package it found it in (as the value). %setup -q -n Class-Can-%{version} %build -%{__perl} Build.PL installdirs=vendor +perl Build.PL installdirs=vendor ./Build %install -rm -rf $RPM_BUILD_ROOT - ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test -%clean -rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root,-) -%doc %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Tue Feb 02 2016 Jitka Plesnikova <jples...@redhat.com> - 0.01-19 +- Package cleanup + * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> - 0.01-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild @@ -85,7 +81,7 @@ rm -rf $RPM_BUILD_ROOT * Tue Feb 08 2011 Fedora Release Engineering <rel-...@lists.fedoraproject.org> - 0.01-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild -* Wed Dec 09 2010 Ralf Corsépius <corse...@fedoraproject.org> - 0.01-6 +* Wed Dec 08 2010 Ralf Corsépius <corse...@fedoraproject.org> - 0.01-6 - Add BR: perl(Class::ISA) (Fix FTBS: BZ 660810). * Fri Apr 30 2010 Marcela Maslanova <mmasl...@redhat.com> - 0.01-5 -- cgit v0.11.2 http://pkgs.fedoraproject.org/cgit/perl-Class-Can.git/commit/?h=master&id=35fab82daf7adccf9fc004c39f6363caad8f6c69 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org