[pyparted/f14] Fix py_pyparted_version() in _pedmodule.c (#700383)

David Cantrell dcantrel at fedoraproject.org
Fri Aug 5 15:55:06 UTC 2011


commit d9b6d10cd66948a178beb9085e646ede62953b0f
Author: David Cantrell <david.l.cantrell at gmail.com>
Date:   Fri Aug 5 11:52:27 2011 -0400

    Fix py_pyparted_version() in _pedmodule.c (#700383)

 pyparted-3.4-py_pyparted_version.patch |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pyparted-3.4-py_pyparted_version.patch b/pyparted-3.4-py_pyparted_version.patch
index 896cf96..d16da63 100644
--- a/pyparted-3.4-py_pyparted_version.patch
+++ b/pyparted-3.4-py_pyparted_version.patch
@@ -1,11 +1,11 @@
 diff -up pyparted-3.4/src/_pedmodule.c.orig pyparted-3.4/src/_pedmodule.c
 --- pyparted-3.4/src/_pedmodule.c.orig	2010-04-29 15:19:26.000000000 -0400
-+++ pyparted-3.4/src/_pedmodule.c	2011-08-05 11:32:30.149055588 -0400
++++ pyparted-3.4/src/_pedmodule.c	2011-08-05 11:46:21.956058067 -0400
 @@ -288,23 +288,42 @@ PyObject *py_pyparted_version(PyObject *
      int t = 0;
      int major = -1, minor = -1, update = -1;
      char suffix[11];
-+    char *v = PYPARTED_VERSION;
++    char *v = VERSION;
  
 -    if (index(VERSION, '-')) {
 +    /* Read pyparted version string.  Support the following formats:


More information about the scm-commits mailing list