[packages/perl-Spreadsheet-WriteExcel] use generic url

glen glen at pld-linux.org
Wed Nov 26 14:09:16 CET 2014


commit 5d58420851f8819f88a4823f06a26f9caeb84ac9
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Nov 26 15:09:13 2014 +0200

    use generic url

 perl-Spreadsheet-WriteExcel.spec | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/perl-Spreadsheet-WriteExcel.spec b/perl-Spreadsheet-WriteExcel.spec
index 4d28f1a..50b7a32 100644
--- a/perl-Spreadsheet-WriteExcel.spec
+++ b/perl-Spreadsheet-WriteExcel.spec
@@ -1,10 +1,10 @@
 #
 # Conditional build:
 %bcond_without	tests	# do not perform "make test"
-#
-%include	/usr/lib/rpm/macros.perl
+
 %define		pdir	Spreadsheet
 %define		pnam	WriteExcel
+%include	/usr/lib/rpm/macros.perl
 Summary:	Spreadsheet::WriteExcel perl module
 Summary(cs.UTF-8):	Modul Spreadsheet::WriteExcel pro Perl
 Summary(da.UTF-8):	Perlmodul Spreadsheet::WriteExcel
@@ -30,6 +30,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:	07e038429dc7d7467c735e467cc1cfbe
+URL:		http://search.cpan.org/dist/Spreadsheet-WriteExcel/
 BuildRequires:	perl-Parse-RecDescent
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	perl-modules >= 5.6.1
@@ -74,7 +75,7 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install examples/{README,*.pl} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -p examples/{README,*.pl} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 gzip -9 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/README
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Spreadsheet-WriteExcel.git/commitdiff/5d58420851f8819f88a4823f06a26f9caeb84ac9



More information about the pld-cvs-commit mailing list