Hi, I'm trying to create a rpm file Wireshark v4.0.0 using ninja the same way as for previous versions: 1. Running this command from an empty created 'build' directory: cmake3 -G Ninja -DBUILD_wireshark=OFF -DCMAKE_INSTALL_PREFIX=/usr .. 2. Running 'ninja wireshark_rpm' (in older versions 'ninja rpm_package') 3. got this error: The build system cannot produce a source tarball outside of a git repository. If you are trying to build an RPM package from source extracted from a tarball, copy it (i.e., wireshark-4.0.0.tar.xz) to /home/wireshark4_upgrade/wireshark_probe_3.6.5/build and run the build command again.
-> in order to fix it I created a tar with 'tar -czvf *' to all the wireshark dir and copied it to 'build' directory but then got this one: fatal: git get-tar-commit-id: EOF before reading tar header: No such file or directory
and a few lines after: or: Failed build dependencies: cmake >= 3.10 is needed by wireshark-4.0.0-1.x86_64
although I am running cmake version 3.24.3
Can someone please advice? Thanks in advance.