]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- moved _fix* macros to rpm.platform as macros.in describes they were moved there
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 28 Oct 2005 20:41:47 +0000 (20:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.platform -> 1.6

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.081939 seconds and 4 git commands to generate.