mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Try adding the 0. version number prefix to the nping RPM package.
This commit is contained in:
parent
f30a1dcf2c
commit
5d57401341
2 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue