Commit b5a42e70 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack.d/generic.sh: fill only empty Summary

parent 972ba7a4
......@@ -76,7 +76,8 @@ set_rpm_field()
# FIXME: where is a source of the bug with empty Summary?
set_rpm_field "Summary" "$PRODUCT (fixme: was empty Summary after alien)"
summary="$(grep "^Summary: " $SPEC | sed -e "s|Summary: ||g" | head -n1)"
[ -n "$summary" ] || set_rpm_field "Summary" "$PRODUCT (fixme: was empty Summary after alien)"
# clean version
subst "s|^\(Version: .*\)~.*|\1|" $SPEC
# add our prefix to release
......
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