]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm.platform
- moved _fix* macros to rpm.platform as macros.in describes they were moved there
[packages/rpm.git] / rpm.platform
index cdfe1b21acd16c8504a082f5c69637ed006c1821..dd5d09ced2b3f1552de1c925d63e07a200503b77 100644 (file)
@@ -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
This page took 0.028844 seconds and 4 git commands to generate.