DEPRECATION WARNING: python2 invoked with /usr/bin/python.
    Use /usr/bin/python3 or /usr/bin/python2
    /usr/bin/python will be removed or switched to Python 3 in the future.
    If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out
DEPRECATION WARNING: python2 invoked with /usr/bin/python.
    Use /usr/bin/python3 or /usr/bin/python2
    /usr/bin/python will be removed or switched to Python 3 in the future.
    If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
*** WARNING: mangling shebang in ./usr/bin/g-ir-scanner from #!/usr/bin/env /usr/bin/python to #!/usr/bin//usr/bin/python2. This will become an ERROR, fix it manually!
*** WARNING: mangling shebang in ./usr/bin/g-ir-annotation-tool from #!/usr/bin/env /usr/bin/python to #!/usr/bin//usr/bin/python2. This will become an ERROR, fix it manually!
*** WARNING: mangling shebang in ./usr/bin/g-ir-doc-tool from #!/usr/bin/env /usr/bin/python to #!/usr/bin//usr/bin/python2. This will become an ERROR, fix it manually!
Processing files: gobject-introspection-1.54.1-3.fc28.x86_64

Looks like brp-mangle-shebangs incorrectly updated the python invocation. Since this requirement cannot be met it's breaking any package from building that depends on it.


Thanks,
Richard