[packages/perl-Net-xAP] use generic url
glen
glen at pld-linux.org
Tue Nov 25 20:59:58 CET 2014
commit 1fdeaade815fa28a11caa06f1dc5c3de50c54eb4
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Nov 25 21:59:54 2014 +0200
use generic url
perl-Net-xAP.spec | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/perl-Net-xAP.spec b/perl-Net-xAP.spec
index 1efe635..46557c1 100644
--- a/perl-Net-xAP.spec
+++ b/perl-Net-xAP.spec
@@ -1,10 +1,10 @@
#
# Conditional build:
%bcond_with tests # perform "make test" (requires IMAP server)
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir Net
%define pnam xAP
+%include /usr/lib/rpm/macros.perl
Summary: Net::xAP Perl module - interface to IMAP/ACAP/IMSP/ICAP protocol family
Summary(pl.UTF-8): Moduł Perla Net::xAP - interfejs do rodziny protokołów IMAP/ACAP/IMSP/ICAP
Name: perl-Net-xAP
@@ -15,9 +15,10 @@ License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}%{pnam}-%{version}.tar.gz
# Source0-md5: df6ddaa8dad8d366784bf9a2a1f8eed1
-BuildRequires: perl-devel >= 1:5.8.0
+URL: http://search.cpan.org/dist/Net-xAP/
BuildRequires: perl-Digest-HMAC
BuildRequires: perl-MIME-Base64 >= 2.11
+BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
Requires: perl-Digest-MD5 >= 2.01
Requires: perl-MIME-Base64 >= 2.11
@@ -50,7 +51,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-xAP.git/commitdiff/1fdeaade815fa28a11caa06f1dc5c3de50c54eb4
More information about the pld-cvs-commit
mailing list