diff options
author | Andrei Belov <defan@nginx.com> | 2018-10-01 09:41:03 +0300 |
---|---|---|
committer | Andrei Belov <defan@nginx.com> | 2018-10-01 09:41:03 +0300 |
commit | 02a4dd7c783a43110a4422b3b76ccf8184fa870b (patch) | |
tree | 6ac76d628c88ca11de4af6ce22d775febe7135e4 /docs/changes.xslt | |
parent | b5d4fc939edca5ea5858b66d5fcf789b660df243 (diff) | |
download | unit-02a4dd7c783a43110a4422b3b76ccf8184fa870b.tar.gz unit-02a4dd7c783a43110a4422b3b76ccf8184fa870b.tar.bz2 |
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.
Diffstat (limited to 'docs/changes.xslt')
-rw-r--r-- | docs/changes.xslt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/changes.xslt b/docs/changes.xslt index 22abb656..032d5c37 100644 --- a/docs/changes.xslt +++ b/docs/changes.xslt @@ -64,6 +64,9 @@ <xsl:variable name="apply"> <xsl:call-template name="string_in_list"><xsl:with-param select="@apply" name="list"/><xsl:with-param select="$pkgname" name="string"/></xsl:call-template></xsl:variable> <xsl:variable name="pkgname_"> <xsl:call-template name="beautify"><xsl:with-param select="$pkgname" name="pkgname"/></xsl:call-template></xsl:variable> + <xsl:choose> + <xsl:when test="$pkgname='unit' and $format='generic' and @rev!=1"/> + <xsl:otherwise> <xsl:if test="$apply=$pkgname"> <xsl:if test="$format='generic'"> @@ -113,6 +116,8 @@ <xsl:text> </xsl:text> </xsl:if> </xsl:if> + </xsl:otherwise> + </xsl:choose> </xsl:template> |