diff options
author | SoonKyu Park <sk7.park@samsung.com> | 2016-08-30 16:38:05 +0900 |
---|---|---|
committer | SoonKyu Park <sk7.park@samsung.com> | 2016-08-30 16:38:05 +0900 |
commit | 1304a19179d820e9dce2ef7d73ed5c3ae5cefa8b (patch) | |
tree | 4f1420e05e81e353dae2ef32e1657128ca745acc | |
parent | 0ea229c0465bc66957f461f033be6019e7667deb (diff) | |
download | rpm-tizen_3.0.tar.gz rpm-tizen_3.0.tar.bz2 rpm-tizen_3.0.zip |
msm related macros are defined in post scrpit of rpm-security-pluginsubmit/tizen_base/20160927.103203submit/tizen_3.0_base/20161028.062326submit/tizen_3.0.m2_base/20170104.073748accepted/tizen/base/20161001.020353accepted/tizen/3.0/base/20161028.103355accepted/tizen/3.0.m2/base/20170104.082055tizen_3.0.m2_basetizen_3.0accepted/tizen_3.0.m2_base
Remove msm related macros inside macros.in file
Change-Id: I3ae680b13739f92624f757934fe884737c9181bf
-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} |