summaryrefslogtreecommitdiff
path: root/packaging/dpm-application.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/dpm-application.spec')
-rwxr-xr-xpackaging/dpm-application.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/dpm-application.spec b/packaging/dpm-application.spec
index 94a7537..4cb1041 100755
--- a/packaging/dpm-application.spec
+++ b/packaging/dpm-application.spec
@@ -21,7 +21,7 @@ The dpm-application package provides a application policy module for device poli
%files
%manifest dpm-application.manifest
%defattr(644,root,root,755)
-%attr(755,root,root) /opt/data/dpm/plugins/application
+%attr(755,root,root) %{_libdir}/dpm/plugins/application
%attr(755,root,root) %{_libdir}/libdpm-application.so.%{version}
%{_libdir}/libdpm-application.so.0
@@ -38,6 +38,7 @@ The dpm-application package provides a application policy module for device poli
%cmake . -DVERSION=%{version} \
-DCMAKE_BUILD_TYPE=%{build_type} \
+ -DPLUGIN_INSTALL_DIR=%{_libdir}/dpm/plugins \
-DSCRIPT_INSTALL_DIR=%{_scriptdir} \
-DSYSTEMD_UNIT_INSTALL_DIR=%{_unitdir} \
-DDATA_INSTALL_DIR=%{TZ_SYS_DATA}/dpm \