From eca127c9b373f984ea8d7b47914aefa87a920995 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Thu, 14 May 2020 11:32:12 +0200 Subject: [PATCH] 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: I8b4646ffc8c79d717ada2f0d8da14a721000c2e4 --- .gitignore | 2 ++ configure.ac | 3 ++- contrib/{libosmo-netif.spec => libosmo-netif.spec.in} | 7 +------ 3 files changed, 5 insertions(+), 7 deletions(-) rename contrib/{libosmo-netif.spec => libosmo-netif.spec.in} (95%) diff --git a/.gitignore b/.gitignore index 23d5b42..4296476 100644 --- a/.gitignore +++ b/.gitignore @@ -58,3 +58,5 @@ jibuf_tool osmux_test2 stream_test amr_test + +contrib/libosmo-netif.spec diff --git a/configure.ac b/configure.ac index d4fbec4..4c0e0b4 100644 --- a/configure.ac +++ b/configure.ac @@ -133,4 +133,5 @@ AC_OUTPUT( examples/Makefile tests/Makefile Doxyfile - Makefile) + Makefile + contrib/libosmo-netif.spec) diff --git a/contrib/libosmo-netif.spec b/contrib/libosmo-netif.spec.in similarity index 95% rename from contrib/libosmo-netif.spec rename to contrib/libosmo-netif.spec.in index 90678b7..98d021b 100644 --- a/contrib/libosmo-netif.spec +++ b/contrib/libosmo-netif.spec.in @@ -12,13 +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.7.0.13 Name: libosmo-netif -Version: 0.7.0.13 +Version: @VERSION@ Release: 0 Summary: Osmocom library for muxed audio License: GPL-2.0-or-later