Wireshark-commits: [Wireshark-commits] master-2.6 d86467a: RPM: remove dependency on the which util
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 14 Jan 2019 21:48:34 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d86467afc3f4e7ed0df051be41ac9d65a8a3bca1
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark

Commits:

d86467a by Peter Wu (peter@xxxxxxxxxxxxx):

    RPM: remove dependency on the which utility
    
    It is not necessary to know the full path to a program. Instead use the
    'type' shell builtin (part of POSIX) to detect availability.
    
    Change-Id: Id68b298625d389a1f7843f52f56312bf81d97b80
    Reviewed-on: https://code.wireshark.org/review/31540
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    (cherry picked from commit 60e32b6eb35f4ac5a7ced5b76a19d3d80e6e8e2d)
    Reviewed-on: https://code.wireshark.org/review/31547
    

Actions performed:

    from  89948ce   CMake: remove --clean from rpmbuild invocation
     add  d86467a   RPM: remove dependency on the which utility


Summary of changes:
 .gitlab-ci.yml                  |  4 +---
 packaging/rpm/wireshark.spec.in |  4 ++--
 tools/rpm-setup.sh              | 14 ++++++++------
 3 files changed, 11 insertions(+), 11 deletions(-)