On 04/25/2012 02:25 AM, Kamal Ahmed wrote:
Hi, The Makefile builds 6 binaries and the 7th binary is currently manually made depending on the architecture. ARM, or i386 Is there a way to run a make command in the %build section, then copy the binary to /usr/bin Thanks, -Kamal. -- packaging mailing list packaging@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/packaging
Use the %ifarch macro in your %files section. If it is not installed in %install installed otherwise manually copy it using install/cp command in your %install section.
-- packaging mailing list packaging@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/packaging