aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2020-05-14 11:37:27 +0200
committerOliver Smith <osmith@sysmocom.de>2020-05-19 15:20:38 +0200
commitf96964eea45df71954797c7d3b7d3d750528ed73 (patch)
tree432534a02803349f220e79806f985a2aedf61856
parent1f6f519b225e0da41845f9e8809293403f59b83e (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: I453ff45ec449834dfee298ecc6015e6d54768bea
-rw-r--r--.gitignore2
-rw-r--r--configure.ac2
-rw-r--r--contrib/libusrp.spec.in (renamed from contrib/libusrp.spec)6
3 files changed, 4 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index bba7cb0..27ef9d0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -36,3 +36,5 @@
/config.sub
/m4/libtool.m4
/m4/lt*.m4
+
+contrib/libusrp.spec
diff --git a/configure.ac b/configure.ac
index 3f02c14..0b38b93 100644
--- a/configure.ac
+++ b/configure.ac
@@ -110,4 +110,4 @@ AC_CONFIG_FILES([
fpga/rbf/rev2/Makefile
fpga/rbf/rev4/Makefile
])
-AC_OUTPUT
+AC_OUTPUT([contrib/libusrp.spec])
diff --git a/contrib/libusrp.spec b/contrib/libusrp.spec.in
index 2ba813a..65fa92b 100644
--- a/contrib/libusrp.spec
+++ b/contrib/libusrp.spec.in
@@ -13,14 +13,10 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
-#
-
-
%define sover -3_4_4+git_20190808-0
%define libname libusrp%{sover}
Name: libusrp
-Version: 3.4.4+git.20190808
+Version: @VERSION@
Release: 0
Summary: Stand-alone libusrp for USRP1 from old gnuradio.git
License: GPL-3.0-or-later