https://bugzilla.redhat.com/show_bug.cgi?id=1483300
--- Comment #3 from Robert-André Mauchin zebob.m@gmail.com --- You didn't seem to have fixed the following:
- During the build of your package, it requires an Internet access to git clone a repository. You won't be able to do this on Koji because networking is disabled, you'll get the following error:
Checking for dtkwidget... Cloning into 'libqt5xcbqpa-dev'... fatal: unable to access 'https://cr.deepin.io/libqt5xcbqpa-dev/': Could not resolve host: cr.deepin.io Project ERROR: clone libqt5xcbqpa header sources failed
So you must find an alternate solution to include libqt5xcbqpa. I suggest you to add this repository in a tar.gz as Source2, with detailed instruction on how you build the tar.gz:
# git clone https://cr.deepin.io/libqt5xcbqpa-dev/ # tar -cf libqt5xcbqpa-dev.tar.gz libqt5xcbqpa-dev Source2: libqt5xcbqpa-dev.tar.gz
Then in %prep, after %setup, you just unpack the tar.gz and move it where the build script expects it:
%{__tar} xf %{SOURCE1} %{__mv} libqt5xcbqpa-dev platformplugin/.
If you don't you won't be able to buid it in Koji.