version: 1.7.0
authorThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 4 Jul 2014 08:18:07 +0000 (10:18 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 4 Jul 2014 08:18:07 +0000 (10:18 +0200)
The makefile rule "showversion" needs a fix to handle empty RTE_VER_SUFFIX.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_eal/common/include/rte_version.h
mk/rte.sdkconfig.mk
pkg/dpdk-core.spec

index 9333277..20f1c74 100644 (file)
@@ -69,14 +69,14 @@ extern "C" {
 /**
  * Extra string to be appended to version number
  */
-#define RTE_VER_SUFFIX "-rc"
+#define RTE_VER_SUFFIX ""
 
 /**
  * Patch release number
  *   0-15 = release candidates
  *   16   = release
  */
-#define RTE_VER_PATCH_RELEASE 4
+#define RTE_VER_PATCH_RELEASE 16
 
 /**
  * Macro to compute a version number usable for comparisons
index c125fa1..d43c430 100644 (file)
@@ -36,7 +36,7 @@ showversion:
                        -e 's,^#define RTE_VER_SUFFIX[[:space:]]+"(.*)",\1,p' \
                        $(RTE_SRCDIR)/lib/librte_eal/common/include/rte_version.h) ;\
                printf '%d.%d.%d' "$$1" "$$2" "$$3"; \
-               if [ -z "$$4" ]; then echo; \
+               if [ -z "$$5" ]; then echo; \
                else printf '%s' "$$4"; \
                        if [ $$5 -lt 16 ] ; then echo $$5; \
                        else echo $$(($$5 - 16)); fi; \
index c08724f..a67d7c1 100644 (file)
@@ -30,7 +30,7 @@
 # OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Name: dpdk
-Version: 1.6.0r2
+Version: 1.7.0
 Release: 1
 Packager: packaging@6wind.com
 URL: http://dpdk.org