Patchwork [3/7] Fix RPM dependencies

login
register
mail settings
Submitter Mark Hatle
Date Sept. 21, 2011, 1:24 a.m.
Message ID <bb0549255a5fc21bb84b6c9bcb1613a4bee8a72e.1316568118.git.mark.hatle@windriver.com>
Download mbox | patch
Permalink /patch/11787/
State New, archived
Headers show

Comments

Mark Hatle - Sept. 21, 2011, 1:24 a.m.
When packaging for RPM, dependencies were not being properly added
to the packages.  Only the "providing" dependencies were added due
to a typo.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
---
 meta/classes/package_rpm.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 4605ec8..d822b54 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -840,7 +840,7 @@  python do_package_rpm () {
 	os.chmod(outdepends, 0755)
 
 	# Poky / RPM Provides
-	outprovides = workdir + "/" + srcname + ".requires"
+	outprovides = workdir + "/" + srcname + ".provides"
 
 	try:
 		from __builtin__ import file