diff --git a/rpm/nemo-qml-plugin-devicelock.spec b/rpm/nemo-qml-plugin-devicelock.spec index 2b56d4e..5e4e330 100644 --- a/rpm/nemo-qml-plugin-devicelock.spec +++ b/rpm/nemo-qml-plugin-devicelock.spec @@ -55,7 +55,7 @@ Requires: pkgconfig(nemodbus) %setup -q -n %{name}-%{version} %build -%qmake5 +%qmake5 "VERSION=%{version}" make %{?_smp_mflags} %install diff --git a/src/nemo-devicelock/lib.pro b/src/nemo-devicelock/lib.pro index 7ecf08c..113fb43 100644 --- a/src/nemo-devicelock/lib.pro +++ b/src/nemo-devicelock/lib.pro @@ -63,6 +63,7 @@ QMAKE_PKGCONFIG_DESCRIPTION = Library for Nemo device lock. QMAKE_PKGCONFIG_LIBDIR = $$target.path QMAKE_PKGCONFIG_INCDIR = /usr/include QMAKE_PKGCONFIG_DESTDIR = pkgconfig +QMAKE_PKGCONFIG_VERSION = $$VERSION INSTALLS += \ private_headers \