modules/rpm: trivial style fixes

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
pull/63/head
Igor Gnatenko 10 years ago
parent 78d31cafd7
commit 7462bc9662
  1. 3
      modules/rpm.py

@ -75,8 +75,7 @@ class RPMModule:
files_devel.add('%%{_libdir}/pkgconfig/%s.pc' % pkgconfig.filebase)
if len(files_devel) > 0:
devel_subpkg = True
fn = open('%s.spec' % os.path.join(state.environment.get_build_dir(), proj),
'w+')
fn = open('%s.spec' % os.path.join(state.environment.get_build_dir(), proj), 'w+')
fn.write('Name: %s\n' % proj)
fn.write('Version: # FIXME\n')
fn.write('Release: 1%{?dist}\n')

Loading…
Cancel
Save