mirror of
https://github.com/nmap/nmap.git
synced 2026-01-30 01:59:02 +00:00
Try adding the 0. version number prefix to the nping RPM package.
This commit is contained in:
@@ -242,6 +242,7 @@ $(NCATDIR)/ncat.h: nmap.h
|
||||
mv -f $@.tmp $@
|
||||
|
||||
# Update the Nping version number. This is "0.NMAP_VERSION".
|
||||
# If the 0. prefix is removed it must also be removed from nmap.spec.in.
|
||||
$(NPINGDIR)/nping.h: nmap.h
|
||||
sed -e 's/^#[ \t]*define[ \t]\+NPING_VERSION[ \t]\+\(".*"\)/#define NPING_VERSION "0.$(NMAP_VERSION)"/' $@ > $@.tmp
|
||||
mv -f $@.tmp $@
|
||||
|
||||
@@ -110,6 +110,8 @@ uses.
|
||||
# Nping subpackage
|
||||
%if "%{buildnping}" != "0"
|
||||
%package -n nping
|
||||
# If this 0. prefix is removed it must also be removed from Makefile.in.
|
||||
Version: 0.%{version}
|
||||
Summary: Nping packet generator
|
||||
Group: Applications/System
|
||||
|
||||
|
||||
Reference in New Issue
Block a user