Advertisement
Guest User

Untitled

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