diff options
Diffstat (limited to '')
-rw-r--r-- | t/recipes/checks/md5sums/md5sums-general/build-spec/debian/rules | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/t/recipes/checks/md5sums/md5sums-general/build-spec/debian/rules b/t/recipes/checks/md5sums/md5sums-general/build-spec/debian/rules new file mode 100644 index 0000000..6971ee0 --- /dev/null +++ b/t/recipes/checks/md5sums/md5sums-general/build-spec/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +FIND ?= find + +%: + dh $@ + +override_dh_builddeb: + echo "Broken md5sum" > $$($(FIND) debian/ -name 'data-file1') + sed -i 's/data-file2/data-file5/' $$($(FIND) -name 'md5sums') + echo "broken-md5sums" >> $$($(FIND) -name 'md5sums') + dh_builddeb |