From Bugzilla Helper: User-Agent: Mozilla/4.75 [en] (X11; U; OpenBSD 2.9 i386) Description of problem: nmap-2.54BETA22-2.src.rpm will try to build even when there is no gtk+ installed on the system but fail to create any packages because obviously the frontend doesn't get built. How reproducible: Always Steps to Reproduce: 1. Remove gtk+ if you have it on your system. 2. rpm --rebuild nmap-2.54BETA22-2.src.rpm Actual Results: error: File not found: /var/tmp/nmap-root/usr/bin/nmapfe error: File not found: /var/tmp/nmap-root/usr/bin/xnmap error: File not found: /var/tmp/nmap-root/usr/share/man/man1/nmapfe.1.gz error: File not found: /var/tmp/nmap-root/usr/share/man/man1/xnmap.1.gz Requires: nmap = 2.54BETA22 gtk+ RPM build errors: File not found: /var/tmp/nmap-root/usr/bin/nmapfe File not found: /var/tmp/nmap-root/usr/bin/xnmap File not found: /var/tmp/nmap-root/usr/share/man/man1/nmapfe.1.gz File not found: /var/tmp/nmap-root/usr/share/man/man1/xnmap.1.gz Expected Results: error: failed build dependencies: gtk+ is needed by nmap-2.54BETA22-2 Additional info: The following patch should fix it: --- nmap.spec.orig Sun Jul 22 20:45:17 2001 +++ nmap.spec Sun Jul 22 20:47:14 2001 @@ -23,6 +23,7 @@ Summary: Gtk+ frontend for nmap Group: Applications/System Requires: nmap = %{PACKAGE_VERSION} , gtk+ +BuildRequires: gtk+ %description frontend This package includes nmapfe, a Gtk+ frontend for nmap. The nmap package must be installed before installing nmap-frontend. @@ -64,6 +65,9 @@ %{_mandir}/man1/xnmap.1.gz %changelog +* Sun Jul 22 2001 Heikki Korpela <heko> +- buildrequire gtk+ + * Tue Jul 10 2001 Tim Powers <timp> - fix bugs in desktop file (#48341)
thx