From 7424eacf0894e96fcd259c10cee4710227521930 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 25 Nov 2014 12:45:01 +0200 Subject: [PATCH] use generic url --- perl-Filesys-SmbClientParser.spec | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/perl-Filesys-SmbClientParser.spec b/perl-Filesys-SmbClientParser.spec index d8ff8e4..2f2ca2c 100644 --- a/perl-Filesys-SmbClientParser.spec +++ b/perl-Filesys-SmbClientParser.spec @@ -1,10 +1,10 @@ # # Conditional build: %bcond_without tests # don't perform "make test" -# -%include /usr/lib/rpm/macros.perl + %define pdir Filesys %define pnam SmbClientParser +%include /usr/lib/rpm/macros.perl Summary: Filesys::SmbClientParser - Perl client to reach Samba ressources with smbclient Summary(pl.UTF-8): Filesys::SmbClientParser - klient perlowy zasobów Samby korzystający z smbclienta Name: perl-Filesys-SmbClientParser @@ -15,20 +15,21 @@ Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: 16f73fb28db6e2d7f97690f01f6c1bd0 Patch0: %{name}-notest.patch -BuildRequires: rpm-perlprov >= 4.1-13 +URL: http://search.cpan.org/dist/Filesys-SmbClientParser/ BuildRequires: perl-devel >= 1:5.8.0 -Requires: samba-client +BuildRequires: rpm-perlprov >= 4.1-13 %if %{with tests} BuildRequires: samba-client %endif +Requires: samba-client BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Filesys::SmbClientParser module is a Perl client to reach Samba -ressources. SmbClientParser works with output of bin smbclient, so -it doesn't work on Win* platforms (but query of Win* platform works -of course). +ressources. SmbClientParser works with output of bin smbclient, so it +doesn't work on Win* platforms (but query of Win* platform works of +course). %description -l pl.UTF-8 Moduł Filesys::SmbClientParser jest perlowym klientem zasobów Samby. -- 2.44.0