1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-26 09:56:13 +01:00

- fixed importsrcpkg doc

- osc build: if --keep-pkgs is used also save the src.rpm
This commit is contained in:
Marcus Hüwe 2008-11-29 13:32:25 +00:00
parent 7172db474e
commit c1b99b041f
2 changed files with 4 additions and 5 deletions

View File

@ -201,7 +201,7 @@ def get_built_files(pacdir, pactype):
b_built = subprocess.Popen(['find', os.path.join(pacdir, 'DEBS'),
'-name', '*.deb'],
stdout=subprocess.PIPE).stdout.read().strip()
s_built = None
s_built = ''
return s_built, b_built
@ -444,7 +444,7 @@ def main(opts, argv):
print b_built
if opts.keep_pkgs:
for i in b_built.splitlines():
for i in b_built.splitlines() + s_built.splitlines():
import shutil
shutil.copy2(i, os.path.join(opts.keep_pkgs, os.path.basename(i)))

View File

@ -2287,9 +2287,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
the package does not exist on the server it will be created
too otherwise the meta data of the existing package will be
updated (<title /> and <description />).
The src.rpm will be extracted into the package dir. If the
--disable-commit switch is not used all changes will be
committed.
The src.rpm will be extracted into the package dir. The files
won't be committed unless you explicitly pass the --commit switch.
SRPM is the path of the src.rpm in the local filesystem,
or an URL.