diff --git a/rpmlint/checks/SpecCheck.py b/rpmlint/checks/SpecCheck.py index 54dfb6da0..6f1f15e8d 100644 --- a/rpmlint/checks/SpecCheck.py +++ b/rpmlint/checks/SpecCheck.py @@ -700,7 +700,7 @@ def _checkline_changelog(self, line): '%%changelog: %s' % deptoken) for match in self.macro_regex.findall(line): res = re.match('%+', match) - if len(res.group(0)) % 2 and match != '%autochangelog': + if len(res.group(0)) % 2 and match != '%autochangelog' and match != '%{autochangelog}': self.output.add_info('W', self.pkg, 'macro-in-%changelog', match) else: if not self.depscript_override: