1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-06 21:28:42 +02:00

- drop the support for deprecated cbinstall and cbpreinstall directives

This commit is contained in:
2013-03-19 08:17:13 +01:00
parent 948687c4cf
commit d082c75958
2 changed files with 1 additions and 6 deletions

2
NEWS
View File

@@ -1,6 +1,6 @@
0.140
- allow specifying directories as mv targets
-
- drop the support for deprecated cbinstall and cbpreinstall directives
0.139
- various bugfixes for owner search

View File

@@ -138,8 +138,6 @@ class Buildinfo:
self.deps.append(p)
self.vminstall_list = [ dep.name for dep in self.deps if dep.vminstall ]
self.cbinstall_list = [ dep.name for dep in self.deps if dep.cbinstall ]
self.cbpreinstall_list = [ dep.name for dep in self.deps if dep.cbpreinstall ]
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 ]
@@ -169,7 +167,6 @@ class Pac:
'version', 'release',
'project', 'repository',
'preinstall', 'vminstall', 'noinstall', 'runscripts',
'cbinstall', 'cbpreinstall',
]:
self.mp[i] = node.get(i)
@@ -841,8 +838,6 @@ def main(apiurl, opts, argv):
rpmlist.append('preinstall: ' + ' '.join(bi.preinstall_list) + '\n')
rpmlist.append('vminstall: ' + ' '.join(bi.vminstall_list) + '\n')
rpmlist.append('cbinstall: ' + ' '.join(bi.cbinstall_list) + '\n')
rpmlist.append('cbpreinstall: ' + ' '.join(bi.cbpreinstall_list) + '\n')
rpmlist.append('runscripts: ' + ' '.join(bi.runscripts_list) + '\n')
rpmlist_file = NamedTemporaryFile(prefix='rpmlist.')