From 46401eb9b230316ae6f9c3b803d49475ed560848 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Sun, 15 Dec 2024 09:47:43 +0100 Subject: [PATCH 1/2] Use correct edit-chroot option According to `copr edit-chroot --help`, the name of the option is `--repos`, not `--repo`. --- .github/workflows/fedora-copr-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fedora-copr-build.yml b/.github/workflows/fedora-copr-build.yml index dea56db4..61624558 100644 --- a/.github/workflows/fedora-copr-build.yml +++ b/.github/workflows/fedora-copr-build.yml @@ -145,7 +145,7 @@ jobs: # https://bugzilla.redhat.com/show_bug.cgi?id=2331339 # Once that package is accepted in Fedora, remove the following chroot edit. if [[ "$chroot" =~ fedora-(4[0-9]|rawhide) ]]; then - copr edit-chroot --repo "https://download.copr.fedorainfracloud.org/results/kkleine/python-nanobind/\$distname-\$releasever-\$basearch" ${{ env.project_today }}/$chroot + copr edit-chroot --repos "https://download.copr.fedorainfracloud.org/results/kkleine/python-nanobind/\$distname-\$releasever-\$basearch" ${{ env.project_today }}/$chroot fi done From 601da25bc3fd4ea4fe82d0f9e6a3c128a9cf3651 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 16 Dec 2024 10:09:52 +0100 Subject: [PATCH 2/2] Use copr:// URL instead This works correctly on rawhide. --- .github/workflows/fedora-copr-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fedora-copr-build.yml b/.github/workflows/fedora-copr-build.yml index 61624558..998fc4ca 100644 --- a/.github/workflows/fedora-copr-build.yml +++ b/.github/workflows/fedora-copr-build.yml @@ -145,7 +145,7 @@ jobs: # https://bugzilla.redhat.com/show_bug.cgi?id=2331339 # Once that package is accepted in Fedora, remove the following chroot edit. if [[ "$chroot" =~ fedora-(4[0-9]|rawhide) ]]; then - copr edit-chroot --repos "https://download.copr.fedorainfracloud.org/results/kkleine/python-nanobind/\$distname-\$releasever-\$basearch" ${{ env.project_today }}/$chroot + copr edit-chroot --repos "copr://kkleine/python-nanobind" ${{ env.project_today }}/$chroot fi done