[libclass-virtual-perl] 03/20: mass bug fix

dom at earth.li dom at earth.li
Wed Aug 23 14:00:06 UTC 2017


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

dom pushed a commit to branch master
in repository libclass-virtual-perl.

commit 6f274749b43aeaeab875c2b26fe145e9d06736f3
Author: Dominic Hargreaves <dom at earth.li>
Date:   Tue Feb 26 22:01:25 2008 +0000

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

diff --git a/debian/changelog b/debian/changelog
index 959f64c..9ef5967 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+libclass-virtual-perl (0.06-2) unstable; urgency=low
+
+  * Fix debian/rules rmdir bug (closes: 467686)
+  * Update Standards-Version (no changes)
+  * Standardize debian/watch format
+  * debian/control: add Homepage field
+  * Fix make distclean lintian warning
+
+ -- Dominic Hargreaves <dom at earth.li>  Tue, 26 Feb 2008 22:00:46 +0000
+
 libclass-virtual-perl (0.06-1) unstable; urgency=low
 
   * New upstream release
diff --git a/debian/control b/debian/control
index 92d2fce..3e1e4bc 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), libcarp-assert-perl (>= 0.1), libclass-data-inheritable-perl (>= 0.02)
 Maintainer: Dominic Hargreaves <dom at earth.li>
-Standards-Version: 3.7.2
+Standards-Version: 3.7.3
+Homepage: http://search.cpan.org/dist/Class-Virtual/
 
 Package: libclass-virtual-perl
 Architecture: all
diff --git a/debian/rules b/debian/rules
index 587339d..59c70e3 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
index 9050000..7ac4157 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
-version=2
-http://www.cpan.org/modules/by-module/Class/Class-Virtual-(.*)\.tar\.gz
+version=3
+# URL to the package page followed by a regex to search
+http://search.cpan.org/dist/Class-Virtual/   .*/Class-Virtual-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/libclass-virtual-perl.git



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