mirror of
https://github.com/clearlinux/autospec.git
synced 2026-11-27 16:15:27 +00:00
Make build pattern print a comment
Signed-off-by: William Douglas <william.douglas@intel.com>
This commit is contained in:
committed by
Arjan van de Ven
parent
3552dc8e24
commit
7168764db4
@@ -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
|
||||
|
||||
@@ -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)",
|
||||
"#"]
|
||||
|
||||
Reference in New Issue
Block a user