[perl-Net-FTPServer] Specify all dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 51dc3bcf4088fba958568afe6b368aaa9615e737
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Wed Jul 24 13:04:05 2013 +0200

    Specify all dependencies

 perl-Net-FTPServer.spec |   55 ++++++++++++++++++++++++++++++++++++++--------
 1 files changed, 45 insertions(+), 10 deletions(-)
---
diff --git a/perl-Net-FTPServer.spec b/perl-Net-FTPServer.spec
index 3dd0a0d..b4c1af2 100644
--- a/perl-Net-FTPServer.spec
+++ b/perl-Net-FTPServer.spec
@@ -11,24 +11,58 @@ Source0:        http://www.cpan.org/authors/id/R/RW/RWMJ/Net-FTPServer-%{version
 Patch0:         Net-FTPServer.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
-BuildRequires:  perl(Archive::Zip)
-BuildRequires:  perl(Authen::PAM)
-BuildRequires:  perl(BSD::Resource)
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  %{_bindir}/iconv
+# Run-time:
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Carp::Heavy)
-BuildRequires:  perl(Compress::Zlib)
+BuildRequires:  perl(Config)
 BuildRequires:  perl(DBI)
-BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(File::Sync)
+BuildRequires:  perl(Errno)
+BuildRequires:  perl(Fcntl)
+BuildRequires:  perl(FileHandle)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(Getopt::Long)
+BuildRequires:  perl(IO::Dir)
+BuildRequires:  perl(IO::File)
 BuildRequires:  perl(IO::Scalar) >= 1.126
-BuildRequires:  /usr/bin/uudecode
-BuildRequires:  /usr/bin/compress
-BuildRequires:  /usr/bin/iconv
+BuildRequires:  perl(IO::Seekable)
+BuildRequires:  perl(IO::Select)
+BuildRequires:  perl(IO::Socket)
+BuildRequires:  perl(IPC::Open2)
+BuildRequires:  perl(Net::FTP)
+BuildRequires:  perl(POSIX)
+BuildRequires:  perl(Socket)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Sys::Hostname)
+BuildRequires:  perl(Sys::Syslog)
+BuildRequires:  perl(vars)
+# Optional run-time:
+BuildRequires:  perl(Archive::Zip)
+BuildRequires:  perl(Authen::PAM)
+BuildRequires:  perl(BSD::Resource)
+BuildRequires:  perl(Digest::MD5)
+BuildRequires:  perl(File::Sync)
+# Tests:
+BuildRequires:  perl(IO::Handle)
+BuildRequires:  perl(IO::Socket::INET)
+BuildRequires:  perl(Test)
+# Optional tests:
+BuildRequires:  perl(Compress::Zlib)
+BuildRequires:  %{_bindir}/uudecode
+BuildRequires:  %{_bindir}/compress
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# Optional run-time:
+Requires:       perl(Archive::Zip)
 Requires:       perl(Authen::PAM)
 Requires:       perl(BSD::Resource)
+Requires:       perl(Digest::MD5)
 Requires:       perl(File::Sync)
 Requires:       perl(IO::Scalar) >= 1.126
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+# Filter under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(IO::Scalar\\)$
 
 %description
 Net::FTPServer is a secure, extensible and configurable FTP server
@@ -99,6 +133,7 @@ rm -rf $RPM_BUILD_ROOT
 %changelog
 * Wed Jul 24 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 1.122-20
 - Perl 5.18 rebuild
+- Specify all dependencies
 
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.122-19
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
--
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





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux