aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2020-05-14 11:21:59 +0200
committerOliver Smith <osmith@sysmocom.de>2020-05-19 15:19:35 +0200
commit01b2d940a048c421dd6d2a0b5d2b4cf86d0e6968 (patch)
tree6d646c67e7d929b9cc61deafcdd2cdc63668b233
parent2f276eb3c6f62a6b76d514fccd1d35d4e80d6f75 (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: I5376fde96c7442eb70f49a2ce38f57a817a94f81
-rw-r--r--.gitignore2
-rw-r--r--configure.ac3
-rw-r--r--contrib/libgtpnl.spec.in (renamed from contrib/libgtpnl.spec)6
3 files changed, 5 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index 7289d72..ede9b4e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -31,3 +31,5 @@ debian/tmp
debian/libgtpnl-dev
debian/libgtpnl-dbg
debian/libgtpnl0
+
+contrib/libgtpnl.spec
diff --git a/configure.ac b/configure.ac
index f7580e6..6962261 100644
--- a/configure.ac
+++ b/configure.ac
@@ -53,4 +53,5 @@ regular_CFLAGS="-Wall -Waggregate-return -Wmissing-declarations \
AC_SUBST([regular_CPPFLAGS])
AC_SUBST([regular_CFLAGS])
AC_CONFIG_FILES([Makefile src/Makefile include/Makefile include/libgtpnl/Makefile include/linux/Makefile tools/Makefile libgtpnl.pc])
-AC_OUTPUT
+AC_OUTPUT(
+ contrib/libgtpnl.spec)
diff --git a/contrib/libgtpnl.spec b/contrib/libgtpnl.spec.in
index e067596..8453612 100644
--- a/contrib/libgtpnl.spec
+++ b/contrib/libgtpnl.spec.in
@@ -12,12 +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/
-#
-
-
Name: libgtpnl
-Version: 1.2.1.0
+Version: @VERSION@
Release: 0
Summary: GPRS tunnel configuration library
License: GPL-2.0-or-later AND LGPL-2.1-or-later