Change in osmo-msc[master]: contrib/osmo-msc.spec.in: depend on dbd-sqlite3

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/.

osmith gerrit-no-reply at lists.osmocom.org
Wed Mar 10 16:23:09 UTC 2021


osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-msc/+/23284 )

Change subject: contrib/osmo-msc.spec.in: depend on dbd-sqlite3
......................................................................

contrib/osmo-msc.spec.in: depend on dbd-sqlite3

Add the missing runtime dependency to the sqlite3 driver of libdbd.
The library does not provide a pkgconfig file, so using "pkgconfig(...)"
as done in the BuildRequires is not possible. Write both the OpenSUSE
and CentOS name with an if..else.

Fixes:
  <0009> db.c:648 Failed to create database connection to sqlite3 db 'sms.db';
                  Is the sqlite3 database driver for libdbi installed on this system?

Change-Id: Ia972944c300aecbb6ec460b2362aabff459baefd
---
M contrib/osmo-msc.spec.in
1 file changed, 5 insertions(+), 0 deletions(-)

Approvals:
  laforge: Looks good to me, but someone else must approve
  fixeria: Looks good to me, approved
  osmith: Verified
  Jenkins Builder: Verified



diff --git a/contrib/osmo-msc.spec.in b/contrib/osmo-msc.spec.in
index d588e5b..a832408 100644
--- a/contrib/osmo-msc.spec.in
+++ b/contrib/osmo-msc.spec.in
@@ -54,6 +54,11 @@
 BuildRequires:  pkgconfig(libasn1c) >= 0.9.30
 BuildRequires:  pkgconfig(libosmo-ranap) >= 0.3.0
 %endif
+%if 0%{?suse_version}
+Requires:       libdbi-drivers-dbd-sqlite3
+%else
+Requires:       libdbi-dbd-sqlite
+%endif
 
 %description
 The Mobile Switching Center (MSC) is the heart of 2G/3G

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

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: Ia972944c300aecbb6ec460b2362aabff459baefd
Gerrit-Change-Number: 23284
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Assignee: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: roox <mardnh at gmx.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210310/18a8bfe3/attachment.htm>


More information about the gerrit-log mailing list