[packages/perl-RADIUS] use generic url

glen glen at pld-linux.org
Wed Nov 26 11:35:36 CET 2014


commit 4fc5502a4d22060760ef3dc3c37f4f204244ade7
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Nov 26 12:35:32 2014 +0200

    use generic url

 perl-RADIUS.spec | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/perl-RADIUS.spec b/perl-RADIUS.spec
index 30c5976..548c40e 100644
--- a/perl-RADIUS.spec
+++ b/perl-RADIUS.spec
@@ -1,7 +1,8 @@
 #
 # Conditional build:
 %bcond_without	tests	# do not perform "make test"
-#
+
+%define		pdir	RADIUS
 %include	/usr/lib/rpm/macros.perl
 Summary:	RADIUS - object-oriented Perl interface to RADIUS
 Summary(pl.UTF-8):	RADIUS - obiektowy interfejs Perla do RADIUSa
@@ -14,15 +15,16 @@ Source0:	http://www.cpan.org/modules/by-module/RADIUS/RADIUS-%{version}.tar.gz
 # Source0-md5:	c33fa63e6806d99c5b00507e9fcf63fa
 Patch0:		%{name}-paths.patch
 Patch1:		%{name}-Digest-MD5.patch
-BuildRequires:	rpm-perlprov >= 4.1-13
-BuildRequires:	perl-devel >= 1:5.8.0
+URL:		http://search.cpan.org/dist/RADIUS/
 BuildRequires:	perl-Digest-MD5
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 RADIUS (RFC2138) specifies a binary packet format which contains
-various values and attributes.  This module provides an interface to
+various values and attributes. This module provides an interface to
 turn RADIUS packets into Perl data structures and vice-versa.
 
 %description -l pl.UTF-8
@@ -48,7 +50,7 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
-install example*.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -p example*.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-RADIUS.git/commitdiff/4fc5502a4d22060760ef3dc3c37f4f204244ade7



More information about the pld-cvs-commit mailing list