torsava / spec2scl

MIT License
0 stars 0 forks source link

metapacke.spec missing in source tarball #14

Closed torsava closed 7 years ago

torsava commented 10 years ago

Originally reported by: Slavek Kabrda (Bitbucket: bkabrda, GitHub: bkabrda)


spec2scl --meta-specfile foo raises:

Traceback (most recent call last):
  File "/usr/bin/spec2scl", line 9, in <module>
    load_entry_point('spec2scl==1.1.0', 'console_scripts', 'spec2scl')()
  File "/usr/lib/python2.7/site-packages/spec2scl/bin.py", line 107, in main
    converted.append(convertor.convert())
  File "/usr/lib/python2.7/site-packages/spec2scl/convertor.py", line 20, in convert
    return self.meta_convert()
  File "/usr/lib/python2.7/site-packages/spec2scl/convertor.py", line 29, in meta_convert
    jinja_template = jinja_env.get_template('metapackage.spec')
  File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 791, in get_template
    return self._load_template(name, self.make_globals(globals))
  File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 765, in _load_template
    template = self.loader.load(self, name, globals)
  File "/usr/lib/python2.7/site-packages/jinja2/loaders.py", line 398, in load
    raise TemplateNotFound(name)
jinja2.exceptions.TemplateNotFound: metapackage.spec

torsava commented 10 years ago

Original comment by Robert Kuska (Bitbucket: xkuska, GitHub: Unknown):


Include templates in tarball fixes #14