summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debian/watch/watch-file-should-mangle-unrel/build-spec
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/debian/watch/watch-file-should-mangle-unrel/build-spec')
-rw-r--r--t/recipes/checks/debian/watch/watch-file-should-mangle-unrel/build-spec/debian/watch4
-rw-r--r--t/recipes/checks/debian/watch/watch-file-should-mangle-unrel/build-spec/fill-values4
2 files changed, 8 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/watch/watch-file-should-mangle-unrel/build-spec/debian/watch b/t/recipes/checks/debian/watch/watch-file-should-mangle-unrel/build-spec/debian/watch
new file mode 100644
index 0000000..9104ee4
--- /dev/null
+++ b/t/recipes/checks/debian/watch/watch-file-should-mangle-unrel/build-spec/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts="uversionmangle=s/.pre/~pre/,dversionmangle=s/@DEB_EXT@//,repacksuffix=+ds1" \
+ https://github.com/user/project/tags \
+ (?:.*?/)project@ANr_VERSION@\.tar\.gz
diff --git a/t/recipes/checks/debian/watch/watch-file-should-mangle-unrel/build-spec/fill-values b/t/recipes/checks/debian/watch/watch-file-should-mangle-unrel/build-spec/fill-values
new file mode 100644
index 0000000..8d0af82
--- /dev/null
+++ b/t/recipes/checks/debian/watch/watch-file-should-mangle-unrel/build-spec/fill-values
@@ -0,0 +1,4 @@
+Testname: watch-file-should-mangle-unrel
+Skeleton: upload-non-native
+Version: 1+dfsg-1
+Description: Watch file should mangle version (false-positive)