diff --git a/wireshark.spec b/wireshark.spec index 3f09ebc..2ac14cc 100644 --- a/wireshark.spec +++ b/wireshark.spec @@ -195,6 +195,7 @@ sed \ # for patch6 wireshark-1.12.x-allow-gdk-pixbuf-deprecation.patch autoreconf -fiv +# zlib-1.2.5 does not work well with wireshark, so disable it on pre-12.2 export CFLAGS="%optflags -fPIC -fPIE" export CXXFLAGS="%optflags -fPIC -fPIE" export LDFLAGS="-pie" @@ -205,7 +206,6 @@ export PATH="%{_libdir}/qt5/bin:$PATH" %endif %configure \ -# zlib-1.2.5 does not work well with wireshark, so disable it on pre-12.2 %if 0%{?suse_version} < 1220 --without-zlib \ %endif