Commit bf02f7bc authored by Thomas Perl's avatar Thomas Perl

[spec] Inject RPM version number to version.h (Fixes #30)

parent 92173a90
...@@ -34,6 +34,8 @@ Provides: meego-terminal > 0.2.2 ...@@ -34,6 +34,8 @@ Provides: meego-terminal > 0.2.2
%build %build
sed -i 's,/opt/fingerterm/,/usr/,' fingerterm.pro sed -i 's,/opt/fingerterm/,/usr/,' fingerterm.pro
qmake -qt=5 MEEGO_EDITION=nemo qmake -qt=5 MEEGO_EDITION=nemo
# Inject version number from RPM into source
sed -i -e 's/PROGRAM_VERSION="[^"]*"/PROGRAM_VERSION="%{version}"/g' version.h
make %{?_smp_mflags} make %{?_smp_mflags}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment