ppisar pushed to perl-Log-Dispatch-Config (f21). "Specify all dependencies"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Sep 2 12:17:40 UTC 2015


From 437f53621db65e558c7e875503cf47c409581773 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Wed, 2 Sep 2015 14:08:17 +0200
Subject: Specify all dependencies


diff --git a/perl-Log-Dispatch-Config.spec b/perl-Log-Dispatch-Config.spec
index 7deec87..54eeb38 100644
--- a/perl-Log-Dispatch-Config.spec
+++ b/perl-Log-Dispatch-Config.spec
@@ -9,22 +9,30 @@ Source0:        http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Log-Dispatc
 # Adjust tests to changes in Log-Dispatch-2.47, bug #1258920, CPAN RT#106746
 Patch0:         Log-Dispatch-Config-1.04-Adjust-tests-to-Log-Dispatch-2.47.patch
 BuildArch:      noarch
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
-# Run-time
+# Run-time:
 BuildRequires:  perl(AppConfig) >= 1.52
 BuildRequires:  perl(base)
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Log::Dispatch) >= 2
 # Time::Piece is optional. POSIX is fall-back
 BuildRequires:  perl(POSIX)
-# Tests
-BuildRequires:  perl(FileHandle)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+# Tests:
 BuildRequires:  perl(File::Copy)
+BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(File::Temp) >= 0.12
+BuildRequires:  perl(FileHandle)
 BuildRequires:  perl(IPC::Run3)
 BuildRequires:  perl(Test::More) >= 0.32
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(AppConfig) >= 1.52
+Requires:       perl(Carp)
 Requires:       perl(POSIX)
 
 # Remove under-specified dependencies
@@ -40,14 +48,13 @@ format).
 %patch0 -p1
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
-find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
 %{_fixperms} %{buildroot}/*
 
 %check
@@ -62,6 +69,7 @@ make test
 %changelog
 * Wed Sep 02 2015 Petr Pisar <ppisar at redhat.com> - 1.04-8
 - Adjust tests to changes in Log-Dispatch-2.47 (bug #1258920)
+- Specify all dependencies
 
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.04-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Log-Dispatch-Config.git/commit/?h=f21&id=437f53621db65e558c7e875503cf47c409581773


More information about the perl-devel mailing list