Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
pyxml
pyxml-distutils.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pyxml-distutils.diff of Package pyxml
--- PyXML-0.8.2-orig/setupext/install_data.py 2002-09-02 06:34:51.000000000 +0200 +++ PyXML-0.8.2/setupext/install_data.py 2003-06-16 18:19:32.000000000 +0200 @@ -132,6 +132,7 @@ def run(self): self.outfiles = [] + self.outdirs = [] install_cmd = self.get_finalized_command('install') for d in self.data_files: @@ -159,7 +160,8 @@ # warn if necceassary self.warn("setup script did not provide a directory to copy files to " " -- installing right in '%s'" % install_dir) - + + self.outdirs.append("%dir " + dir) dir=os.path.normpath(dir) # create path self.mkpath(dir) @@ -179,6 +181,8 @@ if type(out) is TupleType: out = out[0] self.outfiles.append(out) + self.outdirs.append("%dir " + os.path.dirname(os.path.dirname(out))) + self.outdirs.append("%dir " + os.path.dirname(out)) return self.outfiles @@ -189,8 +193,11 @@ inputs.append(d.files) return inputs - def get_outputs (self): - return self.outfiles + def get_outputs (self, rpm_dirs=0): + if rpm_dirs: + return self.outfiles + self.outdirs + else: + return self.outfiles
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor