[packages/perl-Text-DeDuper] use generic url
glen
glen at pld-linux.org
Sun Nov 30 15:33:45 CET 2014
commit 16df8f5ec383c3787bcc501c69ba002cf6522d1e
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Nov 30 16:33:42 2014 +0200
use generic url
perl-Text-DeDuper.spec | 29 ++++++++++++-----------------
1 file changed, 12 insertions(+), 17 deletions(-)
---
diff --git a/perl-Text-DeDuper.spec b/perl-Text-DeDuper.spec
index 386745d..b260dc0 100644
--- a/perl-Text-DeDuper.spec
+++ b/perl-Text-DeDuper.spec
@@ -1,12 +1,11 @@
#
# Conditional build:
%bcond_without tests # do not perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir Text
%define pnam DeDuper
+%include /usr/lib/rpm/macros.perl
Summary: Text::DeDuper - near duplicates detection module
-#Summary(pl.UTF-8):
Name: perl-Text-DeDuper
Version: 1.01
Release: 1
@@ -15,8 +14,7 @@ License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/Text/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: bb1adbc25100db21acd2ccbc9c7c7328
-# generic URL, check or change before uncommenting
-#URL: http://search.cpan.org/dist/Text-DeDuper/
+URL: http://search.cpan.org/dist/Text-DeDuper/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
%if %{with tests}
@@ -27,18 +25,15 @@ BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-This module uses the resemblance measure as proposed by Andrei Z. Broder at al
-(http://www.ra.ethz.ch/CDstore/www6/Technical/Paper205/Paper205.html) to detect
-similar (near-duplicate) documents based on their text.
-
-Note of caution: The module only works correctly with languages where texts can
-be tokenised to words by detecting alphabetical characters sequences. Therefore
-it might not provide very good results for e.g. Chinese.
-
-
-
-# %description -l pl.UTF-8
-# TODO
+This module uses the resemblance measure as proposed by Andrei Z.
+Broder at al
+(http://www.ra.ethz.ch/CDstore/www6/Technical/Paper205/Paper205.html)
+to detect similar (near-duplicate) documents based on their text.
+
+Note of caution: The module only works correctly with languages where
+texts can be tokenised to words by detecting alphabetical characters
+sequences. Therefore it might not provide very good results for e.g.
+Chinese.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Text-DeDuper.git/commitdiff/16df8f5ec383c3787bcc501c69ba002cf6522d1e
More information about the pld-cvs-commit
mailing list