jordansissel / fpm

Effing package management! Build packages for multiple platforms (deb, rpm, etc) with great ease and sanity.
http://fpm.readthedocs.io/en/latest/
Other
11.16k stars 1.07k forks source link

How fpm builds the arch64 rpm package? #1802

Closed kahose closed 3 years ago

kahose commented 3 years ago

image As shown in the figure, I want to package it out to be arch64 instead of x86

jordansissel commented 3 years ago

You can set the package architecture with the ‘-a’ flag. For example -a aarch64 — let me know if this helps :)

On Mon, Jul 5, 2021 at 8:08 PM kahose @.***> wrote:

[image: image] https://user-images.githubusercontent.com/82327413/124536296-529e8a00-de4a-11eb-871c-2fcf0cf69e49.png As shown in the figure, I want to package it out to be arch64 instead of x86

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jordansissel/fpm/issues/1802, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABAF2TO67F3RWNAVKB4AOTTWJXTJANCNFSM473VYD6Q .

kahose commented 3 years ago

Thanks, this is useful

jordansissel commented 3 years ago

One other note: if you package is not architecture specific, you can use ‘-a all’ to declare your package doesn’t have any architecture limitations.

For example, if your package is purely python, this doesn’t have any architecture-specific code, so you could use this setting.

kahose commented 3 years ago

This is so cool