Commit 6073153e authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpm: disable specname warning

parent 82fa5177
...@@ -54,10 +54,11 @@ build_rpms_name() ...@@ -54,10 +54,11 @@ build_rpms_name()
RPMSOURCEDIR=`rpm --eval %_sourcedir | subst_namever` RPMSOURCEDIR=`rpm --eval %_sourcedir | subst_namever`
[ -n "$RPMSOURCEDIR" ] || fatal "Can't detect RPM/SOURCES dir" [ -n "$RPMSOURCEDIR" ] || fatal "Can't detect RPM/SOURCES dir"
local BNS NSS # Lav 18.10.11 FIXME: need we this warning?
BNS="$BASENAME".spec #local BNS NSS
NSS=`basename $NAMESPEC` #BNS="$BASENAME".spec
test "$NSS" != "$BNS" && warning "Spec name ($NSS) is not equal to Name of package ($BNS)" #NSS=`basename $NAMESPEC`
#test "$NSS" != "$BNS" && warning "Spec name ($NSS) is not equal to Name of package ($BNS)"
rm -f $tmprpm rm -f $tmprpm
build_buildroot build_buildroot
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment