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-mgw/+/18299 )
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: I1d03ac87a7d0c3c600d187f3e485cb2dab8838bb
---
M contrib/osmo-mgw.spec
1 file changed, 8 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/99/18299/1
diff --git a/contrib/osmo-mgw.spec b/contrib/osmo-mgw.spec
index 2aeed06..b83e91a 100644
--- a/contrib/osmo-mgw.spec
+++ b/contrib/osmo-mgw.spec
@@ -16,7 +16,7 @@
#
Name: osmo-mgw
-Version: 1.7.0.13
+Version: 0.0.0
Release: 0
Summary: Osmocom's Media Gateway for 2G and 3G circuit-switched mobile networks
License: AGPL-3.0-or-later AND GPL-2.0-or-later
@@ -26,7 +26,11 @@
BuildRequires: automake >= 1.9
BuildRequires: libtool >= 2
BuildRequires: pkgconfig >= 0.20
+%if 0%{?centos_ver}
+BuildRequires: systemd
+%else
BuildRequires: systemd-rpm-macros
+%endif
BuildRequires: pkgconfig(libosmo-netif) >= 0.6.0
BuildRequires: pkgconfig(libosmocore) >= 1.0.0
BuildRequires: pkgconfig(libosmoctrl) >= 1.1.0
@@ -88,6 +92,8 @@
%post -n libosmo-mgcp-client6 -p /sbin/ldconfig
%postun -n libosmo-mgcp-client6 -p /sbin/ldconfig
+
+%if 0%{?suse_version}
%preun
%service_del_preun osmo-mgw.service
@@ -99,6 +105,7 @@
%post
%service_add_post osmo-mgw.service
+%endif
%files
%license COPYING
--
To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/18299
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I1d03ac87a7d0c3c600d187f3e485cb2dab8838bb
Gerrit-Change-Number: 18299
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200515/d1398c07/attachment.htm>