[packages/perl-Net-OpenSSH] cleanups, set license

glen glen at pld-linux.org
Fri Aug 21 08:56:33 CEST 2015


commit bd3ab3368e2f85e13b22f13d0be4f0bbdd4f41c0
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Aug 21 09:56:13 2015 +0300

    cleanups, set license

 perl-Net-OpenSSH.spec | 22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)
---
diff --git a/perl-Net-OpenSSH.spec b/perl-Net-OpenSSH.spec
index 71d88e8..487e46b 100644
--- a/perl-Net-OpenSSH.spec
+++ b/perl-Net-OpenSSH.spec
@@ -1,7 +1,7 @@
 #
 # Conditional build:
 %bcond_without	tests		# do not perform "make test"
-#
+
 %define		pdir	Net
 %define		pnam	OpenSSH
 %include	/usr/lib/rpm/macros.perl
@@ -9,15 +9,14 @@ Summary:	Net::OpenSSH - Perl SSH client package implemented on top of OpenSSH
 Name:		perl-Net-OpenSSH
 Version:	0.65_05
 Release:	1
-License:	unknown
+# same as perl
+License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-authors/id/S/SA/SALVA/Net-OpenSSH-0.65_05.tar.gz
+Source0:	http://www.cpan.org/modules/by-authors/id/S/SA/SALVA/Net-OpenSSH-%{version}.tar.gz
 # Source0-md5:	beef8cd48d10e12fc19a2ef836f754a6
 URL:		http://search.cpan.org/dist/Net-OpenSSH/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
-%if %{with tests}
-%endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -27,12 +26,12 @@ OpenSSH binary client (ssh).
 
 This package is implemented around the multiplexing feature found in
 later versions of OpenSSH. That feature allows one to run several
-sessions over a single SSH connection (OpenSSH 4.1 was the first
-one to provide all the required functionality).
+sessions over a single SSH connection (OpenSSH 4.1 was the first one
+to provide all the required functionality).
 
-When a new Net::OpenSSH object is created, the OpenSSH ssh client
-is run in master mode, establishing a persistent (for the lifetime of
-the object) connection to the server.
+When a new Net::OpenSSH object is created, the OpenSSH ssh client is
+run in master mode, establishing a persistent (for the lifetime of the
+object) connection to the server.
 
 Then, every time a new operation is requested a new ssh process is
 started in slave mode, effectively reusing the master SSH connection
@@ -50,12 +49,11 @@ to send the request to the remote side.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} pure_install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-cp -a sample $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a sample/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Net-OpenSSH.git/commitdiff/aeb95f7f1b8ca924816685a3994d211731b4a4b0



More information about the pld-cvs-commit mailing list