[SCM] Packaging of DBIx::DBStag in Debian branch, master, updated. upstream/0.12-4-g4f557c6

Olivier Sallou osallou at irisa.fr
Wed Oct 5 08:22:36 UTC 2011


The following commit has been merged in the master branch:
commit ae052dd0b9f2e954e6923824cf2d55de1b3700b2
Author: Olivier Sallou <osallou at irisa.fr>
Date:   Tue Oct 4 18:47:26 2011 +0200

    rename man pages according to bin files

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..a195a02
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,3 @@
+
+Lintian raises some warnings on manpage-has-bad-whatis-entry
+As scripts were renamed to remove extensions, NAME does not correspond anymore to files. Warning can be skipped.
diff --git a/debian/copyright b/debian/copyright
index d28976a..ab15b4f 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,7 +1,6 @@
-Format-Specification: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?view=markup&pathrev=135
-Maintainer: Chris Mungall <cjm at fruitfly.org>
+Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174
 Source: http://search.cpan.org/dist/DBIx-DBStag/
-Name: DBIx-DBStag
+Upstream-Name: DBIx-DBStag
 
 Files: *
 Copyright: Chris Mungall <cjm at fruitfly.org>
diff --git a/debian/patches/fix_manpages b/debian/patches/fix_manpages
new file mode 100644
index 0000000..8b5e33d
--- /dev/null
+++ b/debian/patches/fix_manpages
@@ -0,0 +1,11 @@
+--- a/scripts/stag-autoddl.pl
++++ b/scripts/stag-autoddl.pl
+@@ -14,7 +14,7 @@
+ 
+ script wrapper for the Data::Stag modules
+ 
+-=over ARGUMENTS
++=over
+ 
+ =item -help|h
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a0dcb96
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix_manpages
diff --git a/debian/rules b/debian/rules
index 2d33f6a..61a0ae9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,21 @@
 
 %:
 	dh $@
+
+override_dh_auto_test:
+	# Skip tests as they try to connect to database
+
+override_dh_clean:
+	dh_clean
+	rm -f t/db.config
+
+override_dh_install:
+	dh_install
+	rename 's/selectall/stag-selectall/' debian/libdbix-dbstag-perl/usr/bin/*
+	rename 's/selectall/stag-selectall/' debian/libdbix-dbstag-perl/usr/share/man/man1/*
+	rename 's/\.pl//' debian/libdbix-dbstag-perl/usr/share/man/man1/*.pl.1p
+	rename 's/ubiq/stag-ubiq/' debian/libdbix-dbstag-perl/usr/bin/*
+	rename 's/\.pl//' debian/libdbix-dbstag-perl/usr/bin/*.pl
+	sed -i 's/ubiq\.cgi/stag-ubiq/g' debian/libdbix-dbstag-perl/usr/bin/stag-ubiq.cgi
+	rename 's/\.cgi//' debian/libdbix-dbstag-perl/usr/bin/*.cgi
+

-- 
Packaging of DBIx::DBStag in Debian



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