[PKG-Openstack-devel] Bug#839325: cobbler: FTBFS: dh_installman: failed to read cobbler.1.gz

Chris Lamb lamby at debian.org
Thu Oct 6 21:44:25 UTC 2016


tags 839325 + patch
thanks

Patch attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
diff --git a/setup.py b/setup.py
index 7c6510b..25eec99 100644
--- a/setup.py
+++ b/setup.py
@@ -307,7 +307,7 @@ class build_man(Command):
                 # It is. Configure it
                 self.build_one_file(infile, outfile)
 
-    _COMMAND = 'pod2man --center="%s" --release="" %s | gzip -c > %s'
+    _COMMAND = 'pod2man --center="%s" --release="%s" %s | gzip -c > %s'
 
     def build_one_file(self, infile, outfile):
         man = os.path.splitext(os.path.splitext(os.path.basename(infile))[0])[0]
@@ -318,7 +318,7 @@ class build_man(Command):
             if not os.path.exists(outdir):
                 os.makedirs(outdir)
             # Now create the manpage
-            cmd = build_man._COMMAND % ('man', infile, outfile )
+            cmd = build_man._COMMAND % ('man', VERSION, infile, outfile )
             if os.system(cmd):
                 log.announce("Creation of %s manpage failed." % man, log.ERROR)
                 exit(1)


More information about the Openstack-devel mailing list