Commit daa8a62a authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmcs: do not use all rules for revert requires

parent 30ab5f8d
......@@ -33,7 +33,8 @@ toalt_pkgrepl()
s/ \$//g
s/ |/|/g
s/| /|/g"
for i in $PKGREPLBASE/pkgrepl.fedora $PKGREPLBASE/pkgrepl.rpm $PKGREPLBASE/pkgrepl.* ; do
# FIXME: what rules we need really?
for i in $PKGREPLBASE/pkgrepl.fedora* $PKGREPLBASE/pkgrepl.rpm $PKGREPLBASE/pkgrepl.mdv* ; do
#echo $i - $1
test -r "$i" || continue
REPLRULE=`grep -v "^#" "$i" 2>/dev/null | grep -- "$1\$" | sed -e "$WARULES" | sed -e "s/^\(.*\)|\(.*\)\$/\2|\1/g" | tail -n1`
......
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