[packages/perl-Getopt-Declare] use generic url

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


commit 6937d00c42c7724b23e23d2e31a29afe566ad1f3
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Nov 25 12:49:16 2014 +0200

    use generic url

 perl-Getopt-Declare.spec | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/perl-Getopt-Declare.spec b/perl-Getopt-Declare.spec
index 37cd7bd..0620415 100644
--- a/perl-Getopt-Declare.spec
+++ b/perl-Getopt-Declare.spec
@@ -1,10 +1,10 @@
 #
 # Conditional build:
 %bcond_without	tests	# do not perform "make test"
-#
-%include	/usr/lib/rpm/macros.perl
+
 %define		pdir	Getopt
 %define		pnam	Declare
+%include	/usr/lib/rpm/macros.perl
 Summary:	Getopt::Declare - Declaratively Expressed Command-Line Arguments via Regular Expressions
 Summary(pl.UTF-8):	Getopt::Declare - wyrażone deklaracyjnie przez wyrażenia regularne argumenty linii polecenia
 Name:		perl-Getopt-Declare
@@ -15,9 +15,10 @@ Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	7ed52d0279abcb34c366369af8ac8cb8
 Patch0:		%{name}-paths.patch
-BuildRequires:	rpm-perlprov >= 4.1-13
-BuildRequires:	perl-devel >= 1:5.8.0
+URL:		http://search.cpan.org/dist/Getopt-Declare/
 BuildRequires:	perl-Parse-RecDescent
+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 demos/demo* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -p demos/demo* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Getopt-Declare.git/commitdiff/6937d00c42c7724b23e23d2e31a29afe566ad1f3



More information about the pld-cvs-commit mailing list