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-ggsn/+/18293 ) 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: Iba04d5c7b9beee80baca83063f9cb2cd533a0003 --- M contrib/osmo-ggsn.spec 1 file changed, 7 insertions(+), 5 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/93/18293/1 diff --git a/contrib/osmo-ggsn.spec b/contrib/osmo-ggsn.spec index 15e4144..03bf0f0 100644 --- a/contrib/osmo-ggsn.spec +++ b/contrib/osmo-ggsn.spec @@ -12,16 +12,12 @@ # 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/ -# - ## Disable LTO for now since it breaks compilation of the tests ## https://osmocom.org/issues/4114 %define _lto_cflags %{nil} - Name: osmo-ggsn -Version: 1.5.0.31 +Version: 0.0.0 Release: 0 Summary: GPRS Support Node License: GPL-2.0-only AND LGPL-2.1-or-later @@ -30,7 +26,11 @@ Source: %{name}-%{version}.tar.xz BuildRequires: libtool >= 2 BuildRequires: pkgconfig >= 0.20 +%if 0%{?centos_ver} +BuildRequires: systemd +%else BuildRequires: systemd-rpm-macros +%endif BuildRequires: pkgconfig(libgtpnl) >= 1.0.0 BuildRequires: pkgconfig(libmnl) >= 1.0.3 BuildRequires: pkgconfig(libosmocore) >= 1.1.0 @@ -84,6 +84,7 @@ %check make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +) +%if 0%{?suse_version} %pre %service_add_pre %{name}.service @@ -95,6 +96,7 @@ %postun %service_del_postun %{name}.service +%endif %post -n libgtp6 -p /sbin/ldconfig %postun -n libgtp6 -p /sbin/ldconfig -- To view, visit https://gerrit.osmocom.org/c/osmo-ggsn/+/18293 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ggsn Gerrit-Branch: master Gerrit-Change-Id: Iba04d5c7b9beee80baca83063f9cb2cd533a0003 Gerrit-Change-Number: 18293 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/ad6851a3/attachment.htm>