[packages/perl-HyperWave-CSP] use generic url

glen glen at pld-linux.org
Tue Nov 25 11:52:52 CET 2014


commit 22e3aeb4d554f29cdd701b016130aeffa11f02d8
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Nov 25 12:52:49 2014 +0200

    use generic url

 perl-HyperWave-CSP.spec | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/perl-HyperWave-CSP.spec b/perl-HyperWave-CSP.spec
index 5250c25..fd3db72 100644
--- a/perl-HyperWave-CSP.spec
+++ b/perl-HyperWave-CSP.spec
@@ -2,10 +2,10 @@
 # Conditional build:
 %bcond_with	tests	# perform "make test"
 			# require server connection
-#
-%include	/usr/lib/rpm/macros.perl
+
 %define		pdir	HyperWave
 %define		pnam	CSP
+%include	/usr/lib/rpm/macros.perl
 Summary:	HyperWave::CSP - communicate with a HyperWave server
 Summary(pl.UTF-8):	HyperWave::CSP - łączenie z serwerem HyperWave
 Name:		perl-HyperWave-CSP
@@ -16,9 +16,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:	a596136b7b87e7db9396a0c2aa3d26a4
-BuildRequires:	rpm-perlprov >= 4.1-13
-BuildRequires:	perl-devel >= 1:5.8.0
+URL:		http://search.cpan.org/dist/HyperWave-CSP/
 BuildRequires:	perl-Locale-Codes
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -47,7 +48,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-HyperWave-CSP.git/commitdiff/22e3aeb4d554f29cdd701b016130aeffa11f02d8



More information about the pld-cvs-commit mailing list