diff options
-rw-r--r-- | macros.in | 8 | ||||
-rw-r--r-- | packaging/rpm.spec | 6 |
2 files changed, 10 insertions, 4 deletions
@@ -1086,10 +1086,10 @@ PreReq: python >= %minver, python < %maxver #------------------------------------------------------------------------------ # transaction specific macros -%__transaction_plugins msm -%__plugindir %{_libdir}/rpm-plugins -%__transaction_msm %{__plugindir}/msm.so -%__transaction_msm_default_policy %{_libdir}/rpm-plugins/msm-device-sec-policy +#%__transaction_plugins msm +#%__plugindir %{_libdir}/rpm-plugins +#%__transaction_msm %{__plugindir}/msm.so +#%__transaction_msm_default_policy %{_libdir}/rpm-plugins/msm-device-sec-policy #------------------------------------------------------------------------------ # Macros for further automated spec %setup and patch application 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} |