Spec URL: https://pagure.io/rpm-golang-github-timtadh-lexmachine SRPM URL: https://download.copr.fedorainfracloud.org/results/jrische/golang-github-timtadh-lexmachine/fedora-rawhide-x86_64/04176911-golang-github-timtadh-lexmachine/golang-github-timtadh-lexmachine-0.2.2-1.fc37.src.rpm Description: A full lexical analysis framework for the Go programming language. Fedora Account System Username: jrische Source RPM repo: https://pagure.io/rpm-golang-github-timtadh-lexmachine Copr: https://copr.fedorainfracloud.org/coprs/jrische/golang-github-timtadh-lexmachine/
Your SPEC URL is wrong. I'm fixing it for you: Spec URL: https://pagure.io/rpm-golang-github-timtadh-lexmachine/raw/rawhide/f/golang-github-timtadh-lexmachine.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/jrische/golang-github-timtadh-lexmachine/fedora-rawhide-x86_64/04176911-golang-github-timtadh-lexmachine/golang-github-timtadh-lexmachine-0.2.2-1.fc37.src.rpm You should also regenerate the specfile using go2rpm.
Re-generate spec file using go2rpm: Spec URL: https://pagure.io/rpm-golang-github-timtadh-lexmachine/raw/rawhide/f/golang-github-timtadh-lexmachine.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/jrische/golang-github-timtadh-lexmachine/fedora-rawhide-x86_64/04562057-golang-github-timtadh-lexmachine/golang-github-timtadh-lexmachine-0.2.2-1.fc37.src.rpm Fedora review: https://download.copr.fedorainfracloud.org/results/jrische/golang-github-timtadh-lexmachine/fedora-rawhide-x86_64/04562057-golang-github-timtadh-lexmachine/fedora-review/review.txt
I removed the glob for the executable file in the %files section. Spec URL: https://pagure.io/rpm-golang-github-timtadh-lexmachine/raw/rawhide/f/golang-github-timtadh-lexmachine.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/jrische/golang-github-timtadh-lexmachine/fedora-rawhide-x86_64/04583617-golang-github-timtadh-lexmachine/golang-github-timtadh-lexmachine-0.2.2-1.fc37.src.rpm Fedora review: https://download.copr.fedorainfracloud.org/results/jrische/golang-github-timtadh-lexmachine/fedora-rawhide-x86_64/04583617-golang-github-timtadh-lexmachine/fedora-review/review.txt
This package was a dependency of yq, but it not longer is.