]> git.pld-linux.org Git - packages/wireshark.git/commitdiff
fix build without gui
authorJan Palus <atler@pld-linux.org>
Mon, 18 Sep 2023 11:55:41 +0000 (13:55 +0200)
committerJan Palus <atler@pld-linux.org>
Mon, 18 Sep 2023 11:55:41 +0000 (13:55 +0200)
wireshark.spec

index 6b70d1f6709ee5227a732f83905e474be31242e9..ad2ab349988aa86ebbe55f9e5a593f9f734f17df 100644 (file)
@@ -57,7 +57,7 @@ BuildRequires:        opus-devel
 BuildRequires: perl-tools-pod
 BuildRequires: pkgconfig >= 1:0.7
 BuildRequires: python3 >= 1:3.6
-BuildRequires: rpmbuild(macros) >= 1.605
+BuildRequires: rpmbuild(macros) >= 1.742
 BuildRequires: ruby-asciidoctor >= 1.5
 %{?with_gui:BuildRequires:     sbc-devel >= 1.0}
 BuildRequires: sed >= 4.0
@@ -283,7 +283,7 @@ cd build
        -DBUILD_mmdbresolve=ON \
        -DBUILD_randpktdump=ON \
        -DBUILD_tfshark=OFF \
-       -DBUILD_wireshark=ON \
+       %{cmake_on_off gui BUILD_wireshark} \
        -DCMAKE_INSTALL_DATADIR:PATH=share/wireshark \
        -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \
        -DDISABLE_WERROR=ON \
This page took 0.181151 seconds and 4 git commands to generate.