From ddd6aad6b64cfaf2e7ef1f5475cb9ccec561991a Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Tue, 24 May 2016 09:17:32 +0200 Subject: [PATCH] 0.60 bump --- .gitignore | 1 + perl-Net-SSH2.spec | 43 +++++++++++++++++++++++++------------------ sources | 2 +- 3 files changed, 27 insertions(+), 19 deletions(-) diff --git a/.gitignore b/.gitignore index d43a3cd..4d4a353 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ Net-SSH2-0.28.tar.gz /Net-SSH2-0.55.tar.gz /Net-SSH2-0.56.tar.gz /Net-SSH2-0.58.tar.gz +/Net-SSH2-0.60.tar.gz diff --git a/perl-Net-SSH2.spec b/perl-Net-SSH2.spec index c544737..50e5be0 100644 --- a/perl-Net-SSH2.spec +++ b/perl-Net-SSH2.spec @@ -1,6 +1,6 @@ Name: perl-Net-SSH2 -Version: 0.58 -Release: 3%{?dist} +Version: 0.60 +Release: 1%{?dist} Summary: Support for the SSH 2 protocol via libSSH2 License: GPL+ or Artistic Group: Development/Libraries @@ -13,39 +13,38 @@ BuildRequires: libssh2-devel >= 0.18 BuildRequires: make BuildRequires: openssl-devel BuildRequires: perl -BuildRequires: perl(base) +BuildRequires: perl-devel BuildRequires: perl(Config) BuildRequires: perl(Cwd) -BuildRequires: perl(ExtUtils::Constant) -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 -BuildRequires: perl(ExtUtils::MM_Unix) -BuildRequires: perl(Fcntl) -BuildRequires: perl(File::Copy) -BuildRequires: perl(File::Find) -BuildRequires: perl(File::Path) -BuildRequires: perl(File::Spec) -BuildRequires: perl(File::Temp) +BuildRequires: perl(File::Glob) +BuildRequires: perl(inc::Module::Install) >= 0.91 +BuildRequires: perl(Module::Install::CheckLib) +BuildRequires: perl(Module::Install::Makefile) +BuildRequires: perl(Module::Install::Metadata) +BuildRequires: perl(Module::Install::WriteAll) BuildRequires: perl(strict) -BuildRequires: perl(Text::ParseWords) -BuildRequires: perl(vars) BuildRequires: perl(warnings) BuildRequires: zlib-devel # Runtime -BuildRequires: perl(AutoLoader) +BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(Errno) +BuildRequires: perl(Exporter) BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Spec) BuildRequires: perl(IO::File) # IO::Socket::IP is preferred # XXX: BuildRequires: perl(IO::Socket::INET) BuildRequires: perl(IO::Socket::IP) BuildRequires: perl(Socket) BuildRequires: perl(Term::ReadKey) +BuildRequires: perl(warnings::register) BuildRequires: perl(XSLoader) # Tests only +BuildRequires: perl(Fcntl) +BuildRequires: perl(Getopt::Long) BuildRequires: perl(Test::More) # Optional tests only -BuildRequires: perl(File::Slurp) BuildRequires: perl(IO::Scalar) Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) Requires: perl(IO::Socket::IP) @@ -61,12 +60,17 @@ all of the key exchanges, ciphers, and compression of libssh2. %prep %setup -q -n Net-SSH2-%{version} +# Remove bundled libraries +rm -r inc +sed -i -e '/^inc\// d' MANIFEST + %build -perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -delete find %{buildroot} -type f -name '*.bs' -size 0 -delete %{_fixperms} %{buildroot}/* @@ -76,12 +80,15 @@ find %{buildroot} -type f -name '*.bs' -size 0 -delete make test %files -%doc Changes README TODO example +%doc Changes README example %{perl_vendorarch}/auto/* %{perl_vendorarch}/Net* %{_mandir}/man3/* %changelog +* Mon May 23 2016 Jitka Plesnikova - 0.60-1 +- 0.60 bump + * Sun May 15 2016 Jitka Plesnikova - 0.58-3 - Perl 5.24 rebuild diff --git a/sources b/sources index 012cbc9..17bc85a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f16173b65f682819256e63f406a73c64 Net-SSH2-0.58.tar.gz +f58e6ce0291771ac58b2bae0ab31f989 Net-SSH2-0.60.tar.gz