summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorFlorian Festi <ffesti@redhat.com>2022-07-05 16:34:08 +0200
committerMichal Domonkos <mdomonko@redhat.com>2022-07-14 15:04:02 +0200
commit9ed9d3fce34bc3c8121989e0cf263528e7e68756 (patch)
tree5b3495fb562e05f1e554cfb7af844a058db3ed05 /docs
parent85d92cab05501e78d0e66afa65de4e656281bc59 (diff)
downloadrpm-9ed9d3fce34bc3c8121989e0cf263528e7e68756.tar.gz
Add SourceLicense tag to spec syntax
to set a separate license to the source RPM. This can be useful if the sources have code under additional licenses that do not end up in the binary packeges. Resolves: #2079
Diffstat (limited to 'docs')
-rw-r--r--docs/manual/spec.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/manual/spec.md b/docs/manual/spec.md
index 396f25b90..82c1eee33 100644
--- a/docs/manual/spec.md
+++ b/docs/manual/spec.md
@@ -125,6 +125,12 @@ Short (< 70 characters) summary of the package license. For example:
License: GPLv3
```
+#### SourceLicense
+
+If license of the sources differ from the main package the license tag
+of the source package can be set with this. If not given the license
+tag of the source and the main package are the same.
+
#### Group
Optional, short (< 70 characters) group of the package.