Package: libyang
Version: 1.0.225-1.1
Severity: normal

Dear Maintainer,

the DEP8 tests for libyang are failing:
https://ci.debian.net/packages/liby/libyang/

The reason is that d/t/control install libyang-tools, but there is a
transition going on and this line actually pulls in libyang2-tools.
The path to the test file differs in libyang2-tools., and the test
fails:

cp: cannot stat
'/usr/share/doc/libyang-tools/examples/ietf-interfaces.yang': No such
file or directory

I believe the correct fix is for d/t/control to use "@" to specify the
just-built packages, instead of the libyang-tools, which will come
from the archive and pick up the transitional package:

diff --git a/debian/tests/control b/debian/tests/control
index ca73c4a5..0da3e4ea 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,3 @@
 Tests: yanglint
 Depends: gzip,
-         libyang-tools
+         @

Reply via email to