aboutsummaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2018-11-08 09:09:19 +0100
committerDario Lombardo <lomato@gmail.com>2018-11-08 15:55:20 +0000
commit50a0a78bd0a821c9b2904db7ff1e2a306d6f2183 (patch)
tree81a28eaa8e46a6876fb7b1f0137a44edd8c5fbef /packaging
parentfe3010e8823d1105d9441c7652e37b8c6a35fc6d (diff)
rpm: update all rpm files for using python3.
This includes: - tools/rpm-setup.sh - packaging/rpm/wireshark.spec.in Fixes: v2.9.0rc0-2460-ge9f7bb5127 ("Require Python 3, drop Python 2 support") Change-Id: I9fb92be936dec5fdb819a54e132e64521fa95bbb Reviewed-on: https://code.wireshark.org/review/30543 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com> Reviewed-by: Dario Lombardo <lomato@gmail.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/rpm/wireshark.spec.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/rpm/wireshark.spec.in b/packaging/rpm/wireshark.spec.in
index f675362251..066437ce7f 100644
--- a/packaging/rpm/wireshark.spec.in
+++ b/packaging/rpm/wireshark.spec.in
@@ -51,11 +51,12 @@ BuildRoot: /tmp/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if 0%{?rhel}
BuildRequires: cmake3 >= 3.5
+BuildRequires: python34
%else
BuildRequires: cmake >= 3.5
+BuildRequires: python3
%endif
BuildRequires: gcc
-BuildRequires: python3
BuildRequires: perl
BuildRequires: flex
BuildRequires: bison