From: Barış Metin Date: Wed, 19 Aug 2009 13:09:39 +0000 (+0000) Subject: as of F10 redhat rpm macros clean up RPM_BUILD_ROOT before X-Git-Tag: 4.3-rc11~39 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=f94cf0ae5bcbf14cfd0c1ef1ea4628dea5d81c22;p=build.git as of F10 redhat rpm macros clean up RPM_BUILD_ROOT before %install. since we install stuff at %build stage in kernel.spec (and possibly in some other specs) builds were failing for F10. here we override the default macro. --- diff --git a/Makefile b/Makefile index 4847de79..1e2cabf1 100644 --- a/Makefile +++ b/Makefile @@ -330,6 +330,7 @@ endif rm -f $@ echo "%_topdir $(HOME)" >> $@ echo "%_tmppath $(HOME)/tmp" >> $@ + echo "%__spec_install_pre %{___build_pre}" >> $@ ./getrpmmacros.sh >> $@ ### this utility allows to extract various info from a spec file