From: Elan Ruusamäe Date: Fri, 28 Oct 2005 20:41:47 +0000 (+0000) Subject: - moved _fix* macros to rpm.platform as macros.in describes they were moved there X-Git-Tag: AC-STABLE~16 X-Git-Url: http://git.pld-linux.org/?p=packages%2Frpm.git;a=commitdiff_plain;h=d2233b8da6b6e9aebdda71db4065ce44880f1568 - moved _fix* macros to rpm.platform as macros.in describes they were moved there Changed files: rpm.platform -> 1.6 --- diff --git a/rpm.platform b/rpm.platform index cdfe1b2..dd5d09c 100644 --- a/rpm.platform +++ b/rpm.platform @@ -1,4 +1,14 @@ # PLD rpm macros + +%__id @__ID@ +%__id_u %{__id} -u +%__chown_Rhf @__CHOWN_RHF@ +%__chgrp_Rhf @__CHGRP_RHF@ + +%_fixowner [ `%{__id_u}` = '0' ] && %{__chown_Rhf} root:@ROOT_GROUP@ +%_fixgroup true +%_fixperms %{__chmod} -Rf @FIXPERMS@ + %_exec_prefix %{_prefix} %_bindir %{_exec_prefix}/bin %_sbindir %{_exec_prefix}/sbin