From 0399b981580d6c39307fde506dabf7655931d2c3 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Thu, 24 Jan 2013 12:03:38 +0100 Subject: [PATCH] spec: Automatically substitute version This commit generates a .spec file with the right version number when configure is run. --- configure.ac | 1 + mingw-spice-vdagent.spec => mingw-spice-vdagent.spec.in | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) rename mingw-spice-vdagent.spec => mingw-spice-vdagent.spec.in (98%) diff --git a/configure.ac b/configure.ac index 3fb17ee..12329b4 100644 --- a/configure.ac +++ b/configure.ac @@ -74,6 +74,7 @@ dnl --------------------------------------------------------------------------- AC_CONFIG_SUBDIRS([spice-protocol]) AC_CONFIG_FILES([ Makefile +mingw-spice-vdagent.spec ]) AC_OUTPUT diff --git a/mingw-spice-vdagent.spec b/mingw-spice-vdagent.spec.in similarity index 98% rename from mingw-spice-vdagent.spec rename to mingw-spice-vdagent.spec.in index 1351419..d1bcf70 100644 --- a/mingw-spice-vdagent.spec +++ b/mingw-spice-vdagent.spec.in @@ -3,7 +3,7 @@ #define _version_suffix -e198 Name: mingw-spice-vdagent -Version: 0.7.0 +Version: @VERSION@ Release: 1%{?dist}%{?extra_release} Summary: MinGW Windows SPICE guest agent @@ -90,5 +90,3 @@ Features: %defattr(-,root,root) %{mingw64_bindir}/vdagent.exe %{mingw64_bindir}/vdservice.exe - -%changelog