[packages/perl-Games-WordFind] use generic url

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


commit 3fabf7e7c820cf847ca5595180dd5900ce62f381
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Nov 25 12:48:50 2014 +0200

    use generic url

 perl-Games-WordFind.spec | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/perl-Games-WordFind.spec b/perl-Games-WordFind.spec
index 9218345..ebb034e 100644
--- a/perl-Games-WordFind.spec
+++ b/perl-Games-WordFind.spec
@@ -1,10 +1,10 @@
 #
 # Conditional build:
 %bcond_without	tests	# do not perform "make test"
-#
-%include	/usr/lib/rpm/macros.perl
+
 %define		pdir	Games
 %define		pnam	WordFind
+%include	/usr/lib/rpm/macros.perl
 Summary:	Games::WordFind - class for generating "word find" type puzzles
 Summary(pl.UTF-8):	Games::WordFind - klasa do generowania układanek słownych
 Name:		perl-Games-WordFind
@@ -15,6 +15,7 @@ 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:	28bfa49532f2a49fd455fbd3b9afeb9e
+URL:		http://search.cpan.org/dist/Games-WordFind/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
 BuildArch:	noarch
@@ -43,7 +44,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-Games-WordFind.git/commitdiff/3fabf7e7c820cf847ca5595180dd5900ce62f381



More information about the pld-cvs-commit mailing list