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-bts/+/18288 )
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: Ia160d1a04b95e9efeb6c26eabd28c3697968d177
---
M .gitignore
M configure.ac
R contrib/osmo-bts.spec.in
3 files changed, 10 insertions(+), 5 deletions(-)
Approvals:
laforge: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/.gitignore b/.gitignore
index 7422edb..9c2ff78 100644
--- a/.gitignore
+++ b/.gitignore
@@ -97,3 +97,5 @@
doc/manuals/osmomsc-usermanual.xml
doc/manuals/common
doc/manuals/build
+
+contrib/osmo-bts.spec
diff --git a/configure.ac b/configure.ac
index 3fc55e2..ef73b51 100644
--- a/configure.ac
+++ b/configure.ac
@@ -396,4 +396,5 @@
doc/manuals/Makefile
contrib/Makefile
contrib/systemd/Makefile
+ contrib/osmo-bts.spec
Makefile)
diff --git a/contrib/osmo-bts.spec b/contrib/osmo-bts.spec.in
similarity index 95%
rename from contrib/osmo-bts.spec
rename to contrib/osmo-bts.spec.in
index 2a423b2..c155921 100644
--- a/contrib/osmo-bts.spec
+++ b/contrib/osmo-bts.spec.in
@@ -12,22 +12,21 @@
# 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-bts
-Version: 1.2.0.49
+Version: @VERSION@
Release: 0
Summary: Osmocom BTS-Side code (Abis, scheduling)
License: AGPL-3.0-or-later AND GPL-2.0-only
Group: Productivity/Telephony/Servers
-URL: https://osmocom.org/projects/osmobts/wiki/Wiki
+URL: https://osmocom.org/projects/osmobts
Source: %{name}-%{version}.tar.xz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig >= 0.20
+%if 0%{?suse_version}
BuildRequires: systemd-rpm-macros
+%endif
BuildRequires: pkgconfig(libosmoabis) >= 0.6.0
BuildRequires: pkgconfig(libosmocodec) >= 1.2.0
BuildRequires: pkgconfig(libosmocoding) >= 1.2.0
@@ -38,6 +37,7 @@
BuildRequires: pkgconfig(libosmovty) >= 1.2.0
### FIXME: DependencyHACK to include osmocom/gprs/protocol/gsm_04_60.h
BuildRequires: pkgconfig(libosmogb)
+%{?systemd_requires}
%description
Osmocom BTS-Side code (A-bis, scheduling).
@@ -76,6 +76,7 @@
%install
%make_install
+%if 0%{?suse_version}
%pre %service_add_pre osmo-bts-trx.service
%post %service_add_post osmo-bts-trx.service
%preun %service_del_preun osmo-bts-trx.service
@@ -84,6 +85,7 @@
%post virtual %service_add_post osmo-bts-virtual.service
%preun virtual %service_del_preun osmo-bts-virtual.service
%postun virtual %service_del_postun osmo-bts-virtual.service
+%endif
%check
make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/18288
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ia160d1a04b95e9efeb6c26eabd28c3697968d177
Gerrit-Change-Number: 18288
Gerrit-PatchSet: 3
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/ce464467/attachment.htm>