Florian Weimer wrote: >> * Adapt packages to use the wrapper. this can take the form of explicitly >> setting QMAKE (or equivalent), adjusting PATH to prefer the qt5 wrapper >> dir, or patching, or some combination of the above. >> >> In the specific case of pcp, it supports QMAKE, so it's a one liner, >> something like this appears to achieve what we want: >> >> diff --git a/pcp.spec b/pcp.spec >> index 72a7583..71d59a6 100644 >> --- a/pcp.spec >> +++ b/pcp.spec >> @@ -2089,6 +2089,7 @@ updated policy package. >> rm -Rf $RPM_BUILD_ROOT >> >> %build >> +export QMAKE=%{qmake_qt5_wrapper} >> %if !%{disable_python2} && 0%{?default_python} != 3 >> export PYTHON=python%{?default_python} >> %endif > > I doubt that this will work for pcp because it fails building with -z > defs and therefore has to use: > > %undefine _strict_symbol_defs_build Adding my export + your undefine yielded a successful scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=24422357 proof of concept appears to be a success. -- Rex _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx