]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm.platform
- fix
[packages/rpm.git] / rpm.platform
index 6203d1430b0f665d307e22298601d8b04ab61cc0..9853d3fe90d7426b7555dd0f245418f08b0b665e 100644 (file)
@@ -1,4 +1,14 @@
 # PLD rpm macros
+
+%__id          /bin/id
+%__id_u                %{__id} -u
+%__chown_Rhf           %{__chown} -Rhf
+%__chgrp_Rhf           %{__chgrp} -Rhf
+
+%_fixowner       [ `%{__id_u}` = '0' ] && %{__chown_Rhf} root:root
+%_fixgroup       true
+%_fixperms       %{__chmod} -Rf -Rf a+rX,u+w,g-w,o-w
+
 %_exec_prefix    %{_prefix}
 %_bindir         %{_exec_prefix}/bin
 %_sbindir        %{_exec_prefix}/sbin
 %_infodir        /usr/share/info
 %_mandir         %{_prefix}/share/man
 %_defaultdocdir  /usr/share/doc
+
+%__os_install_post \
+%{__spec_install_post_strip}\
+%{__spec_install_post_chrpath}\
+%{__spec_install_post_compress_docs}\
+%{__spec_install_post_compress_modules}\
+%{__spec_install_post_py_hardlink}\
+%{__spec_install_post_perl_clean}\
+%{__arch_install_post}\
+%{nil}
+
This page took 0.02863 seconds and 4 git commands to generate.