The makefile rule "showversion" needs a fix to handle empty RTE_VER_SUFFIX.
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
/**
* 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
-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; \
# 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