From 4e73aaeba8fe30db1e8a385aadb425d43b4e2414 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Thu, 14 May 2020 11:55:53 +0200 Subject: [PATCH] contrib: integrate RPM spec Remove OpenSUSE bug report link, set version to 0.0.0, make it build with CentOS 8 etc. Related: OS#4550 Change-Id: I8595642bc07bf3044720942a0f1802448920cb50 --- .gitignore | 1 + host/configure.ac | 1 + host/contrib/{simtrace2.spec => simtrace2.spec.in} | 5 +---- 3 files changed, 3 insertions(+), 4 deletions(-) rename host/contrib/{simtrace2.spec => simtrace2.spec.in} (97%) diff --git a/.gitignore b/.gitignore index cb3ffb3b..a5393d97 100644 --- a/.gitignore +++ b/.gitignore @@ -20,5 +20,6 @@ tags host/simtrace2-list host/simtrace2-remsim host/simtrace2-remsim-usb2udp +host/contrib/simtrace2.spec usb_strings_generated.h firmware/usbstring/usbstring diff --git a/host/configure.ac b/host/configure.ac index 0f91cf21..bcdda08f 100644 --- a/host/configure.ac +++ b/host/configure.ac @@ -100,4 +100,5 @@ AC_OUTPUT( src/Makefile lib/Makefile contrib/Makefile + contrib/simtrace2.spec Makefile) diff --git a/host/contrib/simtrace2.spec b/host/contrib/simtrace2.spec.in similarity index 97% rename from host/contrib/simtrace2.spec rename to host/contrib/simtrace2.spec.in index c1bb325c..e2067b1d 100644 --- a/host/contrib/simtrace2.spec +++ b/host/contrib/simtrace2.spec.in @@ -12,11 +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: simtrace2 -Version: 0.7.0.57 +Version: @VERSION@ Release: 0 Summary: Osmocom SIMtrace host utility License: GPL-2.0-or-later