Add an RPM spec file.
[qemu-sanity-check.git] / configure.ac
index 664f47b..c40e1b5 100644 (file)
 AC_INIT([qemu-sanity-check],[1.1.1])
 AM_INIT_AUTOMAKE([foreign])
 
+dnl Only used temporarily while the spec file is contained in the
+dnl tarball.  We will remove this later.
+AC_SUBST([RPM_RELEASE],[1])
+
 dnl Check for basic C environment.
 AC_PROG_CC_STDC
 AC_PROG_INSTALL
@@ -55,6 +59,7 @@ AM_CONDITIONAL([HAVE_POD2MAN], [test "x$POD2MAN" != "xno"])
 dnl Produce output files.
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_FILES([qemu-sanity-check],[chmod 0555 qemu-sanity-check])
-AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([Makefile
+                 qemu-sanity-check.spec])
 
 AC_OUTPUT