Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[spec] Inject RPM version number to version.h (Fixes #30)
  • Loading branch information
thp committed Feb 14, 2015
1 parent 92173a9 commit bf02f7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rpm/fingerterm.spec
Expand Up @@ -34,6 +34,8 @@ Provides: meego-terminal > 0.2.2
%build
sed -i 's,/opt/fingerterm/,/usr/,' fingerterm.pro
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}


Expand Down

0 comments on commit bf02f7b

Please sign in to comment.