Steps to reproduce: $ git clone mock $ cd mock $ git checkout 2b9e1a236af7662b431239ebeb583965a1bfcb1f $ fedpkg prep Downloading mock-2.7.tar.gz ######################################################################## 100.0% Could not execute prep: Repo in inconsistent state: HEAD is a detached symbolic reference as it points to '2b9e1a236af7662b431239ebeb583965a1bfcb1f' I don't think the branch name is needed to actually execute %prep section: $ rpmbuild -bp *.spec --define _sourcedir\ `pwd` setting SOURCE_DATE_EPOCH=1606694400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7kjfK7 + umask 022 + cd /home/praiskup/rpmbuild/BUILD + cd /home/praiskup/rpmbuild/BUILD + rm -rf mock-2.7 + /usr/bin/gzip -dc /home/praiskup/rh/packages/mock/mock-2.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mock-2.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + for file in py/mock.py py/mock-parse-buildlog.py + sed -i '1s|#!/usr/bin/python3 |#!/usr/bin/python3 |' py/mock.py + for file in py/mock.py py/mock-parse-buildlog.py + sed -i '1s|#!/usr/bin/python3 |#!/usr/bin/python3 |' py/mock-parse-buildlog.py + RPM_EC=0 ++ jobs -p + exit 0
s/git clone mock/fedpkg clone mock/
Please, see (and/or) comment here: https://pagure.io/rpkg/pull-request/536
As per pull-request mentioned above, I think the 'prep' function needs better requirements - it means the small fix was prepared to show a better hint to the user in this situation. Marking as Pending Release for now.
FEDORA-EPEL-2021-4b1bb0ee48 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-4b1bb0ee48
FEDORA-2021-20e5f8a6b8 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-20e5f8a6b8
FEDORA-2021-20e5f8a6b8 has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-20e5f8a6b8` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-20e5f8a6b8 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-20e5f8a6b8 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.