summaryrefslogtreecommitdiff
path: root/packaging/rpm.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/rpm.spec')
-rw-r--r--packaging/rpm.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/rpm.spec b/packaging/rpm.spec
index dd92b8506..5db9ef79c 100644
--- a/packaging/rpm.spec
+++ b/packaging/rpm.spec
@@ -101,6 +101,12 @@ Requires: nss
This package contains the MSM security plugin for rpm that performs
security-related functionality.
+%post security-plugin
+echo "%__transaction_plugins msm" >> /usr/lib/rpm/macros
+echo "%__plugindir %{_libdir}/rpm-plugins" >> /usr/lib/rpm/macros
+echo "%__transaction_msm %{__plugindir}/msm.so" >> /usr/lib/rpm/macros
+echo "%__transaction_msm_default_policy %{_libdir}/rpm-plugins/msm-device-sec-policy" >> /usr/lib/rpm/macros
+
%package -n python-rpm
Summary: Python Bindings for Manipulating RPM Packages
Requires: rpm = %{version}