[packages/perl-OLE-Storage_Lite] use generic url

glen glen at pld-linux.org
Tue Nov 25 21:00:47 CET 2014


commit 984f86159afea716e6ab7f7c24843e0b2f8877a0
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Nov 25 22:00:44 2014 +0200

    use generic url

 perl-OLE-Storage_Lite.spec | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/perl-OLE-Storage_Lite.spec b/perl-OLE-Storage_Lite.spec
index 210346b..166f22c 100644
--- a/perl-OLE-Storage_Lite.spec
+++ b/perl-OLE-Storage_Lite.spec
@@ -1,10 +1,10 @@
 #
 # Conditional build:
 %bcond_without	tests	# do not perform "make test"
-#
-%include	/usr/lib/rpm/macros.perl
+
 %define		pdir	OLE
 %define		pnam	Storage_Lite
+%include	/usr/lib/rpm/macros.perl
 Summary:	OLE::Storage_Lite Perl module - simple class for OLE document interface
 Summary(pl.UTF-8):	Moduł Perla OLE::Storage_Lite - prosta klasa obsługująca interfejs dokumentów OLE
 Name:		perl-OLE-Storage_Lite
@@ -15,20 +15,21 @@ 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:	1a713f5342c7d90e54ab0d9659650296
+URL:		http://search.cpan.org/dist/OLE-Storage_Lite/
+BuildRequires:	perl-IO-stringy
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
-BuildRequires:	perl-IO-stringy
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-This module allows you to read and write an OLE-Structured file.
-The module will work on the majority of Windows, UNIX and Macintosh
+This module allows you to read and write an OLE-Structured file. The
+module will work on the majority of Windows, UNIX and Macintosh
 platforms.
 
 %description -l pl.UTF-8
-Moduł ten umożliwia odczyt i zapis plików w standardzie OLE.
-Jest niezależny od platformy systemowej i powinien działać na systemach
+Moduł ten umożliwia odczyt i zapis plików w standardzie OLE. Jest
+niezależny od platformy systemowej i powinien działać na systemach
 Windows, UNIX i Macintosh.
 
 %prep
@@ -47,7 +48,7 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
-install sample/{README,*.pl,*xls} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -p sample/{README,*.pl,*xls} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-OLE-Storage_Lite.git/commitdiff/984f86159afea716e6ab7f7c24843e0b2f8877a0



More information about the pld-cvs-commit mailing list