git://project.juiblex.co.uk
/
razor2.git/.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4033be6
)
Display razor version number for rpm --version
author
James Bowes
<jbowes@redhat.com>
Tue, 24 Jun 2008 00:20:08 +0000 (20:20 -0400)
committer
James Bowes
<jbowes@redhat.com>
Tue, 24 Jun 2008 00:20:08 +0000 (20:20 -0400)
src/rpm.c
patch
|
blob
|
history
diff --git
a/src/rpm.c
b/src/rpm.c
index
ab3e55a
..
736ca14
100644
(file)
--- a/
src/rpm.c
+++ b/
src/rpm.c
@@
-17,6
+17,8
@@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include "config.h"
+
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
@@
-865,7
+867,7
@@
main(int argc, const char *argv[])
argc = parse_options(rpm_options, argc, argv);
if (option_version) {
- printf("razor rpm version hoopla.\n");
+ printf("razor rpm version " VERSION "\n");
exit(0);
}