spec: BR qemu & kernel so the 'make check' rule can run.
[qemu-sanity-check.git] / configure.ac
index 664f47b..c4b9dfe 100644 (file)
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
 #
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 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],[2])
+
 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