Skip to content

Commit

Permalink
spec: Automatically substitute version
Browse files Browse the repository at this point in the history
This commit generates a .spec file with the right version number
when configure is run.
  • Loading branch information
cfergeau committed Feb 15, 2013
1 parent 9a08d00 commit 0399b98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ dnl ---------------------------------------------------------------------------
AC_CONFIG_SUBDIRS([spice-protocol])
AC_CONFIG_FILES([
Makefile
mingw-spice-vdagent.spec
])
AC_OUTPUT

Expand Down
4 changes: 1 addition & 3 deletions mingw-spice-vdagent.spec → mingw-spice-vdagent.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -90,5 +90,3 @@ Features:
%defattr(-,root,root)
%{mingw64_bindir}/vdagent.exe
%{mingw64_bindir}/vdservice.exe

%changelog

0 comments on commit 0399b98

Please sign in to comment.