From bfa8d6f0ad614c24a323c058f36a9c5712eed67b Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova <jples...@redhat.com> Date: Tue, 2 Feb 2016 12:17:45 +0100 Subject: Package cleanup
--- perl-Check-ISA.spec | 44 ++++++++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 20 deletions(-) diff --git a/perl-Check-ISA.spec b/perl-Check-ISA.spec index 2b9ba00..eab89d6 100644 --- a/perl-Check-ISA.spec +++ b/perl-Check-ISA.spec @@ -1,24 +1,34 @@ - Name: perl-Check-ISA Version: 0.04 -Release: 20%{?dist} +Release: 21%{?dist} # see lib/Check/ISA.pm License: GPL+ or Artistic -Group: Development/Libraries Summary: DWIM, correct checking of an object's class Source: http://search.cpan.org/CPAN/authors/id/N/NU/NUFFIN/Check-ISA-%{version}.tar.gz Url: http://search.cpan.org/dist/Check-ISA -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: make +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +# Run-time +BuildRequires: perl(constant) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(Scalar::Util) BuildRequires: perl(Sub::Exporter) +BuildRequires: perl(warnings) +BuildRequires: perl(warnings::register) +# Tests +BuildRequires: perl(base) BuildRequires: perl(Test::More) BuildRequires: perl(Test::use::ok) -# optional tests -BuildRequires: perl(Moose), perl(Moose::Role) -BuildRequireS: perl(asa) +# Optional tests +BuildRequires: perl(asa) +BuildRequires: perl(Moose) +BuildRequires: perl(Moose::Role) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(IO::Handle) %description This module provides several functions to assist in testing whether a value @@ -29,31 +39,25 @@ is an object, and if so, ask about its class. %setup -q -n Check-ISA-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install -rm -rf %{buildroot} - -make pure_install PERL_INSTALL_ROOT=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' - +make pure_install DESTDIR=%{buildroot} %{_fixperms} %{buildroot}/* %check make test -%clean -rm -rf %{buildroot} - %files -%defattr(-,root,root,-) %doc Changes %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog +* Tue Feb 02 2016 Jitka Plesnikova <jples...@redhat.com> - 0.04-21 +- Package cleanup + * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> - 0.04-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild -- cgit v0.11.2 http://pkgs.fedoraproject.org/cgit/perl-Check-ISA.git/commit/?h=master&id=bfa8d6f0ad614c24a323c058f36a9c5712eed67b -- 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