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

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


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

    use generic url

 perl-Getopt-Auto.spec | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)
---
diff --git a/perl-Getopt-Auto.spec b/perl-Getopt-Auto.spec
index ab90bc1..2fa40a0 100644
--- a/perl-Getopt-Auto.spec
+++ b/perl-Getopt-Auto.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	Auto
+%include	/usr/lib/rpm/macros.perl
 Summary:	Getopt::Auto - framework for command-line applications
 Summary(pl.UTF-8):	Getopt::Auto - szkielet do aplikacji działających z linii poleceń
 Name:		perl-Getopt-Auto
@@ -14,6 +14,7 @@ License:	unknown
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	f3362fa348d4ef2770b691d5d261f60d
+URL:		http://search.cpan.org/dist/Getopt-Auto/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
 %if %{with tests}
@@ -25,20 +26,21 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 Unix command line applications, rather than simple filters, are pretty
 unpleasant to write; as well as actually writing the functionality,
-there's the boring parsing of the command line arguments and so on. Even
-with Getopt::Long or equivalent, you still have to dispatch the
+there's the boring parsing of the command line arguments and so on.
+Even with Getopt::Long or equivalent, you still have to dispatch the
 appropriate commands to the right subroutines, write a --help and
---version handler, and so on. This module abstracts out that code,
-leaving you free just to concentrate on the functional part.
+- --version handler, and so on. This module abstracts out that code,
+  leaving you free just to concentrate on the functional part.
 
 %description -l pl.UTF-8
 Uniksowe aplikacje działające z linii poleceń, bardziej niż proste
 filtry, są dość nieprzyjemne przy pisaniu; oprócz właściwego pisania
 funkcjonalności, jest jeszcze nudne analizowanie argumentów linii
-poleceń itp. Nawet z użyciem Getopt::Long lub ekwiwalentu, nadal trzeba
-przekierowywać odpowiednie polecenia do właściwych funkcji, pisać
-obsługę --help i --version itd. Ten moduł umożliwia wyabstrahowanie
-tego kodu, pozwalając skoncentrować się na części funkcjonalnej.
+poleceń itp. Nawet z użyciem Getopt::Long lub ekwiwalentu, nadal
+trzeba przekierowywać odpowiednie polecenia do właściwych funkcji,
+pisać obsługę --help i --version itd. Ten moduł umożliwia
+wyabstrahowanie tego kodu, pozwalając skoncentrować się na części
+funkcjonalnej.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Getopt-Auto.git/commitdiff/64b5f12120f79f9b3712b035d6cc4419b3fff2dd



More information about the pld-cvs-commit mailing list