diff options
Diffstat (limited to 't/recipes/checks/md5sums/md5sums-general/build-spec/debian')
-rw-r--r-- | t/recipes/checks/md5sums/md5sums-general/build-spec/debian/install | 1 | ||||
-rw-r--r-- | t/recipes/checks/md5sums/md5sums-general/build-spec/debian/rules | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/t/recipes/checks/md5sums/md5sums-general/build-spec/debian/install b/t/recipes/checks/md5sums/md5sums-general/build-spec/debian/install new file mode 100644 index 0000000..399564c --- /dev/null +++ b/t/recipes/checks/md5sums/md5sums-general/build-spec/debian/install @@ -0,0 +1 @@ +data* usr/share/lintian/ 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 |