diff options
author | Peter Wu <peter@lekensteyn.nl> | 2018-10-13 15:56:02 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-11-07 20:46:59 +0000 |
commit | e9f7bb512735aeb91a7a3a5fc05840fb2ee27d9e (patch) | |
tree | 2851b89e07fe3d7308276624ea9b3dde93103ffc /packaging/rpm | |
parent | 77114b721d6b8dfb085d13c83c9ef63cda4b8ec2 (diff) |
Require Python 3, drop Python 2 support
Python 3 is widely available. All major Linux distributions support it.
RHEL is covered via EPEL (which is already required for cmake3). Drop
support for Python 2 in order to reduce maintenance costs. The main
motivation is being able to simplify the tests.
CMake is updated to search for Python >= 3.4 and will fail if
unavailable (generating dissectors.c requires Python, so it is quite an
important piece to have).
The documentation is updated to reflect the Python 3.7 paths used by
Chocolatey. Tested the git-review installation instructions in Windows 7
x64 without a previous Chocolatey installation.
macOS brew now installs Python 3 (its dependencies are already installed
by python@2 for libxml2). The macOS (non-brew variant) is updated to use
the official 64-bit installer to install Python 3.
Change-Id: I80b1e36957f338e0dad1bfcc173b6418682cddba
Reviewed-on: https://code.wireshark.org/review/30192
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'packaging/rpm')
-rw-r--r-- | packaging/rpm/wireshark.spec.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/rpm/wireshark.spec.in b/packaging/rpm/wireshark.spec.in index 87b1d50d99..f675362251 100644 --- a/packaging/rpm/wireshark.spec.in +++ b/packaging/rpm/wireshark.spec.in @@ -55,7 +55,7 @@ BuildRequires: cmake3 >= 3.5 BuildRequires: cmake >= 3.5 %endif BuildRequires: gcc -BuildRequires: python +BuildRequires: python3 BuildRequires: perl BuildRequires: flex BuildRequires: bison |