package_rpm.bbclass: added from Poky
package_rpm.bbclass: added from Poky

Squashed changes from Poky:

svn r5067 - package_rpm.bbclass: Update against recent packaging changes
            and start to implement dependency handling.
svn r5100 - package_rpm.bbclass: Fix empty package handling, handle
	    package dependency renaming by adding a missing function
	    call and expand RPMBUILD before changing the dictonary so
	    local PV/PR changes don't break the WORKDIR variable
	    expansion
svn r5111 - package_rpm.bbclass: Stop autogenerated dependencies for
            now, its not functioning correctly
svn r5116 - package_rpm.bbclass: files needs to start from /
svn r5129 - package_rpm.bbclass: Fix problems with package version with
            '-' in the version (replace with '+'), improve the Requires
	    and Recommends generation code
svn r5131 - package_rpm.bbclass: Add support for postinst and preinst scripts
svn r5381 - classes: Split rpm feeds by PACKAGE_ARCH
svn r5390 - package_rpm.bbclass: Improve handling of '-' characters in Requires
            and Recommends fields
svn r5393 - package_rpm.bbclass: Fix package version fixing for PKG renamed packages
svn r5397 - package_rpm.bbclass: Fix dependency rebuilding bug
svn r5413 - package_rpm.bbclass: save value of RPMBUILDPATH as it is needed for
            packaging

package_rpm.bbclass: Don't use the system wide RPM macros.

This fixes the build on Fedora 10 where the RPM system macros obliterate
the value of BuildRoot that is set in the spec file.

package_rpm.bbclass: fix indentation package_rpm.bbclass: fix syntax errors
package_rpm.bbclass: save RPROVIDES in packages

nlebedenco/mini2440,xifengchuo/openembedded,sentient-energy/emsw-oe-mirror,sampov2/audio-openembedded,philb/pbcl-oe-2010,yyli/overo-oe,dellysunnymtech/sakoman-oe,openpli-arm/openembedded,crystalfontz/openembedded,bticino/openembedded,SIFTeam/openembedded,YtvwlD/od-oe,libo/openembedded,KDAB/OpenEmbedded-Archos,nvl1109/openembeded,anguslees/openembedded-android,dellysunnymtech/sakoman-oe,sledz/oe,trini/openembedded,libo/openembedded,Martix/Eonos,KDAB/OpenEmbedded-Archos,philb/pbcl-oe-2010,dellysunnymtech/sakoman-oe,popazerty/openembedded-cuberevo,nvl1109/openembeded,sampov2/audio-openembedded,nzjrs/overo-openembedded,openembedded/openembedded,JamesAng/oe,bticino/openembedded,JamesAng/goe,demsey/openenigma2,YtvwlD/od-oe,xifengchuo/openembedded,sampov2/audio-openembedded,BlackPole/bp-openembedded,sledz/oe,demsey/openembedded,KDAB/OpenEmbedded-Archos,dave-billin/overo-ui-moos-auv,John-NY/overo-oe,openembedded/openembedded,trini/openembedded,openpli-arm/openembedded,JrCs/opendreambox,thebohemian/openembedded,popazerty/openembedded-cuberevo,troth/oe-ts7xxx,openembedded/openembedded,JamesAng/oe,sutajiokousagi/openembedded,JrCs/opendreambox,crystalfontz/openembedded,crystalfontz/openembedded,libo/openembedded,hulifox008/openembedded,John-NY/overo-oe,rascalmicro/openembedded-rascal,crystalfontz/openembedded,rascalmicro/openembedded-rascal,anguslees/openembedded-android,yyli/overo-oe,dave-billin/overo-ui-moos-auv,yyli/overo-oe,nx111/openembeded_openpli2.1_nx111,JamesAng/oe,philb/pbcl-oe-2010,thebohemian/openembedded,BlackPole/bp-openembedded,xifengchuo/openembedded,openembedded/openembedded,openembedded/openembedded,scottellis/overo-oe,dellysunnymtech/sakoman-oe,giobauermeister/openembedded,openembedded/openembedded,hulifox008/openembedded,xifengchuo/openembedded,nx111/openembeded_openpli2.1_nx111,YtvwlD/od-oe,buglabs/oe-buglabs,dellysunnymtech/sakoman-oe,nvl1109/openembeded,troth/oe-ts7xxx,nzjrs/overo-openembedded,JamesAng/goe,xifengchuo/openembedded,nx111/openembeded_openpli2.1_nx111,demsey/openembedded,scottellis/overo-oe,giobauermeister/openembedded,demsey/openembedded,nzjrs/overo-openembedded,demsey/openembedded,mrchapp/arago-oe-dev,BlackPole/bp-openembedded,SIFTeam/openembedded,rascalmicro/openembedded-rascal,openpli-arm/openembedded,JamesAng/goe,giobauermeister/openembedded,buglabs/oe-buglabs,sutajiokousagi/openembedded,sutajiokousagi/openembedded,bticino/openembedded,JrCs/opendreambox,mrchapp/arago-oe-dev,BlackPole/bp-openembedded,YtvwlD/od-oe,trini/openembedded,nx111/openembeded_openpli2.1_nx111,openembedded/openembedded,John-NY/overo-oe,philb/pbcl-oe-2010,yyli/overo-oe,sentient-energy/emsw-oe-mirror,scottellis/overo-oe,demsey/openenigma2,popazerty/openembedded-cuberevo,buglabs/oe-buglabs,anguslees/openembedded-android,demsey/openenigma2,thebohemian/openembedded,libo/openembedded,buglabs/oe-buglabs,JamesAng/goe,demsey/openenigma2,nvl1109/openembeded,yyli/overo-oe,JamesAng/oe,mrchapp/arago-oe-dev,troth/oe-ts7xxx,JamesAng/goe,thebohemian/openembedded,hulifox008/openembedded,xifengchuo/openembedded,dellysunnymtech/sakoman-oe,philb/pbcl-oe-2010,nlebedenco/mini2440,giobauermeister/openembedded,troth/oe-ts7xxx,John-NY/overo-oe,JrCs/opendreambox,hulifox008/openembedded,rascalmicro/openembedded-rascal,SIFTeam/openembedded,buglabs/oe-buglabs,popazerty/openembedded-cuberevo,bticino/openembedded,Martix/Eonos,yyli/overo-oe,nvl1109/openembeded,sutajiokousagi/openembedded,hulifox008/openembedded,sutajiokousagi/openembedded,nvl1109/openembeded,crystalfontz/openembedded,YtvwlD/od-oe,mrchapp/arago-oe-dev,John-NY/overo-oe,openembedded/openembedded,SIFTeam/openembedded,anguslees/openembedded-android,dellysunnymtech/sakoman-oe,KDAB/OpenEmbedded-Archos,giobauermeister/openembedded,scottellis/overo-oe,giobauermeister/openembedded,libo/openembedded,JamesAng/oe,trini/openembedded,nlebedenco/mini2440,sledz/oe,xifengchuo/openembedded,philb/pbcl-oe-2010,yyli/overo-oe,anguslees/openembedded-android,dellysunnymtech/sakoman-oe,rascalmicro/openembedded-rascal,nx111/openembeded_openpli2.1_nx111,xifengchuo/openembedded,troth/oe-ts7xxx,John-NY/overo-oe,dave-billin/overo-ui-moos-auv,nzjrs/overo-openembedded,sentient-energy/emsw-oe-mirror,xifengchuo/openembedded,sampov2/audio-openembedded,yyli/overo-oe,bticino/openembedded,scottellis/overo-oe,nlebedenco/mini2440,sentient-energy/emsw-oe-mirror,sledz/oe,troth/oe-ts7xxx,thebohemian/openembedded,KDAB/OpenEmbedded-Archos,dave-billin/overo-ui-moos-auv,openpli-arm/openembedded,demsey/openenigma2,rascalmicro/openembedded-rascal,SIFTeam/openembedded,demsey/openembedded,popazerty/openembedded-cuberevo,sledz/oe,trini/openembedded,rascalmicro/openembedded-rascal,giobauermeister/openembedded,JamesAng/oe,SIFTeam/openembedded,dave-billin/overo-ui-moos-auv,popazerty/openembedded-cuberevo,nx111/openembeded_openpli2.1_nx111,dave-billin/overo-ui-moos-auv,KDAB/OpenEmbedded-Archos,troth/oe-ts7xxx,bticino/openembedded,demsey/openenigma2,Martix/Eonos,anguslees/openembedded-android,nx111/openembeded_openpli2.1_nx111,JrCs/opendreambox,philb/pbcl-oe-2010,nlebedenco/mini2440,nzjrs/overo-openembedded,YtvwlD/od-oe,rascalmicro/openembedded-rascal,scottellis/overo-oe,BlackPole/bp-openembedded,dave-billin/overo-ui-moos-auv,crystalfontz/openembedded,nzjrs/overo-openembedded,YtvwlD/od-oe,trini/openembedded,John-NY/overo-oe,Martix/Eonos,mrchapp/arago-oe-dev,YtvwlD/od-oe,sampov2/audio-openembedded,trini/openembedded,sutajiokousagi/openembedded,anguslees/openembedded-android,openpli-arm/openembedded,mrchapp/arago-oe-dev,BlackPole/bp-openembedded,openembedded/openembedded,JrCs/opendreambox,sampov2/audio-openembedded,demsey/openembedded,sentient-energy/emsw-oe-mirror,demsey/openenigma2,openembedded/openembedded,mrchapp/arago-oe-dev,libo/openembedded,thebohemian/openembedded,nzjrs/overo-openembedded,nlebedenco/mini2440,sutajiokousagi/openembedded,sentient-energy/emsw-oe-mirror,openembedded/openembedded,sentient-energy/emsw-oe-mirror,JrCs/opendreambox,nlebedenco/mini2440,sledz/oe,dellysunnymtech/sakoman-oe,popazerty/openembedded-cuberevo,openpli-arm/openembedded,giobauermeister/openembedded,JrCs/opendreambox,SIFTeam/openembedded,buglabs/oe-buglabs,BlackPole/bp-openembedded,hulifox008/openembedded,openpli-arm/openembedded,crystalfontz/openembedded,JrCs/opendreambox,libo/openembedded,buglabs/oe-buglabs,sledz/oe,popazerty/openembedded-cuberevo,Martix/Eonos,Martix/Eonos,JamesAng/goe,JamesAng/oe,scottellis/overo-oe,giobauermeister/openembedded,bticino/openembedded,buglabs/oe-buglabs,hulifox008/openembedded,nx111/openembeded_openpli2.1_nx111,KDAB/OpenEmbedded-Archos,demsey/openembedded,thebohemian/openembedded,JamesAng/goe,Martix/Eonos,sampov2/audio-openembedded,nvl1109/openembeded