You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ValueError: can't parse specfile
File "rebasehelper/helpers/rpm_helper.py", line 182, in parse_spec
result = rpm.spec(tmp.name, flags) if flags is not None else rpm.spec(tmp.name)
RebaseHelperError: Failed to parse SPEC file: ["autopatch: invalid option -- 'M'", 'error: Unknown option M in autopatch(vp:)', 'error: line 135: %autopatch -p 1 -M 50000']
File "rebasehelper/helpers/rpm_helper.py", line 202, in get_rpm_spec
spec = cls.parse_spec(path, flags=rpm.RPMSPEC_ANYARCH)
File "rebasehelper/helpers/rpm_helper.py", line 188, in parse_spec
': ' + str(output) if output else '')) from e
ValueError: can't parse specfile
File "rebasehelper/helpers/rpm_helper.py", line 182, in parse_spec
result = rpm.spec(tmp.name, flags) if flags is not None else rpm.spec(tmp.name)
RebaseHelperError: Failed to parse SPEC file: ["autopatch: invalid option -- 'M'", 'error: Unknown option M in autopatch(vp:)', 'error: line 135: %autopatch -p 1 -M 50000']
(8 additional frame(s) were not displayed)
...
File "dist2src/core.py", line 270, in dist_git_spec
sources_dir=self.dist_git_path / "SOURCES/",
File "packit/specfile.py", line 52, in __init__
super().__init__(path=str(path), sources_location=str(sources_dir))
File "rebasehelper/specfile.py", line 132, in __init__
self.spc: rpm.spec = RpmHelper.get_rpm_spec(self.path, self.sources_location, self.predefined_macros)
File "rebasehelper/helpers/rpm_helper.py", line 205, in get_rpm_spec
spec = cls.parse_spec(path)
File "rebasehelper/helpers/rpm_helper.py", line 188, in parse_spec
': ' + str(output) if output else '')) from e
The text was updated successfully, but these errors were encountered:
Sentry Issue: DIST2SRC-UPDATE-20
The text was updated successfully, but these errors were encountered: