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:
myapp-version.fc25.x86_64.rpm
Now, $ fedpkg --dist f25 lint complains:
E: no-binary
Googling I found the package should be of the noarch architecture. Adding
BuildArch: noarch right below Source in my .spec file leaves me with:
myapp-version.fc25.noarch.rpm and fedpkg lint doesn't complain anymore.
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?
Thank you for help