diff options
author | Igor Gnatenko <i.gnatenko.brain@gmail.com> | 2015-03-21 00:44:37 +0300 |
---|---|---|
committer | Igor Gnatenko <i.gnatenko.brain@gmail.com> | 2015-03-21 00:50:21 +0300 |
commit | 53f0a1ba0755e43226ce9582d4613af6b5c24d91 (patch) | |
tree | 3360c6de23113e70ccd8e92db46a75cf8daf4b5a /modules | |
parent | 84e2776d986c89619b6c3e36a04e00d861995e10 (diff) | |
download | meson-53f0a1ba0755e43226ce9582d4613af6b5c24d91.zip meson-53f0a1ba0755e43226ce9582d4613af6b5c24d91.tar.gz meson-53f0a1ba0755e43226ce9582d4613af6b5c24d91.tar.bz2 |
modules/rpm: generate required basic RPM tags
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/rpm.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/rpm.py b/modules/rpm.py index 2ab88ff..b6238b0 100644 --- a/modules/rpm.py +++ b/modules/rpm.py @@ -68,6 +68,12 @@ class RPMModule: 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') + fn.write('Summary: # FIXME\n') + fn.write('License: # FIXME\n') + fn.write('\n') + fn.write('Source0: %{name}-%{version}.tar.xz # FIXME\n') fn.write('\n') for compiler in compiler_deps: fn.write('BuildRequires: %s\n' % compiler) @@ -135,6 +141,7 @@ class RPMModule: fn.write('- \n') fn.write('\n') fn.close() + mlog.log('Please, look at RPM spec file and fix FIXME\'s') def initialize(): return RPMModule() |