[Bug 1403600] Review Request: YafaRay - A free open-source raytracing render engine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--- Comment #11 from Simone Caronni <negativo17@xxxxxxxxx> ---
Sed commands do not work for me in the form you've written them. If I check the
CMakeLists.txt file I don't see any change. I've changed them from what's
written in the spec file to this:

sed -i -e 's|set(YAF_LIB_DIR lib)|set(YAF_LIB_DIR %{_lib})|g' CMakeLists.txt
sed -i -e 's|set(YAF_TARGET_TYPE ARCHIVE DESTINATION
${CMAKE_INSTALL_PREFIX}/lib RUNTIME)|\
    set(YAF_TARGET_TYPE ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/%{_lib}
RUNTIME)|g' CMakeLists.txt

This changes the sed parameters and changes the lib directory into which they
are installed from /usr/lib to /usr/lib64.

Also the %files section needs to be changed, from:

%{_prefix}/lib/%{yname}-plugins
%{_prefix}/lib/%{yname}_v3_interface.py*
%{_prefix}/lib/*.so

To:

%{_libdir}/%{yname}-plugins
%{_libdir}/%{yname}_v3_interface.py*
%{_libdir}/*.so

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]