Removed no longer used attribute from rpm generator. Closes #502.

pull/506/head
Jussi Pakkanen 9 years ago
parent c7f68c38c6
commit e44229b9c2
  1. 2
      mesonbuild/modules/rpm.py

@ -78,8 +78,6 @@ class RPMModule:
for man in state.man: for man in state.man:
for man_file in man.get_sources(): for man_file in man.get_sources():
files.add('%%{_mandir}/man%u/%s.*' % (int(man_file.split('.')[-1]), man_file)) files.add('%%{_mandir}/man%u/%s.*' % (int(man_file.split('.')[-1]), man_file))
for pkgconfig in state.pkgconfig_gens:
files_devel.add('%%{_libdir}/pkgconfig/%s.pc' % pkgconfig.filebase)
if len(files_devel) > 0: if len(files_devel) > 0:
devel_subpkg = True 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+')

Loading…
Cancel
Save