Warning: Permanently added '34.226.201.101' (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/10002453 Version: 1.6 PID: 8641 Logging PID: 8643 Task: {'appstream': False, 'background': False, 'build_id': 10002453, 'chroot': None, 'package_name': None, 'project_dirname': 'asterisk', 'project_name': 'asterisk', 'project_owner': 'karellen', 'repos': [], 'sandbox': 'karellen/asterisk--karellen', 'source_json': {'clone_url': 'https://github.com/karellen/asterisk', 'committish': 'f39', 'spec': 'asterisk.spec', 'srpm_build_method': 'rpkg', 'subdirectory': '', 'type': 'git'}, 'source_type': 8, 'submitter': 'karellen', 'task_id': '10002453'} Running: git clone https://github.com/karellen/asterisk /var/lib/copr-rpmbuild/workspace/workdir-od1xobw9/asterisk --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://github.com/karellen/asterisk', '/var/lib/copr-rpmbuild/workspace/workdir-od1xobw9/asterisk', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-od1xobw9/asterisk'... Running: git checkout f39 -- cmd: ['git', 'checkout', 'f39', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-od1xobw9/asterisk rc: 0 stdout: branch 'f39' set up to track 'origin/f39'. stderr: Switched to a new branch 'f39' Generated rpkg config: [rpkg] preprocess_spec = True [git] anon_clone_url = https://github.com/%(repo_path)s [lookaside] download_url = https://${git_props:remote_netloc}/repo/pkgs/%(repo_path)s/%(filename)s/%(hashtype)s/%(hash)s/%(filename)s Writing config into /var/lib/copr-rpmbuild/workspace/workdir-od1xobw9/.config/rpkg.conf Running: rpkg srpm --outdir /var/lib/copr-rpmbuild/results --spec /var/lib/copr-rpmbuild/workspace/workdir-od1xobw9/asterisk/asterisk.spec cmd: ['rpkg', 'srpm', '--outdir', '/var/lib/copr-rpmbuild/results', '--spec', '/var/lib/copr-rpmbuild/workspace/workdir-od1xobw9/asterisk/asterisk.spec'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-od1xobw9/asterisk rc: 1 stdout: Could not parse spec file with error: can't parse specfile stderr: error: %patchN is obsolete, use %patch N (or %patch -P N): %patch0 -p1 Copr build error: error: %patchN is obsolete, use %patch N (or %patch -P N): %patch0 -p1