f38
Jitka Plesnikova 9 years ago
parent 8683dc9c6c
commit ddd6aad6b6

1
.gitignore vendored

@ -15,3 +15,4 @@ Net-SSH2-0.28.tar.gz
/Net-SSH2-0.55.tar.gz /Net-SSH2-0.55.tar.gz
/Net-SSH2-0.56.tar.gz /Net-SSH2-0.56.tar.gz
/Net-SSH2-0.58.tar.gz /Net-SSH2-0.58.tar.gz
/Net-SSH2-0.60.tar.gz

@ -1,6 +1,6 @@
Name: perl-Net-SSH2 Name: perl-Net-SSH2
Version: 0.58 Version: 0.60
Release: 3%{?dist} Release: 1%{?dist}
Summary: Support for the SSH 2 protocol via libSSH2 Summary: Support for the SSH 2 protocol via libSSH2
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
@ -13,39 +13,38 @@ BuildRequires: libssh2-devel >= 0.18
BuildRequires: make BuildRequires: make
BuildRequires: openssl-devel BuildRequires: openssl-devel
BuildRequires: perl BuildRequires: perl
BuildRequires: perl(base) BuildRequires: perl-devel
BuildRequires: perl(Config) BuildRequires: perl(Config)
BuildRequires: perl(Cwd) BuildRequires: perl(Cwd)
BuildRequires: perl(ExtUtils::Constant) BuildRequires: perl(File::Glob)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(inc::Module::Install) >= 0.91
BuildRequires: perl(ExtUtils::MM_Unix) BuildRequires: perl(Module::Install::CheckLib)
BuildRequires: perl(Fcntl) BuildRequires: perl(Module::Install::Makefile)
BuildRequires: perl(File::Copy) BuildRequires: perl(Module::Install::Metadata)
BuildRequires: perl(File::Find) BuildRequires: perl(Module::Install::WriteAll)
BuildRequires: perl(File::Path)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Temp)
BuildRequires: perl(strict) BuildRequires: perl(strict)
BuildRequires: perl(Text::ParseWords)
BuildRequires: perl(vars)
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
BuildRequires: zlib-devel BuildRequires: zlib-devel
# Runtime # Runtime
BuildRequires: perl(AutoLoader) BuildRequires: perl(base)
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
BuildRequires: perl(Errno) BuildRequires: perl(Errno)
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Basename) BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Spec)
BuildRequires: perl(IO::File) BuildRequires: perl(IO::File)
# IO::Socket::IP is preferred # IO::Socket::IP is preferred
# XXX: BuildRequires: perl(IO::Socket::INET) # XXX: BuildRequires: perl(IO::Socket::INET)
BuildRequires: perl(IO::Socket::IP) BuildRequires: perl(IO::Socket::IP)
BuildRequires: perl(Socket) BuildRequires: perl(Socket)
BuildRequires: perl(Term::ReadKey) BuildRequires: perl(Term::ReadKey)
BuildRequires: perl(warnings::register)
BuildRequires: perl(XSLoader) BuildRequires: perl(XSLoader)
# Tests only # Tests only
BuildRequires: perl(Fcntl)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
# Optional tests only # Optional tests only
BuildRequires: perl(File::Slurp)
BuildRequires: perl(IO::Scalar) BuildRequires: perl(IO::Scalar)
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Requires: perl(IO::Socket::IP) Requires: perl(IO::Socket::IP)
@ -61,12 +60,17 @@ all of the key exchanges, ciphers, and compression of libssh2.
%prep %prep
%setup -q -n Net-SSH2-%{version} %setup -q -n Net-SSH2-%{version}
# Remove bundled libraries
rm -r inc
sed -i -e '/^inc\// d' MANIFEST
%build %build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make pure_install DESTDIR=%{buildroot} make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
find %{buildroot} -type f -name '*.bs' -size 0 -delete find %{buildroot} -type f -name '*.bs' -size 0 -delete
%{_fixperms} %{buildroot}/* %{_fixperms} %{buildroot}/*
@ -76,12 +80,15 @@ find %{buildroot} -type f -name '*.bs' -size 0 -delete
make test make test
%files %files
%doc Changes README TODO example %doc Changes README example
%{perl_vendorarch}/auto/* %{perl_vendorarch}/auto/*
%{perl_vendorarch}/Net* %{perl_vendorarch}/Net*
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Mon May 23 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.60-1
- 0.60 bump
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.58-3 * Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.58-3
- Perl 5.24 rebuild - Perl 5.24 rebuild

@ -1 +1 @@
f16173b65f682819256e63f406a73c64 Net-SSH2-0.58.tar.gz f58e6ce0291771ac58b2bae0ab31f989 Net-SSH2-0.60.tar.gz

Loading…
Cancel
Save