Compare commits

..

3 commits

Author SHA1 Message Date
Filipe Rosset
89f3a43764 drop ix86 support 2026-07-20 17:37:40 -03:00
Fedora Release Engineering
398b100476 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 09:42:19 +00:00
f210251e36 spec cleanup, enable tests
Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>
2026-06-18 23:40:59 -03:00
2 changed files with 12 additions and 10 deletions

View file

@ -1,5 +1,5 @@
--- src/CMakeLists.txt-orig 2025-05-12 18:12:45.000000000 -0300
+++ src/CMakeLists.txt 2025-11-09 02:34:07.156908310 -0300
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -274,7 +274,7 @@
zblocklist
ziterate

View file

@ -1,4 +1,3 @@
%global __cmake_in_source_build 1
%bcond_with pfring
%bcond_without debug
@ -6,11 +5,11 @@ Name: zmap
Version: 4.4.0
Release: %autorelease
Summary: Network scanner for Internet-wide network studies
# Automatically converted from old format: ASL 2.0 - review is highly recommended.
License: Apache-2.0
URL: https://zmap.io
Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0: zmap-bin-sbin-merge.patch
Patch: zmap-bin-sbin-merge.patch
ExcludeArch: %{ix86}
BuildRequires: byacc
BuildRequires: cmake
BuildRequires: flex
@ -21,6 +20,8 @@ BuildRequires: json-c-devel
BuildRequires: Judy-devel
BuildRequires: libpcap-devel
BuildRequires: libunistring-devel
BuildRequires: make
BuildRequires: ninja-build
%description
ZMap is an open-source network scanner that enables researchers to easily
@ -41,22 +42,23 @@ respect requests to stop scanning and to exclude these networks from ongoing
scanning.
%prep
%autosetup -p 0
%autosetup -p1
chmod 644 -v examples/udp-probes/*
find ./examples/ -type f -exec sed -i 's/\r$//' {} \+
%build
%cmake -DENABLE_DEVELOPMENT=OFF \
-DENABLE_LOG_TRACE=OFF \
-DWITH_JSON=ON \
-DWITH_PFRING=OFF
%cmake_build
chmod 644 -v examples/udp-probes/*
find ./examples/ -type f -exec sed -i 's/\r$//' {} \+
%install
%cmake_install
%check
%make_build -C test/unit run CC=%{__cc} CFLAGS="%{optflags} -I../../src"
%files
%doc AUTHORS CHANGELOG.md README.md examples/
%license LICENSE