X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=rpm.platform;h=36d574a4e1be3ccdd10f800b7a93f9745afbc19c;hb=33b60b5cd7478113560b1073e12d1d65be27621d;hp=cdfe1b21acd16c8504a082f5c69637ed006c1821;hpb=ea4b29008d1ab14863f07920d3cb9e341f4fb4e7;p=packages%2Frpm.git diff --git a/rpm.platform b/rpm.platform index cdfe1b2..36d574a 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 @@ -21,6 +31,7 @@ %{__spec_install_post_compress_docs}\ %{__spec_install_post_compress_modules}\ %{__spec_install_post_py_hardlink}\ +%{__spec_install_post_perl_clean}\ %{__arch_install_post}\ %{nil}