as of F10 redhat rpm macros clean up RPM_BUILD_ROOT before
authorBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Wed, 19 Aug 2009 13:09:39 +0000 (13:09 +0000)
committerBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Wed, 19 Aug 2009 13:09:39 +0000 (13:09 +0000)
%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.

Makefile

index 4847de7..1e2cabf 100644 (file)
--- 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