]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfsprogs: add a watch file into the debian packaging
authorNathan Scott <nathans@redhat.com>
Wed, 16 Jul 2014 03:49:16 +0000 (13:49 +1000)
committerNathan Scott <nathans@redhat.com>
Wed, 16 Jul 2014 03:49:16 +0000 (13:49 +1000)
Apparently it can improve some Debian tools that check it (e.g. UDD).
Resolves Debian bug #748483.

Signed-off-by: Nathan Scott <nathans@debian.org>
debian/Makefile
debian/watch [new file with mode: 0644]

index 1ba204c3347e5b582b536746a839225b6813458e..2e8b1b080663d4b37e0be7568587d4b7125ab07b 100644 (file)
@@ -5,7 +5,7 @@
 TOPDIR = ..
 include $(TOPDIR)/include/builddefs
 
-LSRCFILES = changelog compat control copyright rules
+LSRCFILES = changelog compat control copyright rules watch
 DEV_DOC_DIR = $(PKG_DOC_DIR)/../xfslibs-dev
 BOOT_MKFS_BIN = $(TOPDIR)/mkfs/mkfs.xfs-xfsprogs-udeb
 LDIRDIRT = xfslibs-dev xfsprogs xfsprogs-udeb
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..0aa3e8d
--- /dev/null
@@ -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/xfsprogs-(.+)\.tar\.gz