[packages/perl-CGI-Lite] use generic url

glen glen at pld-linux.org
Tue Nov 25 09:27:15 CET 2014


commit eea58a8331b1c0adb406bdfcc4713e801153fdc7
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Nov 25 10:27:12 2014 +0200

    use generic url

 perl-CGI-Lite.spec | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/perl-CGI-Lite.spec b/perl-CGI-Lite.spec
index d4b3565..67e601e 100644
--- a/perl-CGI-Lite.spec
+++ b/perl-CGI-Lite.spec
@@ -1,6 +1,6 @@
-%include	/usr/lib/rpm/macros.perl
 %define		pdir	CGI
 %define		pnam	Lite
+%include	/usr/lib/rpm/macros.perl
 Summary:	CGI::Lite - process and decode WWW forms and cookies
 Summary(pl.UTF-8):	CGI::Lite - przetwarzanie i dekodowanie forumularzy WWW i cookies
 Name:		perl-CGI-Lite
@@ -10,15 +10,17 @@ License:	GPL
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	fa91873a24a9c8ac78a204e49a7f367f
-BuildRequires:	rpm-perlprov >= 4.1-13
+URL:		http://search.cpan.org/dist/CGI-Lite/
 BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-You can use this module to decode form and query information, including
-file uploads, as well as cookies in a very simple manner; you need not
-concern yourself with the actual details behind the decoding process.
+You can use this module to decode form and query information,
+including file uploads, as well as cookies in a very simple manner;
+you need not concern yourself with the actual details behind the
+decoding process.
 
 %description -l pl.UTF-8
 Moduł ten służy modułu do dekodowania informacji z formularzy i
@@ -41,7 +43,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-CGI-Lite.git/commitdiff/eea58a8331b1c0adb406bdfcc4713e801153fdc7



More information about the pld-cvs-commit mailing list