On Sun, Jan 15, 2017 at 1:56 PM arnaud gaboury <arnaud.gaboury@xxxxxxxxx> wrote:
My question: is this the correct way to build my .rpm, using the noarch in the spec file? Or shall I keep myapp-version.fc25.x86_64.rpm and ignore the ling Error?Googling I found the package should be of the noarch architecture. Adding BuildArch: noarch right below Source in my .spec file leaves me with:I wrote a spec file to build a .rpm for an application working only on 64 bits machines. The package builds fine and is in this form:Now, $ fedpkg --dist f25 lint complains:
myapp-version.fc25.x86_64.rpm
E: no-binary
myapp-version.fc25.noarch.rpm and fedpkg lint doesn't complain anymore.
EDIT : reading more on the Arch topic, I must add my application is built with go. Rfering to Go packaging binaries[0], it seems I must use:
BuildArch: noarch
ExclusiveArch: %{go_arches} noarch
BuildArch: noarch
ExclusiveArch: %{go_arches} noarch
Is this correct?
Thank you for help
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx