Mailinglist Archive: opensuse-packaging (235 mails)

< Previous Next >
Re: [opensuse-packaging] Cannot submit a noarch package
  • From: Greg Freemyer <greg.freemyer@xxxxxxxxx>
  • Date: Fri, 30 Mar 2012 12:46:02 -0400
  • Message-id: <CAGpXXZKjXSeUMbYJg6OMJ4LQBffsNGexujpMO=x=F1YRO=4OVQ@mail.gmail.com>
On Fri, Mar 30, 2012 at 11:01 AM, Ilya Chernykh <anixxsus@xxxxxxxxx> wrote:

The package is noarch, so the build is enabled only for one architecture.

I submit to Factory but factory-auto declines it saying the package build
is disabled.

Almost every perl module I think is noarch, so there are tons of
examples to look at.

perl-File-Mork is one of mine:
https://build.opensuse.org/package/show?package=perl-File-Mork&project=devel%3Alanguages%3Aperl

I think you will find perl modules generally have:

BuildArch: noarch

in the specfile, but they are set to build for both i586 and x86_64.

The buildservice builds both, but then only publishes one of the
packages at the end of the process. Thus, that is the standard
process.

It obviously wastes cpu cycles building it twice. If you want to
change that make a proposal, but realize it is a change.

Greg
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups
References