diff options
Diffstat (limited to 'modules/cabal.py')
| -rw-r--r-- | modules/cabal.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/cabal.py b/modules/cabal.py index fc9bc4f..696e120 100644 --- a/modules/cabal.py +++ b/modules/cabal.py @@ -134,11 +134,12 @@ class Cabal(BuildSystem): self.install(orig) def gen_spec(self): - cabal_file = self.pkg_src.hackage_name + '.spec' + cabal_file = self.pkg_src.hackage_name + '.cabal' with pwd(self.pkg_src.pkg_src_dir): with log_file('cabal2spec.log') as c2s_log: with pwd(self.pkg_src.dir): cmd = ['cabal2spec', cabal_file] + log.debug(str(cmd)) p = Popen(cmd, stdout=c2s_log, stderr=c2s_log) log.info('Generating spec file for %s' % cabal_file) p.communicate() |
