Blob Blame History Raw
--- cobbler-2.8.4/setup.py.orig	2018-11-17 08:10:11.000000000 -0700
+++ cobbler-2.8.4/setup.py	2018-11-26 12:56:08.219500342 -0700
@@ -305,7 +305,7 @@
                 # 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]
@@ -316,7 +316,7 @@
             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)