Skipping minor entries while producing generic CHANGES.

Currently we consider any changes with revision other than 1 as
packages-specific, thus there is no need to include such entries
to the generic Unit change log.
This commit is contained in:
Andrei Belov
2018-10-01 09:41:03 +03:00
parent b5d4fc939e
commit 02a4dd7c78
2 changed files with 10 additions and 0 deletions

View File

@@ -63,6 +63,9 @@ X:template = "changes" {
X:var apply = { !string_in_list(list="@apply", string="$pkgname") }
X:var pkgname_ = { !beautify(pkgname="$pkgname") }
X:choose {
X:when "$pkgname='unit' and $format='generic' and @rev!=1" {}
X:otherwise {
X:if "$apply=$pkgname" {
X:if "$format='generic'" {
@@ -112,6 +115,8 @@ X:template = "changes" {
X:text {
}
}
}
}
}
}