Package: src:elastalert
Version: 0.2.0b2-1
Tags: patch

Dear maintainer:

This package does not build twice in a row. Way to reproduce:

dpkg-buildpackage -uc -us
dpkg-buildpackage -uc -us

This is what will happen the second time:

dpkg-source: info: local changes detected, the modified files are:
 elastalert-0.2.0b2/.pytest_cache/README.md
 elastalert-0.2.0b2/.pytest_cache/v/cache/nodeids
 elastalert-0.2.0b2/.pytest_cache/v/cache/stepwise

Proposed patch below.

Note: This change was already in the package I put in people.debian.org.
Apparently, I forgot to document that it was required to be able to
build twice in a row.

Thanks.

--- a/debian/rules
+++ b/debian/rules
@@ -11,3 +11,6 @@ override_dh_auto_build:
        dh_auto_build
        PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml 
docs/source build/html # HTML generator
 
+override_dh_auto_clean:
+       dh_auto_clean
+       rm -rf .pytest_cache

Reply via email to