Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
obs:server:fedora:2.7
osc
osc-0.151.2-add-sb2install-support.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File osc-0.151.2-add-sb2install-support.patch of Package osc
From c7ef7dd14fa54e114a1d87ccccabf41bf1c3e8af Mon Sep 17 00:00:00 2001 From: Carsten Munk <carsten.munk@gmail.com> Date: Fri, 10 Feb 2012 08:20:27 +0100 Subject: [PATCH] Add sb2install support to osc Signed-off-by: Carsten Munk <carsten.munk@gmail.com> --- osc/build.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/osc/build.py b/osc/build.py index 1ea8d2d..363cad6 100644 --- a/osc/build.py +++ b/osc/build.py @@ -151,6 +151,7 @@ class Buildinfo: self.pathes.append(node.get('project')+"/"+node.get('repository')) self.vminstall_list = [ dep.name for dep in self.deps if dep.vminstall ] + self.sb2install_list = [ dep.name for dep in self.deps if dep.sb2install ] self.preinstall_list = [ dep.name for dep in self.deps if dep.preinstall ] self.runscripts_list = [ dep.name for dep in self.deps if dep.runscripts ] self.noinstall_list = [ dep.name for dep in self.deps if dep.noinstall ] @@ -182,6 +183,7 @@ class Pac: 'epoch', 'version', 'release', 'hdrmd5', 'project', 'repository', 'preinstall', 'vminstall', 'noinstall', 'installonly', 'runscripts', + 'sb2install', ]: self.mp[i] = node.get(i) @@ -960,6 +962,7 @@ def main(apiurl, opts, argv): rpmlist.append('preinstall: ' + ' '.join(bi.preinstall_list) + '\n') rpmlist.append('vminstall: ' + ' '.join(bi.vminstall_list) + '\n') + rpmlist.append('sb2install: ' + ' '.join(bi.sb2install_list) + '\n') rpmlist.append('runscripts: ' + ' '.join(bi.runscripts_list) + '\n') if build_type != 'kiwi' and bi.noinstall_list: rpmlist.append('noinstall: ' + ' '.join(bi.noinstall_list) + '\n') -- 2.1.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor