mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-cbc.git
synced 2025-10-23 00:12:21 +00:00
debian: Package cbc-apitool.py as a sub-package
We don't want osmo-cbc to depend on python3 at runtime, so let's use a sub-package for osmo-cbc-apitool.py Change-Id: Id16613811993a2baa06ebc2da6c6591ace70a3f9
This commit is contained in:
6
debian/control
vendored
6
debian/control
vendored
@@ -27,6 +27,12 @@ Multi-Arch: foreign
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Description: OsmoCBC: Osmocom's Cell Broadcast Center
|
||||
|
||||
Package: osmo-cbc-utils
|
||||
Architecture: any
|
||||
Multi-Arch: foreign
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, python3
|
||||
Description: Utilities for OsmoCBC: Osmocom's Cell Broadcast Center
|
||||
|
||||
Package: osmo-cbc-dbg
|
||||
Section: debug
|
||||
Architecture: any
|
||||
|
1
debian/osmo-cbc-utils.install
vendored
Normal file
1
debian/osmo-cbc-utils.install
vendored
Normal file
@@ -0,0 +1 @@
|
||||
usr/bin/cbc-apitool.py
|
5
debian/rules
vendored
5
debian/rules
vendored
@@ -50,8 +50,9 @@ override_dh_auto_configure:
|
||||
dh_auto_configure -- $(CONFIGURE_FLAGS)
|
||||
#
|
||||
# Do not install libtool archive, python .pyc .pyo
|
||||
#override_dh_install:
|
||||
# dh_install --list-missing -X.la -X.pyc -X.pyo
|
||||
override_dh_install:
|
||||
install -m 755 contrib/cbc-apitool.py debian/tmp/usr/bin/cbc-apitool.py
|
||||
dh_install
|
||||
|
||||
# See https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-dbg
|
||||
override_dh_strip:
|
||||
|
Reference in New Issue
Block a user