diff options
author | Igor Gnatenko <i.gnatenko.brain@gmail.com> | 2015-03-23 02:25:04 +0300 |
---|---|---|
committer | Igor Gnatenko <i.gnatenko.brain@gmail.com> | 2015-03-23 02:25:10 +0300 |
commit | 7462bc96624be66c0985130e01e1da1ba5f7f1e6 (patch) | |
tree | 868f33dbb65cc284fe5d14410e5c9f9b0617a6ad /modules | |
parent | 78d31cafd73ef7df0e842efc822a8778fe4f9761 (diff) | |
download | meson-7462bc96624be66c0985130e01e1da1ba5f7f1e6.zip meson-7462bc96624be66c0985130e01e1da1ba5f7f1e6.tar.gz meson-7462bc96624be66c0985130e01e1da1ba5f7f1e6.tar.bz2 |
modules/rpm: trivial style fixes
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/rpm.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/rpm.py b/modules/rpm.py index 57c1de5..9222f05 100644 --- a/modules/rpm.py +++ b/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') @@ -138,7 +137,7 @@ class RPMModule: fn.write('%files devel\n') for f in files_devel: fn.write('%s\n' % f) - fn.write('\n') + fn.write('\n') if so_installed: fn.write('%post -p /sbin/ldconfig\n') fn.write('\n') |