mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
create-mkspec.sh: Add support for global.vendor config entry
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
bcbc9f83bc
commit
eecc030d74
1 changed files with 5 additions and 7 deletions
|
|
@ -31,14 +31,10 @@ subpackage_description()
|
|||
{
|
||||
case $1 in
|
||||
run)
|
||||
_cat <<-EOT
|
||||
|Runtime files
|
||||
EOT
|
||||
echo "Runtime files"
|
||||
;;
|
||||
devel)
|
||||
_cat <<-EOT
|
||||
|Development files
|
||||
EOT
|
||||
echo "Development files"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
|
@ -55,6 +51,8 @@ inifile="$1"
|
|||
subpackages=`cfg_value global.subpackages`
|
||||
license=`cfg_value global.license`
|
||||
[ "$license" ] || license="janware GmbH proprietary license"
|
||||
vendor=`cfg_value global.vendor`
|
||||
[ "$vendor" ] || vendor="janware GmbH"
|
||||
url=`cfg_value global.url`
|
||||
[ "$url" ] || url="https://janware.com"
|
||||
|
||||
|
|
@ -68,7 +66,7 @@ _cat <<- EOT
|
|||
|echo "License: $license"
|
||||
|echo "Group: System/Libraries"
|
||||
|[ -n "\$SOURCE" ] && echo "Source: \$SOURCE"
|
||||
|echo "Vendor: janware GmbH"
|
||||
|echo "Vendor: $vendor"
|
||||
|echo "URL: $url"
|
||||
|echo "BuildRoot: /var/tmp/%{name}-buildroot"
|
||||
|echo "Distribution: jw / openSUSE Tumbleweed"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue