Revert "wiringPi: newVersion: Fix for adding minor-fixed version"

This reverts commit 07cc4620e0ccc1cce8732f7a418be73445784624.

Change-Id: I9023d16ddfe808fccb74b58981933091e6917c1f
diff --git a/newVersion b/newVersion
index 33e3bea..638406c 100644
--- a/newVersion
+++ b/newVersion
@@ -28,7 +28,20 @@
 rm -f version.h
 vMaj=`cut -d. -f1 VERSION`
 vMin=`cut -d. -f2 VERSION`
-vMinFix=$(cut -d. -f3 VERSION)
 echo "#define VERSION \"`cat VERSION`\"" > version.h
 echo "#define VERSION_MAJOR $vMaj"		>> version.h
-echo "#define VERSION_MINOR \"$vMin.$vMinFix\""		>> version.h
+echo "#define VERSION_MINOR \"$vMin\""		>> version.h
+
+rm -f debian-template/wiringPi/DEBIAN/control
+cat > debian-template/wiringPi/DEBIAN/control <<EOF
+Package: odroid-wiringpi
+Version: $(cat VERSION)
+Section: libraries
+Priority: optional
+Architecture: arm64
+Depends: libc6
+Maintainer: Joshua Yang <joshua.yang@hardkernel.com>
+Description: The wiringPi libraries, headers and gpio command
+  Libraries to allow GPIO access on a ODROID from C and C++
+  and BASIC programs as well as from the command-line
+EOF