[packages/perl-Net-Hotline] use generic url

glen glen at pld-linux.org
Tue Nov 25 20:58:24 CET 2014


commit 3453b72316898eab47ba427a94544a5427c8c0a7
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Nov 25 21:58:20 2014 +0200

    use generic url

 perl-Net-Hotline.spec | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/perl-Net-Hotline.spec b/perl-Net-Hotline.spec
index 8487c1b..f312100 100644
--- a/perl-Net-Hotline.spec
+++ b/perl-Net-Hotline.spec
@@ -1,10 +1,10 @@
 #
 # Conditional build:
 %bcond_without	tests	# do not perform "make test"
-#
-%include	/usr/lib/rpm/macros.perl
+
 %define		pdir	Net
 %define		pnam	Hotline
+%include	/usr/lib/rpm/macros.perl
 Summary:	Net::Hotline - Perl libraries for the Hotline internet client
 Summary(pl.UTF-8):	Net::Hotline - biblioteki Perla dla internetowego klienta Hotline
 Name:		perl-Net-Hotline
@@ -16,6 +16,7 @@ Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	2efc774c5499f1e8919e140e274321c5
 Patch0:		%{name}-paths.patch
+URL:		http://search.cpan.org/dist/Net-Hotline/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
 BuildArch:	noarch
@@ -23,10 +24,11 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Net::Hotline::Client is a class implementing a Hotline Internet client
-in Perl.  It was specifically developed to aid in the creation of Hotline
-"bots," although it's suitable for most other tasks as well. Hotline is
-an Internet client/server system that's sort of a cross between IRC and
-a BBS.  See http://www.hotlinesw.com/ for more information.
+in Perl. It was specifically developed to aid in the creation of
+Hotline "bots," although it's suitable for most other tasks as well.
+Hotline is an Internet client/server system that's sort of a cross
+between IRC and a BBS. See http://www.hotlinesw.com/ for more
+information.
 
 %description -l pl.UTF-8
 Net::Hotline::Client to klasa implementująca internetowego klienta
@@ -54,7 +56,7 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install Examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -p Examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Net-Hotline.git/commitdiff/3453b72316898eab47ba427a94544a5427c8c0a7



More information about the pld-cvs-commit mailing list