aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2020-05-14 11:36:18 +0200
committerOliver Smith <osmith@sysmocom.de>2020-05-19 15:20:26 +0200
commit4da2ed46b11de3648c7d106ce438c6f4ecdd81a8 (patch)
tree3f162a01d554f3822749f8d0558b3a09f4ad24f1
parent552ea2a31e69ca90f1ed417d41e84714583a2d63 (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: If771c1298c84868a9ab0b0aba8d26325c3d810e8
-rw-r--r--.gitignore2
-rw-r--r--configure.ac3
-rw-r--r--contrib/libsmpp34.spec.in (renamed from contrib/libsmpp34.spec)5
3 files changed, 5 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
index 20adb5a..602e974 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,3 +19,5 @@ debian/autoreconf*
debian/tmp
debian/*.log
debian/*.substvars
+
+contrib/libsmpp34.spec
diff --git a/configure.ac b/configure.ac
index 775b3b7..b25602d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -87,4 +87,5 @@ AC_OUTPUT([Makefile
def_list/Makefile
binaries/Makefile
test_apps/Makefile
- libsmpp34.pc])
+ libsmpp34.pc
+ contrib/libsmpp34.spec])
diff --git a/contrib/libsmpp34.spec b/contrib/libsmpp34.spec.in
index a6dd384..eba7dbd 100644
--- a/contrib/libsmpp34.spec
+++ b/contrib/libsmpp34.spec.in
@@ -13,12 +13,9 @@
# 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 sover 1
Name: libsmpp34
-Version: 1.14.0.1
+Version: @VERSION@
Release: 0
Summary: PDU SMPP packaging and unpackaging tool
License: GPL-2.0-or-later AND LGPL-2.1-or-later