# Makefile for source rpm: nmap NAME := nmap SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common for d in common ../common ../../common ../../../common ../../../../common ; do if [ -f $$d/trunk/Makefile.common ] ; then if [ -f $$d/trunk/.svn -a -w $$/Makefile.common ] ; then cd $$d/trunk ; svn update --quiet ; fi ; echo "$$d/trunk/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) # zenmap requires python3-build, not available until F-35, so we can't build for anything prior to F-29 (which would want zenmap building) # So although we know how to build zenmap, we never do (yet) # Note: Fedora decided that nmap licenses after 7.92 are not free # https://gitlab.com/fedora/legal/fedora-license-data/-/issues/539 DIST_REGEX = '^(rhel[89]|rhel1[0-9]|fc29|fc[3-9][0-9])' include $(MAKEFILE_COMMON)