Output the base tar name
This commit is contained in:
parent
bf5a58d8f0
commit
bcc896deae
@ -90,7 +90,7 @@ def generate_spec_contents(tmpl_fn, revno, version):
|
|||||||
|
|
||||||
(stdout, _stderr) = tiny_p([sys.executable,
|
(stdout, _stderr) = tiny_p([sys.executable,
|
||||||
join(os.getcwd(), 'rpm-changelog')])
|
join(os.getcwd(), 'rpm-changelog')])
|
||||||
subs['changelog'] = stdout
|
subs['changelog'] = stdout.strip()
|
||||||
|
|
||||||
# See: http://www.zarb.org/~jasonc/macros.php
|
# See: http://www.zarb.org/~jasonc/macros.php
|
||||||
# Pickup any special files
|
# Pickup any special files
|
||||||
@ -127,7 +127,8 @@ def archive_code():
|
|||||||
lines = stdout.splitlines()
|
lines = stdout.splitlines()
|
||||||
revno = lines[0]
|
revno = lines[0]
|
||||||
version = lines[1]
|
version = lines[1]
|
||||||
arc_fn = lines[2]
|
bname = lines[2]
|
||||||
|
arc_fn = lines[3]
|
||||||
return (revno, version, arc_fn)
|
return (revno, version, arc_fn)
|
||||||
|
|
||||||
|
|
||||||
|
@ -80,6 +80,7 @@ def main(args):
|
|||||||
|
|
||||||
print revno
|
print revno
|
||||||
print version
|
print version
|
||||||
|
print bfn
|
||||||
print(os.path.abspath(fn))
|
print(os.path.abspath(fn))
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user