Skip to content

Commit

Permalink
Do not hardcode version number in sources
Browse files Browse the repository at this point in the history
  • Loading branch information
martyone committed May 11, 2018
1 parent c1f4f88 commit 6591e70
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion rpm/libqofono-qt5.spec
Expand Up @@ -55,7 +55,7 @@ This package contains qml test for ofono Qt bindings.

%build
export QT_SELECT=5
%qmake5
%qmake5 "VERSION=$(sed 's/+.*//' <<<"%{version}")"
make %{?_smp_mflags}

%install
Expand Down
3 changes: 0 additions & 3 deletions src/src.pro
Expand Up @@ -8,8 +8,6 @@ QT += dbus xmlpatterns
QT -= gui
QMAKE_CXXFLAGS += -Wno-unused-parameter -Wno-psabi

include(version.pri)

equals(QT_MAJOR_VERSION, 4): {
TARGET = qofono
pkgconfig.path = $$[QT_INSTALL_LIBS]/pkgconfig
Expand Down Expand Up @@ -62,7 +60,6 @@ XML_FILES += \
dbus/ofono_voicecallmanager.xml

OTHER_FILES += $$XML_FILES\
version.pri \
qofono.prf \
qofono-qt5.prf

Expand Down
1 change: 0 additions & 1 deletion src/version.pri

This file was deleted.

0 comments on commit 6591e70

Please sign in to comment.