https://bugzilla.redhat.com/show_bug.cgi?id=2262694



--- Comment #50 from AdriĆ  <[email protected]> ---
Hi, there's more paths that need to be fixed on %prep. Here's the edits I
added:

sed -i 's|resources|%{_datadir}/%{name}/resources|g'   
source/MaterialXView/{Main.cpp,Viewer.cpp}
sed -i 's|"libraries"|"%{_datadir}/%{name}"|g'         
source/MaterialXView/Main.cpp
sed -i 's|resources|%{_datadir}/%{name}/resources|g'   
source/MaterialXGraphEditor/{Main.cpp,Graph.cpp}
sed -i 's|"libraries"|"%{_datadir}/%{name}"|g'         
source/MaterialXGraphEditor/{Main.cpp,Graph.cpp}
sed -i 's|"libraries"|"%{_datadir}/%{name}"|g'         
source/MaterialXGenShader/GenOptions.h

sed -i 's|@PACKAGE_CMAKE_INSTALL_PREFIX@/libraries|%{_datadir}/%{name}|g'      
     cmake/modules/MaterialXConfig.cmake.in
sed -i
's|@PACKAGE_CMAKE_INSTALL_PREFIX@/python|%{python3_sitearch}/MaterialX|g'    
cmake/modules/MaterialXConfig.cmake.in
sed -i
's|@PACKAGE_CMAKE_INSTALL_PREFIX@/resources|%{_datadir}/%{name}/resources|g' 
cmake/modules/MaterialXConfig.cmake.in

Hope it helps!


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2262694

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202262694%23c50

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to