aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Scott <nathans@debian.org>2014-07-16 13:25:36 +1000
committerNathan Scott <nathans@debian.org>2014-07-16 13:25:36 +1000
commitf33aa73b89624feaeb94f4d48b88f2d480798420 (patch)
treec43a963345ed10cea78418b860f746adffe1c1b2
parentfae9bcf317ce3a0d919ebdc6fd667993a4dbd484 (diff)
downloadxfsdump-dev-f33aa73b89624feaeb94f4d48b88f2d480798420.tar.gz
xfsdump: add a watch file into the debian packaging
Apparently it can improve some Debian tools that check it (e.g. UDD). Resolves Debian bug #748482. Signed-off-by: Nathan Scott <nathans@debian.org>
-rw-r--r--debian/Makefile2
-rw-r--r--debian/watch3
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/Makefile b/debian/Makefile
index 8839b3e9..9d706205 100644
--- a/debian/Makefile
+++ b/debian/Makefile
@@ -5,7 +5,7 @@
TOPDIR = ..
include $(TOPDIR)/include/builddefs
-LSRCFILES = changelog compat control copyright rules shlibs.local
+LSRCFILES = changelog compat control copyright rules shlibs.local watch
LDIRDIRT = xfsdump
LDIRT = files *.log *.substvars *.debhelper
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 00000000..68690eea
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/ \
+ftp://oss.sgi.com/projects/xfs/cmd_tars/xfsdump-(.+)\.tar\.gz