From b5648aa101810dc13ddd6aed7181fef46cf2507c Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova <jples...@redhat.com> Date: Wed, 3 Feb 2016 15:56:57 +0100 Subject: Package cleanup
--- perl-CPANPLUS-Shell-Default-Plugins-Diff.spec | 36 ++++++++++++++------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/perl-CPANPLUS-Shell-Default-Plugins-Diff.spec b/perl-CPANPLUS-Shell-Default-Plugins-Diff.spec index f3c844a..4502566 100644 --- a/perl-CPANPLUS-Shell-Default-Plugins-Diff.spec +++ b/perl-CPANPLUS-Shell-Default-Plugins-Diff.spec @@ -3,20 +3,29 @@ Version: 0.01 Release: 20%{?dist} Summary: Diff module versions from the CPANPLUS shell License: GPL+ or Artistic -Group: Development/Libraries URL: http://search.cpan.org/dist/CPANPLUS-Shell-Default-Plugins-Diff/ Source0: http://www.cpan.org/authors/id/K/KA/KANE/CPANPLUS-Shell-Default-Plugins-Diff-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +BuildRequires: make +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +# Run-time BuildRequires: perl(CPANPLUS) >= 0.059 -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(CPANPLUS::Error) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(File::Basename) BuildRequires: perl(Locale::Maketext::Simple) BuildRequires: perl(Params::Check) >= 0.23 -BuildRequires: perl(Test::More) BuildRequires: perl(Text::Diff) +BuildRequires: perl(vars) +# Tests +BuildRequires: perl(lib) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) # not automagically picked up, but useless w/o it Requires: perl(CPANPLUS::Shell::Default) @@ -28,32 +37,25 @@ shell and see what code changes have taken place. %setup -q -n CPANPLUS-Shell-Default-Plugins-Diff-%{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 README t/ %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Wed Feb 03 2016 Jitka Plesnikova <jples...@redhat.com> - 0.01-21 +- Package cleanup + * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> - 0.01-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild -- cgit v0.11.2 http://pkgs.fedoraproject.org/cgit/perl-CPANPLUS-Shell-Default-Plugins-Diff.git/commit/?h=master&id=b5648aa101810dc13ddd6aed7181fef46cf2507c -- 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