summaryrefslogtreecommitdiff
path: root/platform.in
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-03-09 18:13:02 +0000
committerjbj <devnull@localhost>2000-03-09 18:13:02 +0000
commite93943f1e01bb8898e8445fb3ab1a648d1be7b68 (patch)
treed57dfc135fe862393bf6e12cb449a4ebabc3d399 /platform.in
parentacdafeca5ca650d1944e45b94bc6a60ff3fb67a2 (diff)
downloadlibrpm-tizen-e93943f1e01bb8898e8445fb3ab1a648d1be7b68.tar.gz
librpm-tizen-e93943f1e01bb8898e8445fb3ab1a648d1be7b68.tar.bz2
librpm-tizen-e93943f1e01bb8898e8445fb3ab1a648d1be7b68.zip
- portability: skip bzip2 if not available.
- portability: skip gzseek if not available (zlib-1.0.4). - portability: skip personality if not available (linux). - portability: always include arpa/inet.h (HP-UX). - portability: don't use id -u (Brandon Allbery). - portability: don't chown/chgrp -h w/o lchown. - portability: splats in rpm.spec to find /usr/{share,local}/locale/* CVS patchset: 3610 CVS date: 2000/03/09 18:13:02
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@