diff --git a/python-fmclient/debian/deb_folder/copyright b/python-fmclient/debian/deb_folder/copyright index 73f9e244..64ded9aa 100644 --- a/python-fmclient/debian/deb_folder/copyright +++ b/python-fmclient/debian/deb_folder/copyright @@ -3,7 +3,7 @@ Upstream-Name: python-fmclient Source: https://opendev.org/starlingx/fault Files: * -Copyright: (c) 2013-2021 Wind River Systems, Inc +Copyright: (c) 2013-2023 Wind River Systems, Inc Copyright: Others (See individual files for more details) License: Apache-2 Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,7 +24,7 @@ License: Apache-2 # If you want to use GPL v2 or later for the /debian/* files use # the following clauses, or change it to suit. Delete these two lines Files: debian/* -Copyright: 2021 Wind River Systems, Inc +Copyright: 2021-2023 Wind River Systems, Inc License: Apache-2 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/python-fmclient/debian/deb_folder/python3-fmclient.dirs b/python-fmclient/debian/deb_folder/python3-fmclient.dirs new file mode 100644 index 00000000..e584b125 --- /dev/null +++ b/python-fmclient/debian/deb_folder/python3-fmclient.dirs @@ -0,0 +1 @@ +usr/share/bash-completion/completions diff --git a/python-fmclient/debian/deb_folder/python3-fmclient.install b/python-fmclient/debian/deb_folder/python3-fmclient.install index 134be15e..82db8ddb 100644 --- a/python-fmclient/debian/deb_folder/python3-fmclient.install +++ b/python-fmclient/debian/deb_folder/python3-fmclient.install @@ -1 +1 @@ -tools/fm.bash_completion usr/share/bash-completion/completions/fm +usr/share/bash-completion/completions/fm.bash diff --git a/python-fmclient/debian/deb_folder/rules b/python-fmclient/debian/deb_folder/rules index a13d829b..6708a82a 100755 --- a/python-fmclient/debian/deb_folder/rules +++ b/python-fmclient/debian/deb_folder/rules @@ -11,4 +11,5 @@ export ROOT=$(CURDIR)/debian/tmp override_dh_install: python3 setup.py install -f --install-layout=deb --root=$(ROOT) python3 setup.py bdist_wheel --universal -d ${CURDIR}/debian/python-fmclient-wheel/usr/share/python-wheels + install -p -D -m 644 tools/fm.bash_completion ${ROOT}/usr/share/bash-completion/completions/fm.bash dh_install