summaryrefslogtreecommitdiffstats
path: root/meta/classes-global
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes-global')
-rw-r--r--meta/classes-global/package_rpm.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-global/package_rpm.bbclass b/meta/classes-global/package_rpm.bbclass
index a3be823c9d..3579d0d695 100644
--- a/meta/classes-global/package_rpm.bbclass
+++ b/meta/classes-global/package_rpm.bbclass
@@ -104,7 +104,7 @@ python write_specfile () {
104 # append information for logs and patches to %prep 104 # append information for logs and patches to %prep
105 def add_prep(d, spec_files_bottom): 105 def add_prep(d, spec_files_bottom):
106 if d.getVarFlag('ARCHIVER_MODE', 'srpm') == '1' and bb.data.inherits_class('archiver', d): 106 if d.getVarFlag('ARCHIVER_MODE', 'srpm') == '1' and bb.data.inherits_class('archiver', d):
107 spec_files_bottom.append('%%prep -n %s' % d.getVar('PN')) 107 spec_files_bottom.append('%%prep')
108 spec_files_bottom.append('%s' % "echo \"include logs and patches, Please check them in SOURCES\"") 108 spec_files_bottom.append('%s' % "echo \"include logs and patches, Please check them in SOURCES\"")
109 spec_files_bottom.append('') 109 spec_files_bottom.append('')
110 110