[packages/perl-String-Substrings] use generic url

glen glen at pld-linux.org
Wed Nov 26 14:10:56 CET 2014


commit 28542c5f636af46386684d7a15ad23780f640016
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Nov 26 15:10:52 2014 +0200

    use generic url

 perl-String-Substrings.spec | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)
---
diff --git a/perl-String-Substrings.spec b/perl-String-Substrings.spec
index f15caed..dac0d8f 100644
--- a/perl-String-Substrings.spec
+++ b/perl-String-Substrings.spec
@@ -1,10 +1,10 @@
 #
 # Conditional build:
 %bcond_without	tests	# do not perform "make test"
-#
-%include	/usr/lib/rpm/macros.perl
+
 %define		pdir	String
 %define		pnam	Substrings
+%include	/usr/lib/rpm/macros.perl
 Summary:	String::Substrings - module to extract some/all substrings from a string
 Summary(pl.UTF-8):	String::Substrings - moduł do wyciągania części/wszystkich podciągów z ciągu
 Name:		perl-String-Substrings
@@ -15,7 +15,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:	f733d88cd3f8349946832fb640984842
+URL:		http://search.cpan.org/dist/String-Substrings/
 BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
 %if %{with tests}
 BuildRequires:	perl-String-Random
 BuildRequires:	perl-Test-Differences
@@ -23,19 +25,18 @@ BuildRequires:	perl-Test-Exception
 BuildRequires:	perl-Test-ManyParams
 BuildRequires:	perl-Test-Simple
 %endif
-BuildRequires:	rpm-perlprov >= 4.1-13
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-This module has only one method substrings. It is called as
-substrings STRING [,LENGTH]. Without a length specification, it
-returns all substrings with a length of 1 or greater including the
-string itselfs. The substrings returned are sorted for the length
-(starting with length 1) and for their index. E.g. substrings "abc"
-returns ("a","b","c","ab","bc","abc"). This order is guaranteed to
-stay even in future versions. That also includes that the returned
-list of substrings needn't be unique. E.g. substrings "aaa" returns
+This module has only one method substrings. It is called as substrings
+STRING [,LENGTH]. Without a length specification, it returns all
+substrings with a length of 1 or greater including the string itselfs.
+The substrings returned are sorted for the length (starting with
+length 1) and for their index. E.g. substrings "abc" returns
+("a","b","c","ab","bc","abc"). This order is guaranteed to stay even
+in future versions. That also includes that the returned list of
+substrings needn't be unique. E.g. substrings "aaa" returns
 ("a","a","a","aa","aa","aaa").
 
 %description -l pl.UTF-8
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-String-Substrings.git/commitdiff/28542c5f636af46386684d7a15ad23780f640016



More information about the pld-cvs-commit mailing list