summaryrefslogtreecommitdiff
path: root/platform.in
diff options
context:
space:
mode:
Diffstat (limited to 'platform.in')
-rw-r--r--platform.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/platform.in b/platform.in
index 37fbe5ee0..c0b78555d 100644
--- a/platform.in
+++ b/platform.in
@@ -41,6 +41,9 @@
#------------------------------------------------------------------------
# Expanded at end of %prep (Red Hat uses these for 6.2)
#
-%_fixowner [ `%{__id} -u` = '0' ] && %{__chown} -Rhf root
-%_fixgroup [ `%{__id} -u` = '0' ] && %{__chgrp} -Rhf root
-%_fixperms %{__chmod} -Rf a+rX,g-w,o-w
+%__id_u @__ID_U@
+%__chown_Rhf @__CHOWN_RHF@
+%__chgrp_Rhf @__CHGRP_RHF@
+%_fixowner [ `%{__id_u}` = '0' ] && %{__chown_Rhf} root
+%_fixgroup [ `%{__id_u}` = '0' ] && %{__chgrp_Rhf} @ROOT_GROUP@
+%_fixperms %{__chmod} -Rf @FIXPERMS@