[Fedora-packaging] run "make" in the %build section

Brendan Jones brendan.jones.it at gmail.com
Wed Apr 25 02:11:20 UTC 2012


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 at lists.fedoraproject.org
> 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.


More information about the packaging mailing list