Warning: Permanently added '3.80.32.121' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --srpm --task-url https://copr.fedorainfracloud.org/backend/get-srpm-build-task/8384726 Version: 1.2 PID: 10079 Logging PID: 10080 Task: {'appstream': False, 'background': False, 'build_id': 8384726, 'chroot': None, 'package_name': None, 'project_dirname': 'leapp', 'project_name': 'leapp', 'project_owner': 'evgeni', 'repos': [], 'sandbox': 'evgeni/leapp--evgeni', 'source_json': {'pkg': 'leapp-repository-0.21.0-2.1.el9.src.rpm', 'tmp': 'tmp21d7mdgu', 'url': 'https://copr.fedorainfracloud.org/tmp/tmp21d7mdgu/leapp-repository-0.21.0-2.1.el9.src.rpm'}, 'source_type': 2, 'submitter': 'evgeni', 'task_id': '8384726'} Output: ['leapp-repository-0.21.0-2.1.el9.src.rpm'] Running SRPMResults tool Exception appeared during handling spec file: /var/lib/copr-rpmbuild/results/leapp-repository.spec Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/specfile/spec_parser.py", line 233, in get_rpm_spec return rpm.spec(tmp.name, flags) ~~~~~~~~^^^^^^^^^^^^^^^^^ ValueError: can't parse specfile The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/copr_rpmbuild/automation/srpm_results.py", line 50, in get_package_info spec = Spec(path, macros) File "/usr/lib/python3.13/site-packages/copr_rpmbuild/helpers.py", line 404, in __init__ self.spec = Specfile(path, macros=macros) ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/specfile/specfile.py", line 80, in __init__ self._parser.parse(str(self)) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/specfile/spec_parser.py", line 387, in parse self.spec, self.tainted = self._do_parse(content, extra_macros) ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/specfile/spec_parser.py", line 301, in _do_parse spec = get_rpm_spec(content, rpm.RPMSPEC_ANYARCH | rpm.RPMSPEC_FORCE) File "/usr/lib/python3.13/site-packages/specfile/spec_parser.py", line 235, in get_rpm_spec raise RPMException(stderr=stderr) from e specfile.exceptions.RPMException: %patchN is obsolete, use %patch N (or %patch -P N): %patch0001 -p1 Querying NEVRA from SRPM header: /var/lib/copr-rpmbuild/results/leapp-repository-0.21.0-2.1.el9.src.rpm Package info: { "name": "leapp-repository", "epoch": null, "version": "0.21.0", "release": "2.1.el9", "exclusivearch": [], "excludearch": [] } SRPMResults finished