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.orglaforge has submitted this change. ( 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 @VERSION@, make it build with CentOS 8 etc. Related: OS#4550 Change-Id: I1d03ac87a7d0c3c600d187f3e485cb2dab8838bb --- M .gitignore M configure.ac R contrib/osmo-mgw.spec.in 3 files changed, 9 insertions(+), 1 deletion(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/.gitignore b/.gitignore index 900c09c..d3324bb 100644 --- a/.gitignore +++ b/.gitignore @@ -61,3 +61,5 @@ doc/manuals/osmomsc-usermanual.xml doc/manuals/common doc/manuals/build + +contrib/osmo-mgw.spec diff --git a/configure.ac b/configure.ac index 349c8db..7c63437 100644 --- a/configure.ac +++ b/configure.ac @@ -209,4 +209,5 @@ doc/manuals/Makefile contrib/Makefile contrib/systemd/Makefile + contrib/osmo-mgw.spec Makefile) diff --git a/contrib/osmo-mgw.spec b/contrib/osmo-mgw.spec.in similarity index 97% rename from contrib/osmo-mgw.spec rename to contrib/osmo-mgw.spec.in index 2aeed06..09d5a09 100644 --- a/contrib/osmo-mgw.spec +++ b/contrib/osmo-mgw.spec.in @@ -16,7 +16,7 @@ # Name: osmo-mgw -Version: 1.7.0.13 +Version: @VERSION@ 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,9 @@ BuildRequires: automake >= 1.9 BuildRequires: libtool >= 2 BuildRequires: pkgconfig >= 0.20 +%if 0%{?suse_version} 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 +90,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 +103,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: 2 Gerrit-Owner: osmith <osmith at sysmocom.de> 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/20200520/203c0cbb/attachment.htm>