[packages/perl-NetServer-SMTP] use generic url

glen glen at pld-linux.org
Tue Nov 25 21:00:14 CET 2014


commit 07c6cce19698219d2cfc0743d59c8bac3b483993
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Nov 25 22:00:11 2014 +0200

    use generic url

 perl-NetServer-SMTP.spec | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/perl-NetServer-SMTP.spec b/perl-NetServer-SMTP.spec
index 1db1ce0..250a5ad 100644
--- a/perl-NetServer-SMTP.spec
+++ b/perl-NetServer-SMTP.spec
@@ -1,6 +1,6 @@
-%include	/usr/lib/rpm/macros.perl
 %define		pdir	NetServer
 %define		pnam	SMTP
+%include	/usr/lib/rpm/macros.perl
 Summary:	NetServer::SMTP perl module
 Summary(pl.UTF-8):	Moduł perla NetServer::SMTP
 Name:		perl-NetServer-SMTP
@@ -11,12 +11,13 @@ License:	GPL v1+ or Artistic (with one restriction, see LICENSE)
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	46f345dfc3e7022c3c0f8bdc94a9a700
-BuildRequires:	rpm-perlprov >= 4.1-13
-BuildRequires:	perl-devel >= 1:5.8.0
-BuildRequires:	perl-libnet
-BuildRequires:	perl-FreezeThaw
+URL:		http://search.cpan.org/dist/NetServer-SMTP/
 BuildRequires:	perl-File-Flock
+BuildRequires:	perl-FreezeThaw
 BuildRequires:	perl-Time-modules
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	perl-libnet
+BuildRequires:	rpm-perlprov >= 4.1-13
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -41,7 +42,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-NetServer-SMTP.git/commitdiff/07c6cce19698219d2cfc0743d59c8bac3b483993



More information about the pld-cvs-commit mailing list