Bug#696639: libtext-levenshtein-perl: Patch to fix lintian warnings

2012-12-25 Thread Dmitry Shachnev
Thanks, that was very fast!

--
Dmitry Shachnev

On Tue, Dec 25, 2012 at 1:25 AM, gregor herrmann gre...@debian.org wrote:
 I've uploaded a new version with some additional polishing to
 unstable right now.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#696639: libtext-levenshtein-perl: Patch to fix lintian warnings

2012-12-24 Thread Dmitry Shachnev
Source: libtext-levenshtein-perl
Version: 0.06~01-1
Severity: normal
Tags: patch

Dear maintainer,

Lintian now depends on libtext-levenshtein-perl [1], so we are going
to include this package into Ubuntu's main archive [2]. It would be
easier to achieve if the package was lintian clean. The attached
patch fixes all warnings except one pedantic. It also fixes #695754.

[1]: 
http://anonscm.debian.org/gitweb/?p=lintian/lintian.git;a=commit;h=1144b47acd
[2]: https://bugs.launchpad.net/bugs/1093329

--
Dmitry Shachnev

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (700, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/4 CPU cores)
Locale: LANG=ru_RU.utf8, LC_CTYPE=ru_RU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information
=== modified file 'debian/changelog'
--- a/debian/changelog	2009-01-19 12:52:39 +
+++ b/debian/changelog	2012-12-24 17:21:12 +
@@ -1,3 +1,17 @@
+libtext-levenshtein-perl (0.06~01-2) UNRELEASED; urgency=low
+
+  * Fixed lintian warnings:
+- ancient-standards-version: bumped to 3.9.4.
+- debian-rules-missing-recommended-target: added build-arch and
+  build-indep targets.
+- patch-system-but-no-source-readme: used 3.0 (quilt) source format
+  instead of explicitly using quilt.
+- wiki-copyright-format-uri: updated debian/copyright to the latest
+  format.
+  * Removed dead link from package description. (Closes: #695754)
+
+ -- Dmitry Shachnev mity...@gmail.com  Mon, 24 Dec 2012 21:03:33 +0400
+
 libtext-levenshtein-perl (0.06~01-1) unstable; urgency=low
 
   * Initial Release. (Closes: #512267)

=== modified file 'debian/control'
--- a/debian/control	2009-01-19 12:52:39 +
+++ b/debian/control	2012-12-24 16:51:02 +
@@ -1,11 +1,11 @@
 Source: libtext-levenshtein-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (= 7), quilt
+Build-Depends: debhelper (= 7)
 Build-Depends-Indep: perl (= 5.6.0-12)
 Maintainer: Debian Perl Group pkg-perl-maintain...@lists.alioth.debian.org
 Uploaders: Ryan Niebur ryanrya...@gmail.com
-Standards-Version: 3.8.0
+Standards-Version: 3.9.4
 Homepage: http://search.cpan.org/dist/Text-Levenshtein/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libtext-levenshtein-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libtext-levenshtein-perl/
@@ -18,5 +18,4 @@
  edit distance is a measure of the degree of proximity between two strings.
  This distance is the number of substitutions, deletions or insertions
  (edits) needed to transform one string into the other one (and vice versa).
- When two strings have distance 0, they are the same. A good point to start
- is: http://www.merriampark.com/ld.htm
+ When two strings have distance 0, they are the same.

=== modified file 'debian/copyright'
--- a/debian/copyright	2009-01-19 12:52:39 +
+++ b/debian/copyright	2012-12-24 17:14:12 +
@@ -1,17 +1,16 @@
-Format-Specification:
-http://wiki.debian.org/Proposals/CopyrightFormat?action=recallrev=196
-Upstream-Maintainer: Dree Mistrut d...@friul.it
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Contact: Dree Mistrut d...@friul.it
 Upstream-Source: http://search.cpan.org/dist/Text-Levenshtein/
 Upstream-Name: Text-Levenshtein
 
 Files: *
 Copyright: Copyright 2002,2004,2008 Dree Mistrut d...@friul.it
-Licenses: GPL-1+ | Artistic
+License: GPL-1+ or Artistic
 License-Alias: Perl
 
 Files: debian/*
 Copyright: 2009, Ryan Niebur ryanrya...@gmail.com
-License: Artistic | GPL-1+
+License: Artistic or GPL-1+
 
 License: Artistic
 This program is free software; you can redistribute it and/or modify

=== modified file 'debian/rules'
--- a/debian/rules	2009-01-19 12:52:39 +
+++ b/debian/rules	2012-12-24 16:55:17 +
@@ -1,13 +1,13 @@
 #!/usr/bin/make -f
 
-include /usr/share/quilt/quilt.make
+build-arch:
 
-build: build-stamp
-build-stamp: $(QUILT_STAMPFN)
+build-indep build: build-stamp
+build-stamp:
 	dh build
 	touch $@
 
-clean: unpatch
+clean:
 	dh $@
 
 install: install-stamp

=== added directory 'debian/source'
=== added file 'debian/source/format'
--- a/debian/source/format	1970-01-01 00:00:00 +
+++ b/debian/source/format	2012-12-24 16:52:47 +
@@ -0,0 +1,1 @@
+3.0 (quilt)



Bug#696639: libtext-levenshtein-perl: Patch to fix lintian warnings

2012-12-24 Thread Dmitry Shachnev
I didn't notice that the package has a git repository. Attached an
updated patch against git master.

--
Dmitry Shachnev
From 3114415e83005910751c723702a5318a1d9fcc08 Mon Sep 17 00:00:00 2001
From: Dmitry Shachnev mity...@gmail.com
Date: Mon, 24 Dec 2012 22:33:20 +0400
Subject: [PATCH] Fixed lintian warnings (Closes: #696639).

- ancient-standards-version: bumped to 3.9.4.
- debian-rules-missing-recommended-target: added build-arch and
  build-indep targets.
- wiki-copyright-format-uri: updated debian/copyright to the latest
  format.

Also, removed dead link from package description (Closes: #695754).
---
 debian/changelog |9 +
 debian/control   |5 ++---
 debian/copyright |9 -
 debian/rules |3 ++-
 4 files changed, 17 insertions(+), 9 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 88c8660..965bb54 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,15 @@ libtext-levenshtein-perl (0.06~01-2) UNRELEASED; urgency=low
   [ Ansgar Burchardt ]
   * debian/control: Convert Vcs-* fields to Git.
 
+  [ Dmitry Shachnev ]
+  * Fixed lintian warnings (Closes: #696639):
+- ancient-standards-version: bumped to 3.9.4.
+- debian-rules-missing-recommended-target: added build-arch and
+  build-indep targets.
+- wiki-copyright-format-uri: updated debian/copyright to the latest
+  format.
+  * Removed dead link from package description (Closes: #695754).
+
  -- Ryan Niebur r...@debian.org  Fri, 25 Sep 2009 00:26:46 -0700
 
 libtext-levenshtein-perl (0.06~01-1) unstable; urgency=low
diff --git a/debian/control b/debian/control
index cc72a46..8969485 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Build-Depends: debhelper (= 7), quilt
 Build-Depends-Indep: perl
 Maintainer: Debian Perl Group pkg-perl-maintain...@lists.alioth.debian.org
 Uploaders: Ryan Niebur r...@debian.org
-Standards-Version: 3.8.0
+Standards-Version: 3.9.4
 Homepage: http://search.cpan.org/dist/Text-Levenshtein/
 Vcs-Git: git://git.debian.org/pkg-perl/packages/libtext-levenshtein-perl.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libtext-levenshtein-perl.git
@@ -18,5 +18,4 @@ Description: implementation of the Levenshtein edit distance
  edit distance is a measure of the degree of proximity between two strings.
  This distance is the number of substitutions, deletions or insertions
  (edits) needed to transform one string into the other one (and vice versa).
- When two strings have distance 0, they are the same. A good point to start
- is: http://www.merriampark.com/ld.htm
+ When two strings have distance 0, they are the same.
diff --git a/debian/copyright b/debian/copyright
index 9aa07af..073e081 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,17 +1,16 @@
-Format-Specification:
-http://wiki.debian.org/Proposals/CopyrightFormat?action=recallrev=196
-Upstream-Maintainer: Dree Mistrut d...@friul.it
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Contact: Dree Mistrut d...@friul.it
 Upstream-Source: http://search.cpan.org/dist/Text-Levenshtein/
 Upstream-Name: Text-Levenshtein
 
 Files: *
 Copyright: Copyright 2002,2004,2008 Dree Mistrut d...@friul.it
-Licenses: GPL-1+ | Artistic
+License: GPL-1+ or Artistic
 License-Alias: Perl
 
 Files: debian/*
 Copyright: 2009, Ryan Niebur r...@debian.org
-License: Artistic | GPL-1+
+License: Artistic or GPL-1+
 
 License: Artistic
 This program is free software; you can redistribute it and/or modify
diff --git a/debian/rules b/debian/rules
index d9229f5..3b3e4a6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,9 @@
 #!/usr/bin/make -f
 
 include /usr/share/quilt/quilt.make
+build-arch:
 
-build: build-stamp
+build-indep build: build-stamp
 build-stamp: $(QUILT_STAMPFN)
 	dh build
 	touch $@
-- 
1.7.10.4



Bug#696639: libtext-levenshtein-perl: Patch to fix lintian warnings

2012-12-24 Thread gregor herrmann
On Mon, 24 Dec 2012 22:38:42 +0400, Dmitry Shachnev wrote:

 I didn't notice that the package has a git repository. Attached an
 updated patch against git master.

Thanks, that's indeed helpful :)

I've uploaded a new version with some additional polishing to
unstable right now.
 
Cheers,
gregor
 
-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT  SPI, fellow of the Free Software Foundation Europe
   `-   NP: Das Internationale Format: Seit Dem Man Mich


signature.asc
Description: Digital signature