summaryrefslogtreecommitdiff
path: root/macros.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 /macros.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 'macros.in')
-rw-r--r--macros.in12
1 files changed, 9 insertions, 3 deletions
diff --git a/macros.in b/macros.in
index 465972005..be5dbd668 100644
--- a/macros.in
+++ b/macros.in
@@ -1,4 +1,4 @@
-# $Id: macros.in,v 1.46 2000/02/13 19:24:19 jbj Exp $
+# $Id: macros.in,v 1.47 2000/03/09 18:13:03 jbj Exp $
#==============================================================================
# Macro naming conventions (preliminary):
#
@@ -32,6 +32,7 @@
%__chown @__CHOWN@
%__cp @__CP@
%__cpio @__CPIO@
+%__grep @__GREP@
%__gzip %{_gzipbin}
%__id @__ID@
%__install @__INSTALL@
@@ -41,9 +42,11 @@
%__mkdir_p @MKDIR_P@
%__mv @__MV@
%__patch @__PATCH@
+%__perl @__PERL@
%__pgp %{_pgpbin}
%__rm @__RM@
%__rsh @__RSH@
+%__sed @__SED@
%__ssh @__SSH@
%__tar @__TAR@
@@ -88,8 +91,11 @@
#%__find_obsoletes ???
#
# XXX fixowner, fixgroup, and fixperms are run at the end of hardcoded setup
-%_fixowner [ `%{__id} -u` = '0' ] && %{__chown} -Rhf root
-%_fixgroup [ `%{__id} -u` = '0' ] && %{__chgrp} -Rhf @ROOT_GROUP@
+%__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@
#
%_gzipbin @GZIPBIN@