From eb9d93b3403b6289c1f5278eea8886fb7415a651 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Mon, 25 Jun 2012 21:33:36 -0700 Subject: Output the base tar name --- packages/brpm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'packages/brpm') diff --git a/packages/brpm b/packages/brpm index febbfb5e..c3be5997 100755 --- a/packages/brpm +++ b/packages/brpm @@ -90,7 +90,7 @@ def generate_spec_contents(tmpl_fn, revno, version): (stdout, _stderr) = tiny_p([sys.executable, join(os.getcwd(), 'rpm-changelog')]) - subs['changelog'] = stdout + subs['changelog'] = stdout.strip() # See: http://www.zarb.org/~jasonc/macros.php # Pickup any special files @@ -127,7 +127,8 @@ def archive_code(): lines = stdout.splitlines() revno = lines[0] version = lines[1] - arc_fn = lines[2] + bname = lines[2] + arc_fn = lines[3] return (revno, version, arc_fn) -- cgit v1.2.3