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.orgosmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-sip-connector/+/18311 )
Change subject: contrib: integrate RPM spec
......................................................................
contrib: integrate RPM spec
Remove OpenSUSE bug report link, set version to 0.0.0, make it build with CentOS 8 etc.
Related: OS#4550
Change-Id: I387b41b6c524cd3f6baad7e89b4b6b347d9998ac
---
M contrib/osmo-sip-connector.spec
1 file changed, 7 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-sip-connector refs/changes/11/18311/1
diff --git a/contrib/osmo-sip-connector.spec b/contrib/osmo-sip-connector.spec
index b6db802..74c21f5 100644
--- a/contrib/osmo-sip-connector.spec
+++ b/contrib/osmo-sip-connector.spec
@@ -12,11 +12,8 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
-#
-
Name: osmo-sip-connector
-Version: 1.4.0.0
+Version: 0.0.0
Release: 0
Summary: MNCC to SIP bridge for osmo-nitb
License: AGPL-3.0-or-later AND GPL-2.0-or-later
@@ -27,7 +24,11 @@
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig >= 0.20
+%if 0%{?centos_ver}
+BuildRequires: systemd
+%else
BuildRequires: systemd-rpm-macros
+%endif
BuildRequires: pkgconfig(libosmocore) >= 1.0.0
BuildRequires: pkgconfig(libosmogsm) >= 1.0.0
BuildRequires: pkgconfig(libosmovty) >= 1.0.0
@@ -51,6 +52,7 @@
%install
%make_install
+%if 0%{?suse_version}
%preun
%service_del_preun %{name}.service
@@ -62,6 +64,7 @@
%post
%service_add_post %{name}.service
+%endif
%check
make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
--
To view, visit https://gerrit.osmocom.org/c/osmo-sip-connector/+/18311
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-sip-connector
Gerrit-Branch: master
Gerrit-Change-Id: I387b41b6c524cd3f6baad7e89b4b6b347d9998ac
Gerrit-Change-Number: 18311
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200515/ccc29359/attachment.htm>