X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=sipp.spec;fp=sipp.spec;h=6e9f59f3fa5c3d377a97828793579743c70933cc;hb=3807eea2d015e91b7b7ab5a65a317270c476e3f1;hp=c8634c6000c419d350d5f27712086fa65190aff3;hpb=e6825a1985abe2f4a5ef179265641adac6bc0bb1;p=packages%2Fsipp.git diff --git a/sipp.spec b/sipp.spec index c8634c6..6e9f59f 100644 --- a/sipp.spec +++ b/sipp.spec @@ -1,3 +1,8 @@ + +%bcond_with options_is_ping # make sipp treat OPTIONS same as PING + # changes sipp behaviour, but that is + # what everybody use for 'pinging' + Summary: SIPp - a performance testing tool for the SIP protocol Name: sipp Version: 3.3 @@ -9,6 +14,7 @@ Source0: http://dl.sourceforge.net/sipp/%{name}-%{version}.tar.xz Patch0: %{name}-headers.patch Patch1: %{name}-sprintf.patch Patch2: %{name}-stats_crash.patch +Patch3: %{name}-OPTIONS_is_ping.patch URL: http://sipp.sourceforge.net/ BuildRequires: libpcap-devel BuildRequires: libstdc++-devel @@ -37,6 +43,7 @@ system. %patch0 -p1 %patch1 -p1 %patch2 -p1 +%{?with_options_is_ping:%patch3 -p1} %build