create-mkspec.sh: Add support for entry url in [global] of project.conf

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2018-11-13 11:17:43 +00:00
commit a1183a216e

View file

@ -55,6 +55,8 @@ inifile="$1"
subpackages=`cfg_value global.subpackages`
license=`cfg_value global.license`
[ "$license" ] || license="janware GmbH proprietary license"
url=`cfg_value global.url`
[ "$url" ] || url="https://janware.com"
_cat <<- EOT
|echo "Name: \$NAME"
@ -65,7 +67,7 @@ _cat <<- EOT
|echo "Group: System/Libraries"
|[ -n "\$SOURCE" ] && echo "Source: \$SOURCE"
|echo "Vendor: janware GmbH"
|echo "URL: http://janware.com"
|echo "URL: $url"
|echo "BuildRoot: /var/tmp/%{name}-buildroot"
|echo "Distribution: jw / openSUSE Tumbleweed"
|echo ""