Change in osmo-cbc[master]: contrib/osmo-cbc.spec: Add sub-package osmo-cbc-utils

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Sun Jan 24 15:14:52 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-cbc/+/22412 )

Change subject: contrib/osmo-cbc.spec: Add sub-package osmo-cbc-utils
......................................................................

contrib/osmo-cbc.spec: Add sub-package osmo-cbc-utils

This sub-package contains cbc-apitool.py

Change-Id: Id1ba3a26f3b40a42c69c61e844f00f2ddc70941b
---
M contrib/osmo-cbc.spec.in
1 file changed, 12 insertions(+), 0 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/contrib/osmo-cbc.spec.in b/contrib/osmo-cbc.spec.in
index bd90c51..5ed5fc9 100644
--- a/contrib/osmo-cbc.spec.in
+++ b/contrib/osmo-cbc.spec.in
@@ -47,6 +47,14 @@
 %description
 OsmoCBC: Osmocom's Cell Broadcast Centre for 3GPP mobile networks.
 
+%package utils
+Summary:	CLI utility to interface osmo-cbc REST interface
+License:	AGPL-3.0-or-later
+Group:		Productivity/Telephony/Utilities
+
+%description utils
+CLI utility to interface with the osmo-cbc REST interface (ECBE).
+
 %prep
 %setup -q
 
@@ -60,6 +68,7 @@
 
 %install
 %make_install
+install -m 755 contrib/cbc-apitool.py %{buildroot}/usr/bin/cbc-apitool.py
 
 %if 0%{?suse_version}
 %preun
@@ -89,4 +98,7 @@
 %config(noreplace) %{_sysconfdir}/osmocom/osmo-cbc.cfg
 %{_unitdir}/%{name}.service
 
+%files utils
+%{_bindir}/cbc-apitool.py
+
 %changelog

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-cbc/+/22412
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-cbc
Gerrit-Branch: master
Gerrit-Change-Id: Id1ba3a26f3b40a42c69c61e844f00f2ddc70941b
Gerrit-Change-Number: 22412
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210124/6121cbb7/attachment.htm>


More information about the gerrit-log mailing list