diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2013-01-24 12:03:38 +0100 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2013-02-15 20:06:32 +0100 |
commit | 0399b981580d6c39307fde506dabf7655931d2c3 (patch) | |
tree | 4cb129208bfdceaa5ed49dafcaf64ee7d96f1215 | |
parent | 9a08d00fd28885c522ba1423b1fc19131b62c570 (diff) |
spec: Automatically substitute versionv0.7.0
This commit generates a .spec file with the right version number
when configure is run.
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | mingw-spice-vdagent.spec.in (renamed from mingw-spice-vdagent.spec) | 4 |
2 files changed, 2 insertions, 3 deletions
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 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 |