Added missing upstream status line to patch

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Moved code for deleting problematic m4 file into common prefunc

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Replaced populate_packages_prepend() with PACKAGESPLITFUNCS_prepend

Also got rid of unnecessary empty packages by adding only non-empty ones
to the -meta RDEPENDS

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Moved code for creating -meta package RDEPENDS into a new function

split_gstreamer10_packages() must run BEFORE all the other package split
functions to work properly. set_metapkg_rdepends() must run AFTER all of
them to get the full list of packages.

Also, empty package detection fixed.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>