Make build pattern print a comment

Signed-off-by: William Douglas <william.douglas@intel.com>
This commit is contained in:
William Douglas
2023-03-16 14:23:21 -07:00
committed by Arjan van de Ven
parent 3552dc8e24
commit 7168764db4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ class Specfile(object):
self._write("#\n")
self._write("# This file is auto-generated. DO NOT EDIT\n")
self._write("# Generated by: autospec.py\n")
self._write(f"Using build pattern: {self.config.default_pattern}\n")
self._write(f"# Using build pattern: {self.config.default_pattern}\n")
self._write("#\n")
# if package was verified, write public key information
+1 -1
View File
@@ -39,7 +39,7 @@ class TestSpecfileWrite(unittest.TestCase):
expect = ["#\n",
"# This file is auto-generated. DO NOT EDIT\n",
"# Generated by: autospec.py\n",
"Using build pattern: make\n",
"# Using build pattern: make\n",
"#\n",
"# Source0 file verified with key 0x1 (email)",
"#"]