Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From a5e137918a0d940b51ad5611eff270a904be41a0 Mon Sep 17 00:00:00 2001
- From: Silvio Fricke <silvio.fricke@gmail.com>
- Date: Thu, 11 Dec 2014 20:04:22 +0100
- Subject: [PATCH] linux-git: remove rc indication
- The rc indication breaks with the version ruling of pacman. Before this
- patch we have the situation that pacman assumpting that
- 3.18.rc4.r278.g5f01feb greater than 3.18.r2866.g92a578b, but this isn't
- right. Commit 92a578b in fact is a (3.19.)rc0 tag which are not tagged
- at all. So we remove the rc completly.
- Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
- ---
- PKGBUILD | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
- diff --git a/PKGBUILD b/PKGBUILD
- index 015bc90..eff5711 100644
- --- a/PKGBUILD
- +++ b/PKGBUILD
- @@ -28,7 +28,7 @@ _kernelname=${pkgbase#linux}
- pkgver() {
- cd "${_srcname}"
- - git describe --long | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
- + git describe --long | sed -E 's/^v//;s/(rc..?)-//;s/([^-]*-g)/r\1/;s/-/./g'
- }
- prepare() {
- --
- 2.1.3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement