[oe-commits] Holger Hans Peter Freyther : oeaudit: Add the FreeBSD revision to the package version.

git version control git at git.openembedded.org
Mon Mar 22 16:06:48 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: 950e9fd872480a8f0feeecf274fdd54d53cc07cb
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=950e9fd872480a8f0feeecf274fdd54d53cc07cb

Author: Holger Hans Peter Freyther <zecke at selfish.org>
Date:   Mon Mar 22 05:21:36 2010 +0100

oeaudit: Add the FreeBSD revision to the package version.

---

 contrib/oeaudit/freebsd.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/contrib/oeaudit/freebsd.py b/contrib/oeaudit/freebsd.py
index e5e8440..5765e8a 100644
--- a/contrib/oeaudit/freebsd.py
+++ b/contrib/oeaudit/freebsd.py
@@ -188,5 +188,7 @@ def prepare_version(bsd_version):
     split = bsd_version.rsplit(',', 1)
     split = split[0]
     split = split.rsplit('_', 1)
+    if len(split) == 2:
+        rev = "r%s" % split[1]
     return (split[0], rev)
 





More information about the Openembedded-commits mailing list