Source: designate Version: 1:5.0.0-2 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: buildpath X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0], we noticed that designate could not be built reproducibly. In particular, the docs and the sample configuration file use the absolute build path, although it is commented out. Thus, clearing it in this patch should be safe. Patch attached. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
diff --git a/designate/__init__.py b/designate/__init__.py index befb2d0..4a0b255 100644 --- a/designate/__init__.py +++ b/designate/__init__.py @@ -32,8 +32,7 @@ designate_opts = [ help='Name of this node'), cfg.StrOpt( 'pybasedir', - default=os.path.abspath(os.path.join(os.path.dirname(__file__), - '../')), + default='', help='Directory where the designate python module is installed' ), cfg.StrOpt('state-path', default='/var/lib/designate',