X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=macros.pld.in;h=aab0aa37315f6b98daf4a253f785ef66764cb3b0;hb=10a92209fb37f7309de983774dea1c800a343044;hp=cec36f869b9ab3b98153ad242302e129b5c13a09;hpb=8abe699c18103c8752859702fd8201ddbdfb7613;p=packages%2Frpm.git diff --git a/macros.pld.in b/macros.pld.in index cec36f8..aab0aa3 100644 --- a/macros.pld.in +++ b/macros.pld.in @@ -46,12 +46,10 @@ %__compress_doc @prefix@/lib/rpm/compress-doc%{?_noautocompressdoc: --noautocompressdoc='%{_noautocompressdoc}'} %__os_install_post \ -%{?ifnarch noarch:\ %{__spec_install_post_strip}\ %{__spec_install_post_chrpath}\ %{__spec_install_post_compress_modules}\ %{__spec_install_post_check_so}\ -%endif}\ %{__spec_install_post_check_tmpfiles}\ %{__spec_install_post_compress_docs}\ %{__spec_install_post_py_hardlink}\ @@ -109,16 +107,15 @@ pakietu oraz przy odpluskwianiu samego pakietu.\ %buildroot %{_tmppath}/%{name}-%{version}-root-%(id -u -n) %_source_payload w9.gzdio -%_binary_payload w9.lzdio +%_binary_payload w6.lzdio %_rpmfc_magic_path /usr/share/file/magic # provides don't obsolete %_upgrade_tag name -# Disable automatic dependencies on parent directory and symlinks for now +# Disable automatic dependencies on symlinks for now (debuginfo packages pull too many deps) %_check_symlink_deps 0 -%_check_dirname_deps 0 # Do not generate executable() dependencies for scriptlets, # as it may give false positives, for example: @@ -133,6 +130,12 @@ pakietu oraz przy odpluskwianiu samego pakietu.\ %_files_listed_twice_terminate_build 1 %_unpackaged_subdirs_terminate_build 0 +# +# Export package NEVRA (stamped with install tid) info for HRMIB on this path. +# +# XXX Note: escaped %% for use in headerSprintf() +%_hrmib_path /var/cache/hrmib/%{___NVRA} + #----------------------------------------------------------------- # CFLAGS and LDFLAGS used to build @@ -184,6 +187,9 @@ pakietu oraz przy odpluskwianiu samego pakietu.\ %x8664 x86_64 amd64 ia32e %ppc ppc ppc7400 ppc7450 +# avoid fdatasync syscall flood during database operations. +%__nofsync nofsync + #--------------------------------------------------------------------- # Expanded at end of %prep # @@ -196,6 +202,8 @@ pakietu oraz przy odpluskwianiu samego pakietu.\ %__id /bin/id +# +# DO NOT put anything after this %%{load:...} ! # # rpm5 prolog for loading the standard macro %{load:/etc/rpm/macros.d/*.macros}