create-mkspec.sh: Fix evaluation of sections [pkg.xxx.post] and friends

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2016-12-19 13:22:40 +00:00
commit ccde4a078c

View file

@ -14,6 +14,11 @@ cfg_value()
ini_value "$inifile" $@
}
cfg_escape()
{
sed 's/\$/\\$/g'
}
_cat()
{
sed 's/^ *|//'
@ -30,7 +35,7 @@ _cat << EOT
|echo "License: $LICENSE"
|echo "Group: System/Libraries"
|[ -n "\$SOURCE" ] && echo "Source: \$SOURCE"
|echo "Vendor: Jannet IT Services"
|echo "Vendor: janware GmbH"
|echo "URL: http://janware.com"
|echo "BuildRoot: /var/tmp/%{name}-buildroot"
|echo ""