summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/package_rpm.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 225fc70f2f..c0ba54dd9c 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -777,19 +777,23 @@ python write_specfile () {
777 # Now process scriptlets 777 # Now process scriptlets
778 if splitrpreinst: 778 if splitrpreinst:
779 spec_scriptlets_bottom.append('%%pre -n %s' % splitname) 779 spec_scriptlets_bottom.append('%%pre -n %s' % splitname)
780 spec_scriptlets_bottom.append('# %s - preinst' % splitname)
780 spec_scriptlets_bottom.append(splitrpreinst) 781 spec_scriptlets_bottom.append(splitrpreinst)
781 spec_scriptlets_bottom.append('') 782 spec_scriptlets_bottom.append('')
782 if splitrpostinst: 783 if splitrpostinst:
783 spec_scriptlets_bottom.append('%%post -n %s' % splitname) 784 spec_scriptlets_bottom.append('%%post -n %s' % splitname)
785 spec_scriptlets_bottom.append('# %s - postinst' % splitname)
784 spec_scriptlets_bottom.append(splitrpostinst) 786 spec_scriptlets_bottom.append(splitrpostinst)
785 spec_scriptlets_bottom.append('') 787 spec_scriptlets_bottom.append('')
786 if splitrprerm: 788 if splitrprerm:
787 spec_scriptlets_bottom.append('%%preun -n %s' % splitname) 789 spec_scriptlets_bottom.append('%%preun -n %s' % splitname)
790 spec_scriptlets_bottom.append('# %s - prerm' % splitname)
788 scriptvar = wrap_uninstall(splitrprerm) 791 scriptvar = wrap_uninstall(splitrprerm)
789 spec_scriptlets_bottom.append(scriptvar) 792 spec_scriptlets_bottom.append(scriptvar)
790 spec_scriptlets_bottom.append('') 793 spec_scriptlets_bottom.append('')
791 if splitrpostrm: 794 if splitrpostrm:
792 spec_scriptlets_bottom.append('%%postun -n %s' % splitname) 795 spec_scriptlets_bottom.append('%%postun -n %s' % splitname)
796 spec_scriptlets_bottom.append('# %s - postrm' % splitname)
793 scriptvar = wrap_uninstall(splitrpostrm) 797 scriptvar = wrap_uninstall(splitrpostrm)
794 spec_scriptlets_bottom.append(scriptvar) 798 spec_scriptlets_bottom.append(scriptvar)
795 spec_scriptlets_bottom.append('') 799 spec_scriptlets_bottom.append('')