diff --git a/scripts/create-mkspec.sh b/scripts/create-mkspec.sh index 8de84ddf..7dc26875 100644 --- a/scripts/create-mkspec.sh +++ b/scripts/create-mkspec.sh @@ -19,16 +19,19 @@ _cat() sed 's/^ *|//' } +LICENSE=`cfg_value global.license` +[ "$LICENSE" ] || LICENSE="janware GmbH proprietary license" + _cat << EOT |echo "Name: \$NAME" |echo "Summary: `cfg_value summary`" |echo "Version: \$VERSION" |echo "Release: \$RELEASE" - |echo "License: Jannet IT Services proprietary license" + |echo "License: $LICENSE" |echo "Group: System/Libraries" |[ -n "\$SOURCE" ] && echo "Source: \$SOURCE" |echo "Vendor: Jannet IT Services" - |echo "URL: http://www.jannet.de" + |echo "URL: http://janware.com" |echo "BuildRoot: /var/tmp/%{name}-buildroot" |echo "" |echo "%description"