aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2020-05-14 11:50:15 +0200
committerOliver Smith <osmith@sysmocom.de>2020-05-15 12:07:55 +0200
commit787cc3e60d8044766bf576d9327267308cccf4bb (patch)
treeeedbb0fdc3548df3b8470730af8b2829c26b694b
parent9d5fadcc7907ac36be0172bfca1785d797071f77 (diff)
contrib: integrate RPM specosmith/rpm
Remove OpenSUSE bug report link, set version to 0.0.0, make it build with CentOS 8 etc. Related: OS#4550 Change-Id: I7ac5f2c6bf11d88a3ebbc2f17d963d26f0b7de13
-rw-r--r--contrib/osmo-pcap.spec7
1 files changed, 3 insertions, 4 deletions
diff --git a/contrib/osmo-pcap.spec b/contrib/osmo-pcap.spec
index 9cbafbe..3049760 100644
--- a/contrib/osmo-pcap.spec
+++ b/contrib/osmo-pcap.spec
@@ -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: osmo-pcap
-Version: 0.1.2.0
+Version: 0.0.0
Release: 0
Summary: Osmocom's PCAP client and server
License: AGPL-3.0-or-later AND GPL-2.0-or-later
@@ -53,6 +50,7 @@ make %{?_smp_mflags}
%install
%make_install
+%if 0%{?suse_version}
%preun
%service_del_preun osmo-pcap-client.service osmo-pcap-server.service
@@ -64,6 +62,7 @@ make %{?_smp_mflags}
%post
%service_add_post osmo-pcap-client.service osmo-pcap-server.service
+%endif
%check
make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)