Skip to content

Commit

Permalink
debian: exclude python3* packages in dh_shlibdeps
Browse files Browse the repository at this point in the history
since we are not using subvar of ${shlibs:Depends} in python3-* packages,
just exclude them in dh_shlibdeps.
this silences warnings like
```
warning: dpkg-gencontrol: package python3-cephfs: unused substitution
variable ${shlibs:Depends}
```

Signed-off-by: Kefu Chai <kchai@redhat.com>
  • Loading branch information
tchaikov committed Aug 19, 2016
1 parent 49a4bd9 commit f140a8c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,9 @@ override_dh_strip:
dh_strip -pceph-test --dbg-package=ceph-test-dbg

override_dh_shlibdeps:
dh_shlibdeps -a --exclude=erasure-code --exclude=rados-classes --exclude=compressor --exclude=python-rados --exclude=python-cephfs --exclude=python-rbd
dh_shlibdeps -a --exclude=erasure-code --exclude=rados-classes --exclude=compressor \
--exclude=python-rados --exclude=python-cephfs --exclude=python-rbd \
--exclude=python3-rados --exclude=python3-cephfs --exclude=python3-rbd \

override_dh_python2:
for binding in rados cephfs rbd; do \
Expand Down

0 comments on commit f140a8c

Please sign in to comment.