From: Elan Ruusamäe Date: Tue, 25 Nov 2014 10:59:55 +0000 (+0200) Subject: use generic url X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=3cff1908b123fcd3b175886c97e6b3dca29428f2;p=packages%2Fperl-IPC-Session.git use generic url --- diff --git a/perl-IPC-Session.spec b/perl-IPC-Session.spec index fd421a4..e059ac4 100644 --- a/perl-IPC-Session.spec +++ b/perl-IPC-Session.spec @@ -1,10 +1,10 @@ # # Conditional build: %bcond_without tests # do not perform "make test" -# -%include /usr/lib/rpm/macros.perl + %define pdir IPC %define pnam Session +%include /usr/lib/rpm/macros.perl Summary: Drive ssh or other interactive shell, local or remote (like 'expect') Summary(pl.UTF-8): Sterowanie ssh lub inną interaktywną powłoką lokalną lub zdalną (podobnie do expect) Name: perl-IPC-Session @@ -14,23 +14,25 @@ License: unknown Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: aa56a95d08ebfc11edff3d9e9515d93c +URL: http://search.cpan.org/dist/IPC-Session/ +%{?with_tests:BuildRequires: /bin/csh} BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 -%{?with_tests:BuildRequires: /bin/csh} BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -IPC::Session encapsulates the open3() function call (see the IPC::Open3 -manpage) and its associated filehandles. This makes it easy to maintain -multiple interactive command sessions, such as multiple persistent 'ssh' -and/or 'rsh' sessions, within the same perl script. +IPC::Session encapsulates the open3() function call (see the +IPC::Open3 manpage) and its associated filehandles. This makes it easy +to maintain multiple interactive command sessions, such as multiple +persistent 'ssh' and/or 'rsh' sessions, within the same perl script. %description -l pl.UTF-8 IPC::Session obudowuje funkcję open3() (zobacz stronę podręcznika -systemowego dla IPC::Open3) i związane z nią uchwyty plików. Pozwala to -na łatwe zarządzanie wieloma interaktywnymi sesjami, np. w przypadku -wielu przezroczystych sesji 'ssh' i/lub 'rsh' w jednym skrypcie Perla. +systemowego dla IPC::Open3) i związane z nią uchwyty plików. Pozwala +to na łatwe zarządzanie wieloma interaktywnymi sesjami, np. w +przypadku wielu przezroczystych sesji 'ssh' i/lub 'rsh' w jednym +skrypcie Perla. %prep %setup -q -n %{pdir}-%{pnam}-%{version}