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
This commit is contained in:
Oliver Smith 2020-05-14 11:36:18 +02:00
parent 552ea2a31e
commit 4da2ed46b1
3 changed files with 5 additions and 5 deletions

2
.gitignore vendored
View File

@ -19,3 +19,5 @@ debian/autoreconf*
debian/tmp
debian/*.log
debian/*.substvars
contrib/libsmpp34.spec

View File

@ -87,4 +87,5 @@ AC_OUTPUT([Makefile
def_list/Makefile
binaries/Makefile
test_apps/Makefile
libsmpp34.pc])
libsmpp34.pc
contrib/libsmpp34.spec])

View File

@ -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