aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2020-05-14 11:30:01 +0200
committerOliver Smith <osmith@sysmocom.de>2020-05-19 17:08:23 +0200
commit85887b2eee34e1e526b09cfbfcf1c2ab027abe50 (patch)
treeb57b83a7144e1a6a3c27144256f7525b24fad3a8
parent39dffb6c29a8d78ba8527aa4ccc13f34d1c3b319 (diff)
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: I3e135e5e7807688366598a24e121550d6292906c
-rw-r--r--.gitignore2
-rw-r--r--configure.ac3
-rw-r--r--contrib/libosmo-abis.spec.in (renamed from contrib/libosmo-abis.spec)10
3 files changed, 5 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index 08b34f1..2eee9cd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -44,3 +44,5 @@ tests/ipa_recv/ipa_recv_test
# vi/vim files
*.sw?
+
+contrib/libosmo-abis.spec
diff --git a/configure.ac b/configure.ac
index 1e9cb26..f095cf5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -167,4 +167,5 @@ AC_OUTPUT(
include/Makefile
src/Makefile
tests/Makefile
- Makefile)
+ Makefile
+ contrib/libosmo-abis.spec)
diff --git a/contrib/libosmo-abis.spec b/contrib/libosmo-abis.spec.in
index ac91c60..3ad36b1 100644
--- a/contrib/libosmo-abis.spec
+++ b/contrib/libosmo-abis.spec.in
@@ -12,14 +12,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/
-#
-
-
-%define version_unconverted 0.8.0.26
-
Name: libosmo-abis
-Version: 0.8.0.26
+Version: @VERSION@
Release: 0
Summary: Osmocom library for A-bis interface between BTS and BSC
License: AGPL-3.0-or-later AND GPL-2.0-or-later
@@ -27,7 +21,6 @@ Group: Productivity/Telephony/Utilities
Url: https://osmocom.org/projects/libosmo-abis/wiki/Libosmo-abis
Source: %name-%version.tar.xz
-Patch1: osmo-talloc.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: automake >= 1.6
#BuildRequires: dahdi-linux-devel
@@ -103,7 +96,6 @@ applications that want to make use of libosmotrau.
%prep
%setup -q
-%patch -P 1 -p1 -F2
%build
echo "%version" >.tarball-version