[pacman-dev,2/3] PKGBUILD.5: Mention that pkgver can't contain whitespace

Message ID 20180220205213.13675-3-rikard.falkeborn@gmail.com
State Accepted, archived
Headers show
Series Make documentation and PKGBUILD linting more consistent | expand

Commit Message

Rikard Falkeborn Feb. 20, 2018, 8:52 p.m. UTC
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
---
 doc/PKGBUILD.5.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Allan McRae March 14, 2018, 2:44 a.m. UTC | #1
On 21/02/18 06:52, Rikard Falkeborn wrote:
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
> ---
>  doc/PKGBUILD.5.txt | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt
> index 3b8c2ed1..cbd02e88 100644
> --- a/doc/PKGBUILD.5.txt
> +++ b/doc/PKGBUILD.5.txt
> @@ -48,7 +48,8 @@ similar to `$_basekernver`.
>  
>  *pkgver*::
>  	The version of the software as released from the author (e.g., '2.7.1').
> -	The variable is not allowed to contain colons, forward slashes or hyphens.
> +	The variable is not allowed to contain colons, forward slashes, hyphens
> +	or whitespace.
>  +
>  The `pkgver` variable can be automatically updated by providing a `pkgver()`
>  function in the PKGBUILD that outputs the new package version.
> 

Thanks,
A

Patch

diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt
index 3b8c2ed1..cbd02e88 100644
--- a/doc/PKGBUILD.5.txt
+++ b/doc/PKGBUILD.5.txt
@@ -48,7 +48,8 @@  similar to `$_basekernver`.
 
 *pkgver*::
 	The version of the software as released from the author (e.g., '2.7.1').
-	The variable is not allowed to contain colons, forward slashes or hyphens.
+	The variable is not allowed to contain colons, forward slashes, hyphens
+	or whitespace.
 +
 The `pkgver` variable can be automatically updated by providing a `pkgver()`
 function in the PKGBUILD that outputs the new package version.