[liblingua-pt-stemmer-perl] 04/06: mass bugfix

dom at earth.li dom at earth.li
Sat Mar 26 00:19:38 UTC 2016


This is an automated email from the git hooks/post-receive script.

dom pushed a commit to branch master
in repository liblingua-pt-stemmer-perl.

commit a9801dc107f66c78cfd06c6e92b764bf094026eb
Author: Dominic Hargreaves <dom at earth.li>
Date:   Thu Feb 28 22:35:46 2008 +0000

    mass bugfix
---
 debian/changelog | 10 ++++++++++
 debian/control   |  3 ++-
 debian/rules     |  4 ++--
 debian/watch     |  3 +++
 4 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5f7d179..3f83cfa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+liblingua-pt-stemmer-perl (0.01-2) unstable; urgency=low
+
+  * Fix debian/rules rmdir bug (closes: #467892)
+  * Update Standards-Version (no changes)
+  * Add debian/watch file
+  * debian/control: add Homepage field
+  * Fix make distclean lintian warning
+
+ -- Dominic Hargreaves <dom at earth.li>  Thu, 28 Feb 2008 22:34:47 +0000
+
 liblingua-pt-stemmer-perl (0.01-1) unstable; urgency=low
 
   * Initial Release.
diff --git a/debian/control b/debian/control
index b863648..417a772 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,8 @@ Priority: optional
 Build-Depends: debhelper (>= 4.0.2)
 Build-Depends-Indep: perl (>= 5.8.0-7)
 Maintainer: Dominic Hargreaves <dom at earth.li>
-Standards-Version: 3.6.1
+Standards-Version: 3.7.3
+Homepage: http://search.cpan.org/dist/Lingua-PT-Stemmer/
 
 Package: liblingua-pt-stemmer-perl
 Architecture: all
diff --git a/debian/rules b/debian/rules
index 3332492..33a3655 100755
--- a/debian/rules
+++ b/debian/rules
@@ -43,7 +43,7 @@ clean:
 	dh_testroot
 
 	# Add commands to clean up after the build process here
-	-$(MAKE) distclean
+	[ ! -f Makefile ] || $(MAKE) distclean
 	
 	dh_clean build-stamp install-stamp
 
@@ -58,7 +58,7 @@ install-stamp: build-stamp
 	
 	# As this is a architecture independent package, we are not supposed to install
 	# stuff to /usr/lib. MakeMaker creates the dirs, we delete them from the deb:
-	rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
+	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
 
 	touch install-stamp
 
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..1e2cfa9
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+# URL to the package page followed by a regex to search
+http://search.cpan.org/dist/Lingua-PT-Stemmer/   .*/Lingua-PT-Stemmber-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/liblingua-pt-stemmer-perl.git



More information about the Pkg-perl-cvs-commits mailing list