Display razor version number for rpm --version
authorJames Bowes <jbowes@redhat.com>
Mon Jun 23 20:20:08 2008 -0400 (2008-06-23)
changeset 2764b0a1201342a
parent 275 1862b95f4cd6
child 277 27b0d4068feb
Display razor version number for rpm --version
src/rpm.c
     1.1 --- a/src/rpm.c	Mon Jun 23 20:09:56 2008 -0400
     1.2 +++ b/src/rpm.c	Mon Jun 23 20:20:08 2008 -0400
     1.3 @@ -17,6 +17,8 @@
     1.4   * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
     1.5   */
     1.6  
     1.7 +#include "config.h"
     1.8 +
     1.9  #include <stdlib.h>
    1.10  #include <string.h>
    1.11  #include <stdio.h>
    1.12 @@ -865,7 +867,7 @@
    1.13  	argc = parse_options(rpm_options, argc, argv);
    1.14  
    1.15  	if (option_version) {
    1.16 -		printf("razor rpm version hoopla.\n");
    1.17 +		printf("razor rpm version " VERSION "\n");
    1.18  		exit(0);
    1.19  	}
    1.20