generated from demus/basic-rpm-template
Update License expression in spec file
in the same way go2rpm generates it originally
This commit is contained in:
@@ -14,7 +14,7 @@ Source: macros.demus-packaging
|
||||
Source: LICENSE
|
||||
Source: README.md
|
||||
|
||||
Requires: bash go-vendor-tools rpmdevtools
|
||||
Requires: bash go-vendor-tools+all rpmdevtools askalono-cli
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
|
||||
@@ -6,3 +6,4 @@ if [ $# -ne 1 ] || ! [[ "$1" =~ .*.\.spec$ ]] || [ ! -f "$1" ]; then
|
||||
exit 1
|
||||
fi
|
||||
go_vendor_archive create --config go-vendor-tools.toml --write-config "$1"
|
||||
go_vendor_license --config go-vendor-tools.toml --path "$1" report --write-config --prompt --autofill auto --update-spec
|
||||
|
||||
Reference in New Issue
Block a user