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-hlr/+/18295 )
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: I38f80d0f867a2bbaa09b5a42cad5028f23a8effa
---
M contrib/osmo-hlr.spec
1 file changed, 8 insertions(+), 6 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-hlr refs/changes/95/18295/1
diff --git a/contrib/osmo-hlr.spec b/contrib/osmo-hlr.spec
index 3b5a9fa..4970a01 100644
--- a/contrib/osmo-hlr.spec
+++ b/contrib/osmo-hlr.spec
@@ -13,12 +13,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-hlr
-Version: 1.2.0.48
+Version: 0.0.0
Release: 0
Summary: Osmocom Home Location Register for GSUP protocol towards OsmoSGSN and OsmoCSCN
License: AGPL-3.0-or-later AND GPL-2.0-or-later
@@ -29,8 +25,12 @@
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig >= 0.20
-BuildRequires: python2
+BuildRequires: python3
+%if 0%{?centos_ver}
+BuildRequires: systemd
+%else
BuildRequires: systemd-rpm-macros
+%endif
BuildRequires: pkgconfig(libosmoabis) >= 0.6.0
BuildRequires: pkgconfig(libosmocore) >= 1.2.0
BuildRequires: pkgconfig(libosmoctrl) >= 1.2.0
@@ -128,6 +128,7 @@
%check
make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
+%if 0%{?suse_version}
%preun
%service_del_preun %{name}.service
@@ -139,6 +140,7 @@
%post
%service_add_post %{name}.service
+%endif
%post -n libosmo-gsup-client0 -p /sbin/ldconfig
%postun -n libosmo-gsup-client0 -p /sbin/ldconfig
--
To view, visit https://gerrit.osmocom.org/c/osmo-hlr/+/18295
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Change-Id: I38f80d0f867a2bbaa09b5a42cad5028f23a8effa
Gerrit-Change-Number: 18295
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/6af2cd42/attachment.htm>