]> git.pld-linux.org Git - packages/perl-String-Substrings.git/commitdiff
use generic url
authorElan Ruusamäe <glen@delfi.ee>
Wed, 26 Nov 2014 13:10:52 +0000 (15:10 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 26 Nov 2014 13:10:52 +0000 (15:10 +0200)
perl-String-Substrings.spec

index f15caedd2b4bf9f9ba4d90bf0c015ed2339c7dee..dac0d8ffb77a368efab6a72243131831149ab3c0 100644 (file)
@@ -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
This page took 0.066908 seconds and 4 git commands to generate.