[packages/perl-XML-Registry] use generic url

glen glen at pld-linux.org
Sun Nov 30 15:41:11 CET 2014


commit 6c945ded934b97bf91b03df41e5966b1ffdf7925
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Nov 30 16:41:08 2014 +0200

    use generic url

 perl-XML-Registry.spec | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/perl-XML-Registry.spec b/perl-XML-Registry.spec
index daa6b89..780b863 100644
--- a/perl-XML-Registry.spec
+++ b/perl-XML-Registry.spec
@@ -1,6 +1,6 @@
-%include	/usr/lib/rpm/macros.perl
 %define		pdir	XML
 %define		pnam	Registry
+%include	/usr/lib/rpm/macros.perl
 Summary:	XML::Registry perl module
 Summary(pl.UTF-8):	Moduł perla XML::Registry
 Name:		perl-XML-Registry
@@ -11,8 +11,9 @@ 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:	20b3d5614c884a4fac19401779c99c9f
-BuildRequires:	rpm-perlprov >= 4.1-13
+URL:		http://search.cpan.org/dist/XML-Registry/
 BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -36,7 +37,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-XML-Registry.git/commitdiff/6c945ded934b97bf91b03df41e5966b1ffdf7925



More information about the pld-cvs-commit mailing list